public interface Wither extends Monster, Ranger, Boss, Aerial, FusedExplosive
UNKNOWN
Modifier and Type | Method and Description |
---|---|
ServerBossBar |
getBossBar()
Gets the boss bar this wither uses.
|
List<Living> |
getTargets()
Gets the list of
Living targets that this wither is targeting. |
void |
setTargets(List<Living> targets)
Sets the list of living targets.
|
aiEnabled, getAgentData, getGoal, getTarget, setTarget
getDamageableData, getHeadRotation, getHealthData, health, lastAttacker, lastDamage, lookAt, maxHealth, setHeadRotation
addPassenger, canSee, clearPassengers, createArchetype, createSnapshot, damage, getBaseVehicle, getBoundingBox, getCreator, getNearbyEntities, getNearbyEntities, getNotifier, getPassengers, getRandom, getRotation, getScale, getTransform, getType, getVehicle, getVelocity, gravity, hasPassenger, isLoaded, isOnGround, isRemoved, remove, removePassenger, setCreator, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setNotifier, setRotation, setScale, setTransform, setTransformSafely, setVehicle, setVelocity, transferToWorld, transferToWorld, transferToWorld, transferToWorld
getUniqueId
getLocation, getWorld
setRawData, validateRawData
getContentVersion, toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
getTranslation
launchProjectile, launchProjectile
getTeamRepresentation
defuse, getFuseData, isPrimed, prime
detonate, explosionRadius, getExplosionRadiusData
List<Living> getTargets()
Living
targets that this wither is targeting.
Usually, as an Agent
, Agent.getTarget()
would be sufficient,
however, due to a Wither having the possibility of 3 targets, this
is preferred use.void setTargets(List<Living> targets)
targets
- The targetsServerBossBar getBossBar()