public interface Creeper extends Hostile
Modifier and Type | Method and Description |
---|---|
float |
explosionRadius()
Gets this creeper's explosion radius
|
boolean |
isElectric()
Whether or not this creeper is powered (Struck by lightning)
|
void |
setElectric(boolean powered)
Set whether or not this creeper is powered
|
void |
setExplosionRadius(float rad)
Sets this creeper's explosion radius
|
aiModule, canCollectItems, createStatusEffect, displayName, headLocation, health, hide, isDead, lastDamageEvent, lastPlayerDamager, maxHealth, path, remainingAir, setAiModule, setHealth, setMaxHealth, setPath, setRemainingAir, show
applyProperties, boundingBox, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, type, uniqueId, velocity, withinRange, world
launchProjectile
boolean isElectric()
void setElectric(boolean powered)
powered
- whether the creeper should be powered or notfloat explosionRadius()
void setExplosionRadius(float rad)
rad
- radius to change toCopyright © 2016. All rights reserved.