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, setTargetgetDamageableData, getHeadRotation, getHealthData, health, lastAttacker, lastDamage, lookAt, maxHealth, setHeadRotationaddPassenger, 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, 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, launchProjectilegetTeamRepresentationdefault 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 EntityTargetingProjectileprojectileClass - The class of the projectile to launchtarget - the target to assign to the launched projectileOptional.empty() otherwise