public interface Shulker extends Golem, ProjectileSource
UNKNOWN
Modifier and Type | Method and Description |
---|---|
default Value<DyeColor> |
color()
|
default Value<Direction> |
direction()
|
default DirectionalData |
getDirectionalData()
Gets a copy of the
DirectionalData representing the direction this
Shulker is oriented towards. |
default DyeableData |
getDyeData()
Gets a copy of the
DyeableData representing the color of this
Shulker entity. |
<P extends EntityTargetingProjectile> |
launchWithTarget(Class<P> projectileClass,
Entity target)
Launches a new
EntityTargetingProjectile from this Shulker . |
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
default DyeableData getDyeData()
DyeableData
representing the color of this
Shulker
entity.default DirectionalData getDirectionalData()
DirectionalData
representing the direction this
Shulker
is oriented towards.default Value<Direction> direction()
<P extends EntityTargetingProjectile> Optional<P> launchWithTarget(Class<P> projectileClass, Entity target)
EntityTargetingProjectile
from this Shulker
.P
- The type of EntityTargetingProjectile
projectileClass
- The class of the projectile to launchtarget
- the target to assign to the launched projectileOptional.empty()
otherwise