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, setTargetgetDamageableData, getHeadRotation, getHealthData, health, lastAttacker, lastDamage, lookAt, maxHealth, setHeadRotationaddPassenger, addTag, canSee, clearPassengers, createArchetype, createSnapshot, damage, getBaseVehicle, getBoundingBox, getCreator, getNearbyEntities, getNearbyEntities, getNotifier, getPassengers, getRandom, getRotation, getScale, getTags, getTransform, getType, getVehicle, getVelocity, gravity, hasPassenger, hasTag, isLoaded, isOnGround, isRemoved, remove, removePassenger, removeTag, setCreator, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setNotifier, setRotation, setScale, setTransform, setTransformSafely, setVehicle, setVelocity, transferToWorld, transferToWorld, transferToWorld, transferToWorldgetUniqueIdgetLocation, getWorldsetRawData, validateRawDatagetContentVersion, toContainergetApplicableProperties, getPropertycopyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undocopy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supportsgetTranslationlaunchProjectile, launchProjectilegetTeamRepresentationdefuse, getFuseData, isPrimed, primedetonate, explosionRadius, getExplosionRadiusDataList<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()