Class Keys
- java.lang.Object
-
- org.spongepowered.api.data.Keys
-
-
Field Summary
Fields Modifier and Type Field Description static Key<Value<Double>>
ABSORPTION
ThePotionEffectTypes.ABSORPTION
amount of aLiving
entity.static Key<Value<Vector3d>>
ACCELERATION
The acceleration of aDamagingProjectile
.static Key<Value<ItemStackSnapshot>>
ACTIVE_ITEM
The item aLiving
entity is currently using.static Key<Value<Boolean>>
AFFECTS_SPAWNING
Whether aPlayer
s affects spawning.static Key<Value<Integer>>
AGE
The age (in ticks) of an entity.static Key<Value<Vector3d>>
AIRBORNE_VELOCITY_MODIFIER
static Key<Value<Integer>>
ANGER_LEVEL
The anger level of aZombifiedPiglin
.static Key<WeightedCollectionValue<PotionEffect>>
APPLICABLE_POTION_EFFECTS
The set ofPotionEffect
s applied on use of anItemStack
.static Key<ListValue<Enchantment>>
APPLIED_ENCHANTMENTS
The enchantments applied to anItemStack
.static Key<Value<ArmorMaterial>>
ARMOR_MATERIAL
TheArmorMaterial
of an armorItemStack
.static Key<Value<ArtType>>
ART_TYPE
static Key<Value<AttachmentSurface>>
ATTACHMENT_SURFACE
The attachmentAttachmentSurface
of a button or leverBlockState
static Key<Value<Double>>
ATTACK_DAMAGE
The damage dealt by anArrowEntity
on impact.static Key<Value<Ticks>>
ATTACK_TIME
The time of aRavager
is considered attacking.static Key<Value<Component>>
AUTHOR
The author of aItemTypes.WRITTEN_BOOK
ItemStack
.static Key<Value<Ticks>>
AUTO_SPIN_ATTACK_TICKS
Remaining ticks of the auto spin attack aLiving
is doing.static Key<Value<Axis>>
AXIS
TheAxis
direction of aBlockState
.static Key<Value<Ticks>>
BABY_TICKS
The ticks until aAgeable
turns into an adult.static Key<ListValue<BannerPatternLayer>>
BANNER_PATTERN_LAYERS
TheBannerPatternLayer
s of aBanner
.static Key<Value<Double>>
BASE_SIZE
The width of the physical form of anEntity
.static Key<Value<Entity>>
BASE_VEHICLE
The base vehicle a passenger is riding at the moment.static Key<Value<Living>>
BEAM_TARGET_ENTITY
The target entity of aGuardian
beam.static Key<Value<Double>>
BIOME_TEMPERATURE
The default temperature of a biome at a specificServerLocation
.static Key<Value<Double>>
BLAST_RESISTANCE
The blast resistance of aBlockState
.static Key<Value<Integer>>
BLOCK_LIGHT
The amount of light that is emitted by the surrounding blocks at a blockServerLocation
.static Key<Value<BlockState>>
BLOCK_STATE
static Key<Value<Double>>
BLOCK_TEMPERATURE
The temperature at a specificServerLocation
.static Key<Value<BoatType>>
BOAT_TYPE
The type of the boat.static Key<MapValue<BodyPart,Vector3d>>
BODY_ROTATIONS
The rotation of specific body parts of aArmorStand
orLiving
.static Key<Value<BossBar>>
BOSS_BAR
static Key<SetValue<BlockType>>
BREAKABLE_BLOCK_TYPES
static Key<Value<UUID>>
BREEDER
static Key<Value<Ticks>>
BREEDING_COOLDOWN
The ticks until anAnimal
can breed again.static Key<Value<Integer>>
BURN_TIME
The burntime of anItemStack
fuel in a furnace.static Key<Value<Boolean>>
CAN_BREED
Whether anAnimal
can breed.static Key<Value<Boolean>>
CAN_DROP_AS_ITEM
Whether aFallingBlock
can drop as an item.static Key<Value<Boolean>>
CAN_FLY
Whether aHumanoid
can fly.static Key<Value<Boolean>>
CAN_GRIEF
Whether aLiving
entity may change blocks.static Key<SetValue<BlockType>>
CAN_HARVEST
static Key<Value<Boolean>>
CAN_HURT_ENTITIES
Whether aFallingBlock
will damage anEntity
it lands on.static Key<Value<Boolean>>
CAN_JOIN_RAID
Whether aRaider
can join a raid.static Key<Value<Boolean>>
CAN_MOVE_ON_LAND
Whether aBoat
can move on land.static Key<Value<Boolean>>
CAN_PLACE_AS_BLOCK
Whether aFallingBlock
will place itself upon landing.static Key<Value<Integer>>
CASTING_TIME
The current casting time of aSpellcaster
.static Key<Value<CatType>>
CAT_TYPE
The type of aCat
.static Key<Value<Boolean>>
CHAT_COLORS_ENABLED
Whether aServerPlayer
can will see colours sent in messages.static Key<Value<ChatVisibility>>
CHAT_VISIBILITY
The types of chat aServerPlayer
can see.static Key<Value<ChestAttachmentType>>
CHEST_ATTACHMENT_TYPE
static Key<Value<Vector3d>>
CHEST_ROTATION
The rotation of theBodyParts.CHEST
.static Key<Value<Color>>
COLOR
static Key<Value<String>>
COMMAND
A command stored in aCommandBlock
orCommandBlockMinecart
.static Key<Value<ComparatorMode>>
COMPARATOR_MODE
static Key<SetValue<Direction>>
CONNECTED_DIRECTIONS
The connected directions of aBlockState
.static Key<Value<ItemType>>
CONTAINER_ITEM
static Key<Value<Ticks>>
COOLDOWN
The amount of ticks aHopper
has to wait before transferring the next item.static Key<Value<UUID>>
CREATOR
The creator, usually of anEntity
.static Key<Value<SpellType>>
CURRENT_SPELL
The currentSpellType
aSpellcaster
is casting.static Key<MapValue<EntityType<?>,Double>>
CUSTOM_ATTACK_DAMAGE
The damage dealt towards entities of a specificEntityType
by aArrowEntity
.static Key<Value<Integer>>
CUSTOM_MODEL_DATA
The resource pack model index of anItemStack
.static Key<Value<Component>>
CUSTOM_NAME
static Key<Value<Double>>
DAMAGE_ABSORPTION
The damage absorbed by an armorItemStack
.static Key<Value<Double>>
DAMAGE_PER_BLOCK
How much damage aFallingBlock
deals toLiving
entities it hits per block fallen.static Key<Value<Integer>>
DECAY_DISTANCE
The distance at which aBlockState
will decay.static Key<Value<Vector3d>>
DERAILED_VELOCITY_MODIFIER
static Key<Value<Ticks>>
DESPAWN_DELAY
static Key<Value<Double>>
DESTROY_SPEED
The destroy speed of aBlockState
sBlockType
.static Key<Value<Living>>
DETONATOR
The detonator of aPrimedTNT
.static Key<Value<Direction>>
DIRECTION
static Key<Value<Component>>
DISPLAY_NAME
static Key<Value<Boolean>>
DO_EXACT_TELEPORT
Whether exact teleport location should be used with aEndGateway
.static Key<Value<HandPreference>>
DOMINANT_HAND
The dominantHandPreference
of anAgent
entity.static Key<Value<DoorHinge>>
DOOR_HINGE
TheDoorHinge
of a doorBlockState
.static Key<Value<Ticks>>
DURATION
The remaining duration (in ticks) of anAreaEffectCloud
.static Key<Value<Ticks>>
DURATION_ON_USE
The amount of ticks the duration of anAreaEffectCloud
is increased or reduced when it applies its effect.static Key<Value<DyeColor>>
DYE_COLOR
static Key<Value<Ticks>>
EATING_TIME
The time aPanda
has been eating (in ticks)static Key<Value<Double>>
EFFICIENCY
The efficiency of anItemStack
tool.static Key<Value<Ticks>>
EGG_TIME
The time (in ticks) until aChicken
lays anItemTypes.EGG
.static Key<Value<Ticks>>
END_GATEWAY_AGE
The age (in ticks) of anEndGateway
static Key<Value<EntityArchetype>>
ENTITY_TO_SPAWN
TheEntityArchetype
to spawn from any spawn egg, such as aItemTypes.ZOMBIE_SPAWN_EGG
orItemTypes.CREEPER_SPAWN_EGG
.static Key<Value<EntityType<?>>>
ENTITY_TYPE
Theentity type
of a spawn egg, which may be one of several based onItemTypes.ZOMBIE_SPAWN_EGG
, etc.static Key<Value<EquipmentType>>
EQUIPMENT_TYPE
TheEquipmentType
that the target inventory supports.static Key<Value<Double>>
EXHAUSTION
The current level of exhaustion of aHumanoid
.static Key<Value<Integer>>
EXPERIENCE
The amount of experience aPlayer
has or anExperienceOrb
contains.static Key<Value<Integer>>
EXPERIENCE_FROM_START_OF_LEVEL
The total experience aPlayer
requires to advance from his current level to the next one.static Key<Value<Integer>>
EXPERIENCE_LEVEL
The current level aPlayer
has.static Key<Value<Integer>>
EXPERIENCE_SINCE_LEVEL
The amount of experience aPlayer
has collected towards the next level.static Key<Value<Integer>>
EXPLOSION_RADIUS
static Key<Value<Double>>
EYE_HEIGHT
The eye height of anEntity
.static Key<Value<Vector3d>>
EYE_POSITION
The eye position of anEntity
.static Key<Value<Double>>
FALL_DISTANCE
The distance anEntity
has fallen.static Key<Value<Ticks>>
FALL_TIME
The amount of ticks aFallingBlock
has been falling for.static Key<Value<Ticks>>
FIRE_DAMAGE_DELAY
The delay in ticks until theEntity
will be damaged by the fire.static Key<Value<Ticks>>
FIRE_TICKS
The amount of ticks anEntity
is still burning.static Key<ListValue<FireworkEffect>>
FIREWORK_EFFECTS
static Key<Value<Ticks>>
FIREWORK_FLIGHT_MODIFIER
The flight duration of aFireworkRocket
static Key<Value<FireworkShape>>
FIREWORK_SHAPE
static Key<Value<Instant>>
FIRST_DATE_JOINED
The time aUser
first joined on the Server.static Key<Value<UUID>>
FIRST_TRUSTED
static Key<Value<FluidStackSnapshot>>
FLUID_ITEM_STACK
TheFluidStackSnapshot
contained within an item container.static Key<Value<Integer>>
FLUID_LEVEL
The fluid level of a liquidBlockState
.static Key<MapValue<Direction,List<FluidStackSnapshot>>>
FLUID_TANK_CONTENTS
The directional tank information.static Key<Value<Double>>
FLYING_SPEED
The speed at which anPlayer
flies.static Key<Value<Integer>>
FOOD_LEVEL
The food level of aHumanoid
.static Key<Value<FoxType>>
FOX_TYPE
The type of aFox
.static Key<Value<Integer>>
FUEL
Represents theKey
for the amount of fuel left in aBrewingStand
orFurnaceBlockEntity
orFurnaceMinecart
static Key<Value<Ticks>>
FUSE_DURATION
The time (in ticks) aFusedExplosive
's fuse will burn before the explosion.static Key<Value<GameMode>>
GAME_MODE
static Key<Value<GameProfile>>
GAME_PROFILE
The player represented by aBlockTypes.PLAYER_HEAD
(andBlockTypes.PLAYER_WALL_HEAD
)BlockState
or aItemTypes.PLAYER_HEAD
ItemStack
.static Key<Value<Integer>>
GENERATION
The generation of aItemTypes.WRITTEN_BOOK
ItemStack
.static Key<Value<Integer>>
GROWTH_STAGE
The "growth stage" state of aBlockState
.static Key<Value<Boolean>>
HAS_ARMS
Whether anArmorStand
's arms are visible.static Key<Value<Boolean>>
HAS_BASE_PLATE
Whether anArmorStand
has a visible base plate.static Key<Value<Boolean>>
HAS_CHEST
Whether aPackHorse
has a chest.static Key<Value<Boolean>>
HAS_EGG
Whether aTurtle
currently has an egg.static Key<Value<Boolean>>
HAS_FISH
Whether aDolphin
has a fish.static Key<Value<Boolean>>
HAS_MARKER
Whether anArmorStand
is a "marker" stand.static Key<Value<Boolean>>
HAS_PORES_DOWN
Whether a giant mushroomBlockState
has pores on theDirection.DOWN
direction.static Key<Value<Boolean>>
HAS_PORES_EAST
Whether a giant mushroomBlockState
has pores on theDirection.EAST
direction.static Key<Value<Boolean>>
HAS_PORES_NORTH
Whether a giant mushroomBlockState
has pores on theDirection.NORTH
direction.static Key<Value<Boolean>>
HAS_PORES_SOUTH
Whether a giant mushroomBlockState
has pores on theDirection.SOUTH
direction.static Key<Value<Boolean>>
HAS_PORES_UP
Whether a giant mushroomBlockState
has pores on theDirection.UP
direction.static Key<Value<Boolean>>
HAS_PORES_WEST
Whether a giant mushroomBlockState
has pores on theDirection.WEST
direction.static Key<Value<Boolean>>
HAS_VIEWED_CREDITS
Whether a server player has viewed the credits.static Key<Value<Vector3d>>
HEAD_ROTATION
The rotation of aLiving
's orArmorStand
's head.static Key<Value<EndCrystal>>
HEALING_CRYSTAL
TheEndCrystal
currently healing anEnderDragon
.static Key<Value<Double>>
HEALTH
ALiving
's orEndCrystal
's current health.static Key<Value<Double>>
HEALTH_SCALE
The value aServerPlayer
s max-health (excluding absorption) in the GUI will scale to.static Key<Value<Double>>
HEIGHT
The height of the physical form of anEntity
.static Key<Value<ItemType>>
HELD_ITEM
TheItemType
aBlockState
represents.static Key<Value<PandaGene>>
HIDDEN_GENE
static Key<Value<Boolean>>
HIDE_ATTRIBUTES
Whether the attributes of anItemStack
are hidden.static Key<Value<Boolean>>
HIDE_CAN_DESTROY
Whether theBREAKABLE_BLOCK_TYPES
of anItemStack
are hidden.static Key<Value<Boolean>>
HIDE_CAN_PLACE
Whether thePLACEABLE_BLOCK_TYPES
of anItemStack
are hidden.static Key<Value<Boolean>>
HIDE_ENCHANTMENTS
Whether theAPPLIED_ENCHANTMENTS
of anItemStack
are hidden.static Key<Value<Boolean>>
HIDE_MISCELLANEOUS
Whether miscellaneous values of anItemStack
are hidden.static Key<Value<Boolean>>
HIDE_UNBREAKABLE
WhetherIS_UNBREAKABLE
state of anItemStack
is hidden.static Key<Value<Vector3i>>
HOME_POSITION
static Key<Value<HorseColor>>
HORSE_COLOR
TheHorseColor
of aHorse
.static Key<Value<HorseStyle>>
HORSE_STYLE
TheHorseStyle
of aHorse
.static Key<Value<Boolean>>
IN_WALL
Whether a fence gateBlockState
is in a wall.static Key<Value<Double>>
INACCURACY
The inaccuracy of anItemStack
that launchesProjectile
s.static Key<Value<Boolean>>
INFINITE_DESPAWN_DELAY
Whether anItem
will not despawn for an infinite time.static Key<Value<Boolean>>
INFINITE_PICKUP_DELAY
Whether anItem
has an infinite pickup delay.static Key<Value<InstrumentType>>
INSTRUMENT_TYPE
static Key<Value<Boolean>>
INVERTED
Whether aBlockTypes.DAYLIGHT_DETECTOR
BlockState
is inverted.static Key<Value<Ticks>>
INVULNERABILITY_TICKS
The amount of ticks anEntity
will remain invulnerable for.static Key<Value<Boolean>>
INVULNERABLE
Whether anEntity
is invulnerable.static Key<Value<Boolean>>
IS_ADULT
Whether anAgeable
is considered an adult.static Key<Value<Boolean>>
IS_AFLAME
Whether aBlaze
is currently burning.static Key<Value<Boolean>>
IS_AI_ENABLED
Whether anAgent
s AI is enabled.static Key<Value<Boolean>>
IS_ANGRY
Whether an entity is currently aggressive.static Key<Value<Boolean>>
IS_ATTACHED
Whether aBlockState
is "attached" to another block.static Key<Value<Boolean>>
IS_AUTO_SPIN_ATTACK
Whether aLiving
is doing an auto spin attack (doable with theEnchantmentTypes.RIPTIDE
enchantment.)static Key<Value<Boolean>>
IS_BEGGING_FOR_FOOD
Whether an entity is begging for food.static Key<Value<Boolean>>
IS_CELEBRATING
WhetherRaider
s are currently celebrating.static Key<Value<Boolean>>
IS_CHARGED
Whether aCreeper
is charged.static Key<Value<Boolean>>
IS_CHARGING_CROSSBOW
Whether aPillager
is charging it's crossbow.static Key<Value<Boolean>>
IS_CLIMBING
Whether aSpider
is currently climbing.static Key<Value<Boolean>>
IS_CONNECTED_EAST
Whether aBlockState
is connected to theDirection.EAST
.static Key<Value<Boolean>>
IS_CONNECTED_NORTH
Whether aBlockState
is connected to theDirection.NORTH
.static Key<Value<Boolean>>
IS_CONNECTED_SOUTH
Whether aBlockState
is connected to theDirection.SOUTH
.static Key<Value<Boolean>>
IS_CONNECTED_UP
Whether aBlockState
is connected to theDirection.UP
.static Key<Value<Boolean>>
IS_CONNECTED_WEST
Whether aBlockState
is connected to theDirection.WEST
.static Key<Value<Boolean>>
IS_CRITICAL_HIT
Whether anArrow
will cause a critical hit.static Key<Value<Boolean>>
IS_CROUCHING
Whether aFox
is currently crouching.static Key<Value<Boolean>>
IS_CUSTOM_NAME_VISIBLE
Whether a custom name is visible on anEntity
.static Key<Value<Boolean>>
IS_DEFENDING
Whether aFox
is currently defending.static Key<Value<Boolean>>
IS_DISARMED
Whether aBlockState
is disarmed.static Key<Value<Boolean>>
IS_EATING
Whether an entity is eating.static Key<Value<Boolean>>
IS_EFFECT_ONLY
static Key<Value<Boolean>>
IS_ELYTRA_FLYING
Whether aPlayer
is flying with anItemTypes.ELYTRA
.static Key<Value<Boolean>>
IS_EXTENDED
Whether a pistonBlockState
is currently extended.static Key<Value<Boolean>>
IS_FACEPLANTED
Whether aFox
is currently faceplanted.static Key<Value<Boolean>>
IS_FILLED
Whether aBlockState
is filled.static Key<Value<Boolean>>
IS_FLAMMABLE
Whether aBlockState
is flammable.static Key<Value<Boolean>>
IS_FLYING
Whether anEntity
is flying.static Key<Value<Boolean>>
IS_FRIGHTENED
Whether an entity is frightened.static Key<Value<Boolean>>
IS_FULL_BLOCK
Whether the block at theServerLocation
is a full block.static Key<Value<Boolean>>
IS_GLOWING
Whether anEntity
has a glowing outline.static Key<Value<Boolean>>
IS_GOING_HOME
WhetherTurtle
is proceeding to it'shome position
.static Key<Value<Boolean>>
IS_GRAVITY_AFFECTED
Whether something is affected by gravity.static Key<Value<Boolean>>
IS_HISSING
Whether aCat
is hissing.static Key<Value<Boolean>>
IS_IMMOBILIZED
Whether aRavager
is immobilized.static Key<Value<Boolean>>
IS_IN_WATER
Whether aBoat
is currently inBlockTypes.WATER
.static Key<Value<Boolean>>
IS_INDIRECTLY_POWERED
Whether aServerLocation
is indirectly powered.static Key<Value<Boolean>>
IS_INTERESTED
Whether aFox
is currently interested in something.static Key<Value<Boolean>>
IS_INVISIBLE
Whether anEntity
is currently invisible.static Key<Value<Boolean>>
IS_JOHNNY
Whether aVindicator
is exhibiting "johnny" behavior.static Key<Value<Boolean>>
IS_LAYING_EGG
Whether aTurtle
is currently digging to lay an egg.static Key<Value<Boolean>>
IS_LEADER
Whether aPatroller
is the leader.static Key<Value<Boolean>>
IS_LIT
Whether aBlockState
is lit.static Key<Value<Boolean>>
IS_LYING_DOWN
Whether aCat
is lying down.static Key<Value<Boolean>>
IS_LYING_ON_BACK
Whether aPanda
is lying on it's back.static Key<Value<Boolean>>
IS_OCCUPIED
Whether a bedBlockState
is occupied.static Key<Value<Boolean>>
IS_ON_RAIL
Whether aMinecart
is on it's rail Readonlystatic Key<Value<Boolean>>
IS_OPEN
Whether a door/fencegate/trapdoorBlockState
is open.static Key<Value<Boolean>>
IS_PASSABLE
Whether aBlockState
is passable (can be walked through).static Key<Value<Boolean>>
IS_PATROLLING
Whether aPatroller
is currently patrolling.static Key<Value<Boolean>>
IS_PERSISTENT
Whether anEntity
or leavesBlockState
will be prevented from despawning/decaying.static Key<MapValue<EquipmentType,Boolean>>
IS_PLACING_DISABLED
Whether players are prevented from placing items from an equipment slot on anArmorStand
static Key<Value<Boolean>>
IS_PLAYER_CREATED
static Key<Value<Boolean>>
IS_POUNCING
Whether aFox
is currently pouncing.static Key<Value<Boolean>>
IS_POWERED
Whether aBlockState
is powered.static Key<Value<Boolean>>
IS_PRIMED
Whether aFusedExplosive
is currently primed.static Key<Value<Boolean>>
IS_PURRING
Whether aCat
is purring.static Key<Value<Boolean>>
IS_RELAXED
Whether aCat
is relaxed.static Key<Value<Boolean>>
IS_REPLACEABLE
Whether aBlockState
can be replaced by a player without breaking it first.static Key<Value<Boolean>>
IS_ROARING
Whether aRavager
is roaring.static Key<Value<Boolean>>
IS_ROLLING_AROUND
Whether aPanda
is rolling around.static Key<Value<Boolean>>
IS_SADDLED
Whether an entity is saddled.static Key<Value<Boolean>>
IS_SCREAMING
Whether anEnderman
is screaming.static Key<Value<Boolean>>
IS_SHEARED
Whether aSheep
is sheared.static Key<Value<Boolean>>
IS_SILENT
Whether anEntity
is silent.static Key<Value<Boolean>>
IS_SITTING
static Key<Value<Boolean>>
IS_SLEEPING
static Key<Value<Boolean>>
IS_SLEEPING_IGNORED
Whether aPlayer's
sleeping status is ignored when checking whether to skip the night due to players sleeping.static Key<Value<Boolean>>
IS_SMALL
Whether anArmorStand
is small.static Key<Value<Boolean>>
IS_SNEAKING
Whether anEntity
is sneaking.static Key<Value<Boolean>>
IS_SNEEZING
Whether aPanda
is sneezing.static Key<Value<Boolean>>
IS_SNOWY
Whether aBlockTypes.DIRT
BlockState
is snowy.static Key<Value<Boolean>>
IS_SOLID
Whether aBlockState
is solid.static Key<Value<Boolean>>
IS_SPRINTING
Whether anEntity
is sprinting.static Key<Value<Boolean>>
IS_STANDING
Whether aPolarBear
is currently standing.static Key<Value<Boolean>>
IS_STUNNED
Whether aRavager
is stunned.static Key<Value<Boolean>>
IS_SURROGATE_BLOCK
Whether aBlockState
is a surrogate block for a block that was provided in an environment (almost always modded), that the block type provider no longer exists.static Key<MapValue<EquipmentType,Boolean>>
IS_TAKING_DISABLED
Whether players are prevented from taking items from an equipment slot on anArmorStand
static Key<Value<Boolean>>
IS_TAMED
Whether aTameableAnimal
is currently tamedstatic Key<Value<Boolean>>
IS_TRADING
static Key<Value<Boolean>>
IS_TRAVELING
Whether aTurtle
is currently traveling.static Key<Value<Boolean>>
IS_TRUSTING
static Key<Value<Boolean>>
IS_UNBREAKABLE
Whether anItemStack
orBlockState
is unbreakable.static Key<Value<Boolean>>
IS_UNHAPPY
Whether aPanda
is unhappy.static Key<Value<Boolean>>
IS_WATERLOGGED
Whehter aBlockState
is waterlogged.static Key<Value<Boolean>>
IS_WET
static Key<Value<Integer>>
ITEM_DURABILITY
The durability of anItemStack
.static Key<Value<ItemRarity>>
ITEM_RARITY
The rarity of an item.static Key<Value<ItemStackSnapshot>>
ITEM_STACK_SNAPSHOT
static Key<Value<Double>>
KNOCKBACK_STRENGTH
The knockback strength applied by anArrowEntity
.static Key<Value<PandaGene>>
KNOWN_GENE
static Key<Value<Entity>>
LAST_ATTACKER
static Key<Value<Component>>
LAST_COMMAND_OUTPUT
The output yielded by the last command of aCommandBlock
orCommandBlockMinecart
.static Key<Value<Double>>
LAST_DAMAGE_RECEIVED
The last damage aLiving
received.static Key<Value<Instant>>
LAST_DATE_JOINED
The last time aUser
joined on the server.static Key<Value<Instant>>
LAST_DATE_PLAYED
The last time aUser
has been playing on the server.static Key<Value<Integer>>
LAYER
The amount of layers aBlockState
has.static Key<Value<Entity>>
LEASH_HOLDER
The holder of a leashedAgent
e.g.static Key<Value<Vector3d>>
LEFT_ARM_ROTATION
The rotation of anArmorStand
's left arm.static Key<Value<Vector3d>>
LEFT_LEG_ROTATION
The rotation of anArmorStand
's left leg.static Key<Value<Ticks>>
LIFE_TICKS
The amount of ticks till aVex
starts taking damage due to living too long.static Key<Value<Integer>>
LIGHT_EMISSION
The amount of light that emitted by aBlockState
.static Key<Value<LlamaType>>
LLAMA_TYPE
static Key<Value<Locale>>
LOCALE
AServerPlayer
's client language.static Key<Value<String>>
LOCK_TOKEN
The token used to lock aCarrierBlockEntity
.static Key<Value<ServerLocation>>
LODESTONE
A lodestone location, used withItemTypes.COMPASS
.static Key<ListValue<Component>>
LORE
The displayed description ("lore") text of anItemStack
.static Key<Value<MapCanvas>>
MAP_CANVAS
static Key<SetValue<MapDecoration>>
MAP_DECORATIONS
static Key<Value<MapInfo>>
MAP_INFO
static Key<Value<Vector2i>>
MAP_LOCATION
static Key<Value<Boolean>>
MAP_LOCKED
static Key<Value<Integer>>
MAP_SCALE
static Key<Value<Boolean>>
MAP_TRACKS_PLAYERS
static Key<Value<Boolean>>
MAP_UNLIMITED_TRACKING
static Key<Value<ResourceKey>>
MAP_WORLD
static Key<Value<MatterType>>
MATTER_TYPE
The matter state of aBlockState
Readonlystatic Key<Value<Integer>>
MAX_AIR
The maximum air supply aLiving
may have.static Key<Value<Ticks>>
MAX_BURN_TIME
The maximum amount of ticks aFurnaceBlockEntity
can burn with the currently used fuel item.static Key<Value<Ticks>>
MAX_COOK_TIME
The total time the currentItemStack
in aFurnaceBlockEntity
has to be cooked.static Key<Value<Integer>>
MAX_DURABILITY
The maximum durability of anItemStack
.static Key<Value<Double>>
MAX_EXHAUSTION
The maximum exhuastion of aHumanoid
.static Key<Value<Double>>
MAX_FALL_DAMAGE
The maximum damage aFallingBlock
can deal.static Key<Value<Integer>>
MAX_FOOD_LEVEL
The maximum food level of aHumanoid
.static Key<Value<Double>>
MAX_HEALTH
The maximum health of aLiving
.static Key<Value<Integer>>
MAX_NEARBY_ENTITIES
The maximum number of entities around aMobSpawner
.static Key<Value<Double>>
MAX_SATURATION
The maximum saturation of aHumanoid
.static Key<Value<Ticks>>
MAX_SPAWN_DELAY
The maximum amount of ticks between two batches of entities spawned by aMobSpawner
.static Key<Value<Double>>
MAX_SPEED
The max speed of aBoat
.static Key<Value<Integer>>
MAX_STACK_SIZE
The maximum stack size of slots in an inventory.static Key<Value<Ticks>>
MIN_SPAWN_DELAY
The minimum amount of ticks between two batches of entities spawned by aMobSpawner
.static Key<Value<Integer>>
MINECART_BLOCK_OFFSET
The represented block's offset of aMinecartLike
.static Key<Value<Integer>>
MOISTURE
The moisture value of aBlockTypes.FARMLAND
BlockState
.static Key<Value<MooshroomType>>
MOOSHROOM_TYPE
The type of aMooshroom
.static Key<Value<MusicDisc>>
MUSIC_DISC
static Key<Value<WeightedSerializableObject<EntityArchetype>>>
NEXT_ENTITY_TO_SPAWN
The next entity that will be spawned by aMobSpawner
.static Key<Value<NotePitch>>
NOTE_PITCH
The pitch of aBlockTypes.NOTE_BLOCK
BlockState
.static Key<Value<UUID>>
NOTIFIER
The notifier, usually of anEntity
.static Key<Value<Double>>
OCCUPIED_DECELERATION
The deceleration aBoat
while it hasPASSENGERS
.static Key<Value<Boolean>>
ON_GROUND
Whether anEntity
is currently considered to be on the ground.static Key<Value<Orientation>>
ORIENTATION
TheOrientation
of anItemFrame
.static Key<ListValue<Component>>
PAGES
The content of aItemTypes.WRITTEN_BOOK
ItemStack
.static Key<Value<ParrotType>>
PARROT_TYPE
static Key<Value<ParticleEffect>>
PARTICLE_EFFECT
The particle type of anAreaEffectCloud
.static Key<Value<Ticks>>
PASSED_COOK_TIME
The amount of ticks aFurnaceBlockEntity
has been cooking the current item for.static Key<ListValue<Entity>>
PASSENGERS
The entities that act as passengers for anEntity
.static Key<Value<DyeColor>>
PATTERN_COLOR
ATropicalFish
's pattern color.static Key<Value<PhantomPhase>>
PHANTOM_PHASE
static Key<Value<Ticks>>
PICKUP_DELAY
The pickup delay (in ticks) of anItem
.static Key<Value<PickupRule>>
PICKUP_RULE
ThePickupRule
of anArrowEntity
.static Key<Value<PistonType>>
PISTON_TYPE
The piston type of a pistonBlockState
TODO dataholderPiston
.static Key<SetValue<BlockType>>
PLACEABLE_BLOCK_TYPES
The block types anItemStack
may be placed on.static Key<ListValue<String>>
PLAIN_PAGES
The content of aItemTypes.WRITABLE_BOOK
ItemStack
.static Key<Value<org.spongepowered.plugin.PluginContainer>>
PLUGIN_CONTAINER
The plugin that created anInventory
static Key<SetValue<Direction>>
PORES
static Key<Value<PortionType>>
PORTION_TYPE
ThePortionType
of aBlockState
.static Key<Value<Double>>
POTENTIAL_MAX_SPEED
The potential max speed of aMinecart
.static Key<ListValue<PotionEffect>>
POTION_EFFECTS
The potion effects that are present on anEntity
static Key<Value<PotionType>>
POTION_TYPE
The potion type of anItemStack
.static Key<Value<Integer>>
POWER
The signal power of aBlockState
.static Key<Value<PotionEffectType>>
PRIMARY_POTION_EFFECT_TYPE
ABeacon
's primary effect.static Key<Value<Integer>>
PROFESSION_LEVEL
static Key<Value<ProfessionType>>
PROFESSION_TYPE
static Key<Value<RabbitType>>
RABBIT_TYPE
The type of aRabbit
.static Key<Value<Double>>
RADIUS
The radius of anAreaEffectCloud
.static Key<Value<Double>>
RADIUS_ON_USE
The amount the radius of anAreaEffectCloud
grows or shrinks each time it applies its effect.static Key<Value<Double>>
RADIUS_PER_TICK
The amount the radius of anAreaEffectCloud
grows or shrinks per tick.static Key<Value<RaidWave>>
RAID_WAVE
The wave number of a raid aRaider
is in.static Key<Value<RailDirection>>
RAIL_DIRECTION
TheRailDirection
of aBlockState
.static Key<Value<Ticks>>
REAPPLICATION_DELAY
The delay (in ticks) after which anAreaEffectCloud
will reapply its effect on a previously affectedEntity
.static Key<Value<Integer>>
REDSTONE_DELAY
The redstone delay on aBlockTypes.REPEATER
BlockState
.static Key<Value<Integer>>
REMAINING_AIR
The amount of air aLiving
has left.static Key<Value<Ticks>>
REMAINING_BREW_TIME
The remaining amount of ticks the current brewing process of aBrewingStand
will take.static Key<Value<Ticks>>
REMAINING_SPAWN_DELAY
Represents theKey
for the remaining number of ticks to pass before another attempt to spawn entities is made by aMobSpawner
.static Key<Value<Integer>>
REPLENISHED_FOOD
The amount of food a foodItemStack
restores when eaten.static Key<Value<Double>>
REPLENISHED_SATURATION
The amount of saturation a foodItemStack
provides when eaten.static Key<Value<InstrumentType>>
REPRESENTED_INSTRUMENT
static Key<Value<Double>>
REQUIRED_PLAYER_RANGE
How close aPlayer
has to be around theMobSpawner
in order for it to attempt to spawn entities.static Key<MapValue<ResourceKey,RespawnLocation>>
RESPAWN_LOCATIONS
static Key<Value<Vector3d>>
RIGHT_ARM_ROTATION
The rotation of anArmorStand
's right arm.static Key<Value<Vector3d>>
RIGHT_LEG_ROTATION
The rotation of anArmorStand
's right leg.static Key<Value<Ticks>>
ROARING_TIME
The time aRavager
is roaring.static Key<Value<Double>>
SATURATION
The current saturation of aPlayer
.static Key<Value<Double>>
SCALE
The "scale" for the size of anEntity
.static Key<SetValue<String>>
SCOREBOARD_TAGS
The scoreboard tags applied to anEntity
.static Key<Value<UUID>>
SECOND_TRUSTED
static Key<Value<PotionEffectType>>
SECONDARY_POTION_EFFECT_TYPE
ABeacon
's secondary effect.static Key<Value<ProjectileSource>>
SHOOTER
The shooter of aProjectile
.static Key<Value<Boolean>>
SHOW_BOTTOM
Whether aEndCrystal
should show it's bottom bedrock platform.static Key<ListValue<Component>>
SIGN_LINES
The lines displayed on aSign
.static Key<Value<Integer>>
SIZE
The size of aSlime
.static Key<Value<Integer>>
SKIN_MOISTURE
The "moisture" state of aDolphin
.static Key<SetValue<SkinPart>>
SKIN_PARTS
The parts of aServerPlayer
skin that should be displayed.static Key<Value<ProfileProperty>>
SKIN_PROFILE_PROPERTY
The skin of aHumanoid
.static Key<Value<Integer>>
SKY_LIGHT
The skylight value at aServerLocation
.static Key<Value<SlabPortion>>
SLAB_PORTION
TheSlabPortion
of aBlockState
.static Key<Value<Integer>>
SLEEP_TIMER
The sleep timer of aPlayer
.static Key<Value<Integer>>
SLOT_INDEX
static Key<Value<Vector2i>>
SLOT_POSITION
The position of aSlot
within aGridInventory
.static Key<Value<Direction>>
SLOT_SIDE
The side of a particularSlot
, for use in querying "sided inventories".static Key<Value<Boolean>>
SLOWS_UNOCCUPIED
Whether aMinecart
slows down when it has noPASSENGERS
.static Key<Value<Ticks>>
SNEEZING_TIME
The time aPanda
has been sneezing (in ticks)static Key<Value<Integer>>
SPAWN_COUNT
How many entities aMobSpawner
has spawned so far.static Key<Value<Double>>
SPAWN_RANGE
How far away from theMobSpawner
the entities spawned by it may appear.static Key<WeightedCollectionValue<EntityArchetype>>
SPAWNABLE_ENTITIES
The list ofEntityArchetype
s able to be spawned by aMobSpawner
.static Key<Value<Entity>>
SPECTATOR_TARGET
static Key<Value<StairShape>>
STAIR_SHAPE
TheStairShape
of aBlockState
.static Key<MapValue<Statistic,Long>>
STATISTICS
static Key<ListValue<Enchantment>>
STORED_ENCHANTMENTS
The enchantments stored on anItemStack
.static Key<Value<Integer>>
STRENGTH
ALlama
s carrying strength.static Key<Value<String>>
STRUCTURE_AUTHOR
The author of a structure from aStructureBlock
.static Key<Value<Boolean>>
STRUCTURE_IGNORE_ENTITIES
Whether aStructureBlock
should ignore entities when saving a structure.static Key<Value<Double>>
STRUCTURE_INTEGRITY
The integrity of aStructureBlock
.static Key<Value<StructureMode>>
STRUCTURE_MODE
The mode of aStructureBlock
.static Key<Value<Vector3i>>
STRUCTURE_POSITION
The position of aStructureBlock
.static Key<Value<Boolean>>
STRUCTURE_POWERED
Whether aStructureBlock
is powered.static Key<Value<Long>>
STRUCTURE_SEED
The seed of aStructureBlock
static Key<Value<Boolean>>
STRUCTURE_SHOW_AIR
Whether aStructureBlock
should make allBlockTypes.AIR
,BlockTypes.CAVE_AIR
,BlockTypes.STRUCTURE_VOID
visible.static Key<Value<Boolean>>
STRUCTURE_SHOW_BOUNDING_BOX
Whether aStructureBlock
shows the bounding box.static Key<Value<Vector3i>>
STRUCTURE_SIZE
The size of aStructureBlock
s structure.static Key<Value<Integer>>
STUCK_ARROWS
The amount of "stuck arrows" in aLiving
.static Key<Value<Ticks>>
STUNNED_TIME
The time (in ticks) aRavager
is stunned.static Key<Value<Integer>>
SUCCESS_COUNT
The amount of successful executions of a command stored in aCommandBlock
orCommandBlockMinecart
.static Key<Value<Boolean>>
SUSPENDED
Whether aBlockState
is suspended.static Key<Value<Double>>
SWIFTNESS
The swiftness of anEntity
e.g.static Key<Value<UUID>>
TAMER
The tamer of aTameableAnimal
orHorseLike
.static Key<Value<Entity>>
TARGET_ENTITY
The targeted entity either by anAgent
and it'sGoalExecutorTypes.TARGET
selector or by aFishingBobber
orShulkerBullet
.static Key<Value<Vector3d>>
TARGET_LOCATION
A target location.static Key<Value<Vector3i>>
TARGET_POSITION
A target block position.static Key<Value<Ticks>>
TICKS_REMAINING
The remaining fuse time in ticks of aFusedExplosive
.static Key<Value<ItemTier>>
TOOL_TYPE
static Key<Value<Boolean>>
TRACKS_OUTPUT
Whether aCommandBlock
does track its output.static Key<ListValue<TradeOffer>>
TRADE_OFFERS
TheTradeOffer
s offered by aTrader
.static Key<Value<Boolean>>
TRANSIENT
Whether anEntity
is transient.static Key<Value<TropicalFishShape>>
TROPICAL_FISH_SHAPE
ATropicalFish
's shape.static Key<Value<Ticks>>
UNHAPPY_TIME
The time aPanda
has been unhappy (in ticks)static Key<Value<UUID>>
UNIQUE_ID
TheUUID
of a custom inventory.static Key<Value<Double>>
UNOCCUPIED_DECELERATION
The deceleration aBoat
while it does not havePASSENGERS
.static Key<Value<Boolean>>
UNSTABLE
Whether aBlockTypes.TNT
BlockState
is unstable.static Key<Value<Boolean>>
UPDATE_GAME_PROFILE
Whether changes toSKIN_PROFILE_PROPERTY
should be reflected in an entitie'sGameProfile
.static Key<Value<Boolean>>
VANISH
Deprecated.useVANISH_STATE
static Key<Value<Boolean>>
VANISH_IGNORES_COLLISION
Deprecated.useVANISH_STATE
static Key<Value<Boolean>>
VANISH_PREVENTS_TARGETING
Deprecated.useVANISH_STATE
static Key<Value<VanishState>>
VANISH_STATE
TheVanishState
of anEntity
.static Key<Value<Entity>>
VEHICLE
The vehicle anEntity
is riding.static Key<Value<Vector3d>>
VELOCITY
The velocity of anEntity
.static Key<Value<Integer>>
VIEW_DISTANCE
The client view distance of aServerPlayer
.static Key<Value<VillagerType>>
VILLAGER_TYPE
The type of aVillager
orZombieVillager
.static Key<Value<Ticks>>
WAIT_TIME
The duration in ticks after which anAreaEffectCloud
will begin to apply its effect to entities.static Key<Value<Double>>
WALKING_SPEED
static Key<Value<Boolean>>
WILL_SHATTER
Whether a thrownEyeOfEnder
will shatter.static Key<Value<WireAttachmentType>>
WIRE_ATTACHMENT_EAST
TheWireAttachmentType
of aBlockTypes.REDSTONE_WIRE
BlockState
for its neighboring block to theDirection.EAST
.static Key<Value<WireAttachmentType>>
WIRE_ATTACHMENT_NORTH
TheWireAttachmentType
of aBlockTypes.REDSTONE_WIRE
BlockState
for its neighboring block to theDirection.NORTH
.static Key<Value<WireAttachmentType>>
WIRE_ATTACHMENT_SOUTH
TheWireAttachmentType
of aBlockTypes.REDSTONE_WIRE
BlockState
for its neighboring block to theDirection.SOUTH
.static Key<Value<WireAttachmentType>>
WIRE_ATTACHMENT_WEST
TheWireAttachmentType
of aBlockTypes.REDSTONE_WIRE
BlockState
for its neighboring block to theDirection.WEST
.static Key<MapValue<Direction,WireAttachmentType>>
WIRE_ATTACHMENTS
static Key<ListValue<Entity>>
WITHER_TARGETS
The entities targeted by the threeWither
heads.static Key<Value<Sheep>>
WOLOLO_TARGET
-
-
-
Field Detail
-
ABSORPTION
public static final Key<Value<Double>> ABSORPTION
ThePotionEffectTypes.ABSORPTION
amount of aLiving
entity.
-
ACCELERATION
public static final Key<Value<Vector3d>> ACCELERATION
The acceleration of aDamagingProjectile
.
-
ACTIVE_ITEM
public static final Key<Value<ItemStackSnapshot>> ACTIVE_ITEM
The item aLiving
entity is currently using. For example a player eating a food or blocking with a shield.If there is no item, the snapshot will be empty. You can check this with
ItemStackSnapshot.isEmpty()
.
-
AFFECTS_SPAWNING
public static final Key<Value<Boolean>> AFFECTS_SPAWNING
Whether aPlayer
s affects spawning.A
Player
who does not affect spawning will be treated as a spectator in regards to spawning. AMobSpawner
will not be activated by his presence and mobs around him may naturally despawn if there is no other Player around who affects spawning.
-
AGE
public static final Key<Value<Integer>> AGE
The age (in ticks) of an entity. e.g. The age of anAreaEffectCloud
.Note that in vanilla this value is not persisted for most entities.
-
ANGER_LEVEL
public static final Key<Value<Integer>> ANGER_LEVEL
The anger level of aZombifiedPiglin
.Unlike
IS_ANGRY
, the aggressiveness represented by this key may fade over time and the entity will become peaceful again once its anger reaches its minimum.
-
APPLICABLE_POTION_EFFECTS
public static final Key<WeightedCollectionValue<PotionEffect>> APPLICABLE_POTION_EFFECTS
The set ofPotionEffect
s applied on use of anItemStack
. Readonly
-
APPLIED_ENCHANTMENTS
public static final Key<ListValue<Enchantment>> APPLIED_ENCHANTMENTS
The enchantments applied to anItemStack
.This data is usually applicable to all types of armor, weapons and tools. Enchantments that are only stored on an item stack in order to be transferred to another item (like on
ItemTypes.ENCHANTED_BOOK
s) use theSTORED_ENCHANTMENTS
key instead.)
-
ARMOR_MATERIAL
public static final Key<Value<ArmorMaterial>> ARMOR_MATERIAL
TheArmorMaterial
of an armorItemStack
. Readonly
-
ATTACHMENT_SURFACE
public static final Key<Value<AttachmentSurface>> ATTACHMENT_SURFACE
The attachmentAttachmentSurface
of a button or leverBlockState
-
ATTACK_DAMAGE
public static final Key<Value<Double>> ATTACK_DAMAGE
The damage dealt by anArrowEntity
on impact.
-
ATTACK_TIME
public static final Key<Value<Ticks>> ATTACK_TIME
The time of aRavager
is considered attacking.
-
AUTO_SPIN_ATTACK_TICKS
public static final Key<Value<Ticks>> AUTO_SPIN_ATTACK_TICKS
Remaining ticks of the auto spin attack aLiving
is doing.- See Also:
IS_AUTO_SPIN_ATTACK
-
AUTHOR
public static final Key<Value<Component>> AUTHOR
The author of aItemTypes.WRITTEN_BOOK
ItemStack
.
-
AXIS
public static final Key<Value<Axis>> AXIS
TheAxis
direction of aBlockState
.
-
BABY_TICKS
public static final Key<Value<Ticks>> BABY_TICKS
The ticks until aAgeable
turns into an adult.
-
BANNER_PATTERN_LAYERS
public static final Key<ListValue<BannerPatternLayer>> BANNER_PATTERN_LAYERS
TheBannerPatternLayer
s of aBanner
.
-
BEAM_TARGET_ENTITY
public static final Key<Value<Living>> BEAM_TARGET_ENTITY
The target entity of aGuardian
beam.
-
BIOME_TEMPERATURE
public static final Key<Value<Double>> BIOME_TEMPERATURE
The default temperature of a biome at a specificServerLocation
. For the exact block temperature seeBLOCK_TEMPERATURE
. Readonly
-
BLAST_RESISTANCE
public static final Key<Value<Double>> BLAST_RESISTANCE
The blast resistance of aBlockState
. Readonly
-
BLOCK_LIGHT
public static final Key<Value<Integer>> BLOCK_LIGHT
The amount of light that is emitted by the surrounding blocks at a blockServerLocation
. The value scales normally from 0 to 1.In vanilla minecraft is this value in steps of 1/15 from 0 to 1.
For the skylight see
ReadonlySKY_LIGHT
.
-
BLOCK_STATE
public static final Key<Value<BlockState>> BLOCK_STATE
-
BLOCK_TEMPERATURE
public static final Key<Value<Double>> BLOCK_TEMPERATURE
The temperature at a specificServerLocation
. For the default biome temperature seeBIOME_TEMPERATURE
. Readonly
-
BODY_ROTATIONS
public static final Key<MapValue<BodyPart,Vector3d>> BODY_ROTATIONS
The rotation of specific body parts of aArmorStand
orLiving
.This value provides a mapping, effectively combining the data referenced by
HEAD_ROTATION
,CHEST_ROTATION
,RIGHT_ARM_ROTATION
,LEFT_ARM_ROTATION
,RIGHT_LEG_ROTATION
, andLEFT_LEG_ROTATION
.
-
CAN_BREED
public static final Key<Value<Boolean>> CAN_BREED
Whether anAnimal
can breed. In Vanilla, animals can breed if theirBREEDING_COOLDOWN
is equal to 0.
-
CAN_DROP_AS_ITEM
public static final Key<Value<Boolean>> CAN_DROP_AS_ITEM
Whether aFallingBlock
can drop as an item.
-
CAN_GRIEF
public static final Key<Value<Boolean>> CAN_GRIEF
Whether aLiving
entity may change blocks. This mostly applies toEnderman
orCreeper
s, but also to some projectiles likeFireballEntity
s orWitherSkull
.
-
CAN_HURT_ENTITIES
public static final Key<Value<Boolean>> CAN_HURT_ENTITIES
Whether aFallingBlock
will damage anEntity
it lands on.
-
CAN_JOIN_RAID
public static final Key<Value<Boolean>> CAN_JOIN_RAID
Whether aRaider
can join a raid.
-
CAN_MOVE_ON_LAND
public static final Key<Value<Boolean>> CAN_MOVE_ON_LAND
Whether aBoat
can move on land.
-
CAN_PLACE_AS_BLOCK
public static final Key<Value<Boolean>> CAN_PLACE_AS_BLOCK
Whether aFallingBlock
will place itself upon landing.
-
CASTING_TIME
public static final Key<Value<Integer>> CASTING_TIME
The current casting time of aSpellcaster
.
-
CHAT_COLORS_ENABLED
public static final Key<Value<Boolean>> CHAT_COLORS_ENABLED
Whether aServerPlayer
can will see colours sent in messages.
-
CHAT_VISIBILITY
public static final Key<Value<ChatVisibility>> CHAT_VISIBILITY
The types of chat aServerPlayer
can see.
-
CHEST_ATTACHMENT_TYPE
public static final Key<Value<ChestAttachmentType>> CHEST_ATTACHMENT_TYPE
-
CHEST_ROTATION
public static final Key<Value<Vector3d>> CHEST_ROTATION
The rotation of theBodyParts.CHEST
.
-
COLOR
public static final Key<Value<Color>> COLOR
TheColor
of anItemStack
e.g.
or anItemTypes.LEATHER_CHESTPLATE
orItemTypes.POTION
custom colorAreaEffectCloud
.
-
COMMAND
public static final Key<Value<String>> COMMAND
A command stored in aCommandBlock
orCommandBlockMinecart
.
-
COMPARATOR_MODE
public static final Key<Value<ComparatorMode>> COMPARATOR_MODE
-
CONNECTED_DIRECTIONS
public static final Key<SetValue<Direction>> CONNECTED_DIRECTIONS
The connected directions of aBlockState
.e.g.
BlockTypes.GLASS_PANE
,BlockTypes.IRON_BARS
,BlockTypes.CHEST
,
-
CONTAINER_ITEM
public static final Key<Value<ItemType>> CONTAINER_ITEM
The containerItemType
of anItemStack
. e.g.ItemTypes.BUCKET
for aItemTypes.WATER_BUCKET
stack. Readonly
-
COOLDOWN
public static final Key<Value<Ticks>> COOLDOWN
The amount of ticks aHopper
has to wait before transferring the next item. (in Vanilla this is 8 ticks) or The amount of ticks aEndGateway
has to wait for the next teleportation.
-
CREATOR
public static final Key<Value<UUID>> CREATOR
The creator, usually of anEntity
. It is up to the implementation to define.
-
CURRENT_SPELL
public static final Key<Value<SpellType>> CURRENT_SPELL
The currentSpellType
aSpellcaster
is casting.
-
CUSTOM_ATTACK_DAMAGE
public static final Key<MapValue<EntityType<?>,Double>> CUSTOM_ATTACK_DAMAGE
The damage dealt towards entities of a specificEntityType
by aArrowEntity
.Note that in events, the damage defined for the provided
EntityType
will take priority over the "default" damage as defined fromArrowEntity.attackDamage()
.Types not present in this mapping will be dealt damage to according to
ATTACK_DAMAGE
.
-
CUSTOM_MODEL_DATA
public static final Key<Value<Integer>> CUSTOM_MODEL_DATA
The resource pack model index of anItemStack
.Resource packs can use the same index in their files to replace the item model of an ItemStack.
-
CUSTOM_NAME
public static final Key<Value<Component>> CUSTOM_NAME
The custom name of anEntity
,ItemStack
orBlockEntity
.If no custom name is set the dataholder may still have a
DISPLAY_NAME
-
DAMAGE_ABSORPTION
public static final Key<Value<Double>> DAMAGE_ABSORPTION
The damage absorbed by an armorItemStack
. Readonly
-
DAMAGE_PER_BLOCK
public static final Key<Value<Double>> DAMAGE_PER_BLOCK
How much damage aFallingBlock
deals toLiving
entities it hits per block fallen.This damage is capped by
MAX_FALL_DAMAGE
.
-
DECAY_DISTANCE
public static final Key<Value<Integer>> DECAY_DISTANCE
The distance at which aBlockState
will decay. This usually applies to leaves, for exampleBlockTypes.OAK_LEAVES
.
-
DISPLAY_NAME
public static final Key<Value<Component>> DISPLAY_NAME
The display name of anEntity
,ItemStack
orBlockEntity
.To change a display name set a
CUSTOM_NAME
instead.On an
Entity
, this represents a combination ofCUSTOM_NAME
(if set), scoreboard info, and any click data.On an
ItemStack
, this represents theCUSTOM_NAME
or if not set theItemType
s translation.On a
BlockEntity
, this usually represents the name displayed in itsContainer
-
DOMINANT_HAND
public static final Key<Value<HandPreference>> DOMINANT_HAND
The dominantHandPreference
of anAgent
entity.NOTE: For
Player
s is this key read-only, theHandPreference
of a player can not be changed server-side.
-
DOOR_HINGE
public static final Key<Value<DoorHinge>> DOOR_HINGE
TheDoorHinge
of a doorBlockState
.
-
DO_EXACT_TELEPORT
public static final Key<Value<Boolean>> DO_EXACT_TELEPORT
Whether exact teleport location should be used with aEndGateway
.
-
DURATION
public static final Key<Value<Ticks>> DURATION
The remaining duration (in ticks) of anAreaEffectCloud
.
-
DURATION_ON_USE
public static final Key<Value<Ticks>> DURATION_ON_USE
The amount of ticks the duration of anAreaEffectCloud
is increased or reduced when it applies its effect.
-
DYE_COLOR
public static final Key<Value<DyeColor>> DYE_COLOR
The color of a dyeableBlockState
,ItemStack
or entity likeCat
s. or The baseDyeColor
of aBanner
orTropicalFish
.
-
EATING_TIME
public static final Key<Value<Ticks>> EATING_TIME
The time aPanda
has been eating (in ticks)
-
EFFICIENCY
public static final Key<Value<Double>> EFFICIENCY
The efficiency of anItemStack
tool. Affects mining speed of supported materials.CAN_HARVEST
Readonly
-
EGG_TIME
public static final Key<Value<Ticks>> EGG_TIME
The time (in ticks) until aChicken
lays anItemTypes.EGG
.Vanilla will calculate the egg timer by taking a random value between 0 (inclusive) and 6000 (exclusive) and then add that by another 6000. This unit ends up being in ticks. Once the chicken lays the egg, this calculation is ran again.
-
END_GATEWAY_AGE
public static final Key<Value<Ticks>> END_GATEWAY_AGE
The age (in ticks) of anEndGateway
-
ENTITY_TYPE
public static final Key<Value<EntityType<?>>> ENTITY_TYPE
Theentity type
of a spawn egg, which may be one of several based onItemTypes.ZOMBIE_SPAWN_EGG
, etc. It is not guaranteed that the type of entity is the same as the one that will be spawned when used. It is likely unable to change the type of entity on anItemStack
, but it is possible to change thearchetype
by usingENTITY_TO_SPAWN
.- See Also:
ENTITY_TO_SPAWN
-
ENTITY_TO_SPAWN
public static final Key<Value<EntityArchetype>> ENTITY_TO_SPAWN
TheEntityArchetype
to spawn from any spawn egg, such as aItemTypes.ZOMBIE_SPAWN_EGG
orItemTypes.CREEPER_SPAWN_EGG
.The
ENTITY_TYPE
is not guaranteed to be the same as theEntityArchetype.type()
returned, but the spawned entity will be based on theEntityArchetype
returned here.
-
EQUIPMENT_TYPE
public static final Key<Value<EquipmentType>> EQUIPMENT_TYPE
TheEquipmentType
that the target inventory supports. This usually applies toEquipmentSlot
s. or TheEquipmentType
of anItemStack
Readonly
-
EXHAUSTION
public static final Key<Value<Double>> EXHAUSTION
The current level of exhaustion of aHumanoid
.When the exhaustion level reaches 0, saturation is usually diminished such that saturation is decreased and then exhaustion is reset to the maximum. This type of effect occurs over time and can be modified by movements and actions performed by the
Humanoid
.
-
EXPERIENCE
public static final Key<Value<Integer>> EXPERIENCE
The amount of experience aPlayer
has or anExperienceOrb
contains.
-
EXPERIENCE_FROM_START_OF_LEVEL
public static final Key<Value<Integer>> EXPERIENCE_FROM_START_OF_LEVEL
The total experience aPlayer
requires to advance from his current level to the next one. Readonly
-
EXPERIENCE_LEVEL
public static final Key<Value<Integer>> EXPERIENCE_LEVEL
The current level aPlayer
has.
-
EXPERIENCE_SINCE_LEVEL
public static final Key<Value<Integer>> EXPERIENCE_SINCE_LEVEL
The amount of experience aPlayer
has collected towards the next level.
-
EYE_POSITION
public static final Key<Value<Vector3d>> EYE_POSITION
The eye position of anEntity
. Readonly
-
FALL_DISTANCE
public static final Key<Value<Double>> FALL_DISTANCE
The distance anEntity
has fallen.
-
FALL_TIME
public static final Key<Value<Ticks>> FALL_TIME
The amount of ticks aFallingBlock
has been falling for.
-
FIREWORK_EFFECTS
public static final Key<ListValue<FireworkEffect>> FIREWORK_EFFECTS
-
FIREWORK_FLIGHT_MODIFIER
public static final Key<Value<Ticks>> FIREWORK_FLIGHT_MODIFIER
The flight duration of aFireworkRocket
The duration is tiered and will stay partially random. A rocket will fly for roughly
modifier * 10 + (random number from 0 to 13)
ticks in Vanilla Minecraft.
-
FIREWORK_SHAPE
public static final Key<Value<FireworkShape>> FIREWORK_SHAPE
-
FIRE_DAMAGE_DELAY
public static final Key<Value<Ticks>> FIRE_DAMAGE_DELAY
The delay in ticks until theEntity
will be damaged by the fire.
-
FIRE_TICKS
public static final Key<Value<Ticks>> FIRE_TICKS
The amount of ticks anEntity
is still burning.
-
FIRST_DATE_JOINED
public static final Key<Value<Instant>> FIRST_DATE_JOINED
The time aUser
first joined on the Server.
-
FLUID_ITEM_STACK
public static final Key<Value<FluidStackSnapshot>> FLUID_ITEM_STACK
TheFluidStackSnapshot
contained within an item container. Item containers may include buckets and other mod added items. SeeCONTAINER_ITEM
-
FLUID_LEVEL
public static final Key<Value<Integer>> FLUID_LEVEL
The fluid level of a liquidBlockState
.
-
FLUID_TANK_CONTENTS
public static final Key<MapValue<Direction,List<FluidStackSnapshot>>> FLUID_TANK_CONTENTS
The directional tank information. TODO dataholder? cauldron blockstate? modded?
-
FLYING_SPEED
public static final Key<Value<Double>> FLYING_SPEED
The speed at which anPlayer
flies.
-
FUEL
public static final Key<Value<Integer>> FUEL
Represents theKey
for the amount of fuel left in aBrewingStand
orFurnaceBlockEntity
orFurnaceMinecart
One
ItemTypes.BLAZE_POWDER
adds 20 fuel to the brewing stand.The fuel value corresponds with the number of batches of potions that can be brewed.
See
BURN_TIME
for the burn time added by a fuelItemStack
to a furnace
-
FUSE_DURATION
public static final Key<Value<Ticks>> FUSE_DURATION
The time (in ticks) aFusedExplosive
's fuse will burn before the explosion.
-
GAME_PROFILE
public static final Key<Value<GameProfile>> GAME_PROFILE
The player represented by aBlockTypes.PLAYER_HEAD
(andBlockTypes.PLAYER_WALL_HEAD
)BlockState
or aItemTypes.PLAYER_HEAD
ItemStack
.The offered game profile will be set exactly, unlike in vanilla where the game profile will be resolved automatically for properties (including textures). You can obtain a game profile with properties using
GameProfileProvider.profile(org.spongepowered.api.profile.GameProfile)
.
-
GENERATION
public static final Key<Value<Integer>> GENERATION
The generation of aItemTypes.WRITTEN_BOOK
ItemStack
. Depending on the book's generation it may be impossible to copy it.
-
HAS_ARMS
public static final Key<Value<Boolean>> HAS_ARMS
Whether anArmorStand
's arms are visible.
-
HAS_BASE_PLATE
public static final Key<Value<Boolean>> HAS_BASE_PLATE
Whether anArmorStand
has a visible base plate.
-
HAS_FISH
public static final Key<Value<Boolean>> HAS_FISH
Whether aDolphin
has a fish.Dolphins will navigate to a treasure (if a structure that provides one is nearby) if they have been given a fish.
-
HAS_MARKER
public static final Key<Value<Boolean>> HAS_MARKER
Whether anArmorStand
is a "marker" stand.If
true
, the armor stand's bounding box is near impossible to see, and the armor stand can no longer be interacted with.
-
HAS_VIEWED_CREDITS
public static final Key<Value<Boolean>> HAS_VIEWED_CREDITS
Whether a server player has viewed the credits.The credits are displayed the first time a player returns to the overworld safely using an end portal.
-
HEAD_ROTATION
public static final Key<Value<Vector3d>> HEAD_ROTATION
The rotation of aLiving
's orArmorStand
's head.The format of the rotation is represented by:
x -> pitch
-
y -> yaw
z -> roll
Note that the pitch will be the same x value returned by
Entity.rotation()
and Minecraft does not currently support head roll so the z value will always be zero.
-
HEALING_CRYSTAL
public static final Key<Value<EndCrystal>> HEALING_CRYSTAL
TheEndCrystal
currently healing anEnderDragon
.
-
HEALTH
public static final Key<Value<Double>> HEALTH
ALiving
's orEndCrystal
's current health.The range of the health depends on the object on which this method is defined. For
Players
in Minecraft, the nominal range is between 0 and 20, inclusive, but the range can be adjusted.Convention dictates that health does not fall below 0 but this convention may be broken.
-
HEALTH_SCALE
public static final Key<Value<Double>> HEALTH_SCALE
The value aServerPlayer
s max-health (excluding absorption) in the GUI will scale to.Two health is equal to one heart displayed.
With scaling is disabled health automatically scales to
MAX_HEALTH
-
HELD_ITEM
public static final Key<Value<ItemType>> HELD_ITEM
TheItemType
aBlockState
represents. Readonly
-
HIDE_ATTRIBUTES
public static final Key<Value<Boolean>> HIDE_ATTRIBUTES
Whether the attributes of anItemStack
are hidden.
-
HIDE_CAN_DESTROY
public static final Key<Value<Boolean>> HIDE_CAN_DESTROY
Whether theBREAKABLE_BLOCK_TYPES
of anItemStack
are hidden.
-
HIDE_CAN_PLACE
public static final Key<Value<Boolean>> HIDE_CAN_PLACE
Whether thePLACEABLE_BLOCK_TYPES
of anItemStack
are hidden.
-
HIDE_ENCHANTMENTS
public static final Key<Value<Boolean>> HIDE_ENCHANTMENTS
Whether theAPPLIED_ENCHANTMENTS
of anItemStack
are hidden.
-
HIDE_MISCELLANEOUS
public static final Key<Value<Boolean>> HIDE_MISCELLANEOUS
Whether miscellaneous values of anItemStack
are hidden. e.g. potion effects or shield pattern info
-
HIDE_UNBREAKABLE
public static final Key<Value<Boolean>> HIDE_UNBREAKABLE
WhetherIS_UNBREAKABLE
state of anItemStack
is hidden.
-
HORSE_COLOR
public static final Key<Value<HorseColor>> HORSE_COLOR
TheHorseColor
of aHorse
.
-
HORSE_STYLE
public static final Key<Value<HorseStyle>> HORSE_STYLE
TheHorseStyle
of aHorse
.
-
INACCURACY
public static final Key<Value<Double>> INACCURACY
The inaccuracy of anItemStack
that launchesProjectile
s.An inaccuracy of 0 means perfect accuracy. Inaccuracy of 1 is the default for most vanilla items.
-
INFINITE_DESPAWN_DELAY
public static final Key<Value<Boolean>> INFINITE_DESPAWN_DELAY
Whether anItem
will not despawn for an infinite time.
-
INFINITE_PICKUP_DELAY
public static final Key<Value<Boolean>> INFINITE_PICKUP_DELAY
Whether anItem
has an infinite pickup delay.
-
INSTRUMENT_TYPE
public static final Key<Value<InstrumentType>> INSTRUMENT_TYPE
-
INVERTED
public static final Key<Value<Boolean>> INVERTED
Whether aBlockTypes.DAYLIGHT_DETECTOR
BlockState
is inverted.
-
INVULNERABILITY_TICKS
public static final Key<Value<Ticks>> INVULNERABILITY_TICKS
The amount of ticks anEntity
will remain invulnerable for.
-
INVULNERABLE
public static final Key<Value<Boolean>> INVULNERABLE
Whether anEntity
is invulnerable.This does not protect from the void, players in creative mode, and manual killing like the /kill command.
-
IN_WALL
public static final Key<Value<Boolean>> IN_WALL
Whether a fence gateBlockState
is in a wall.
-
IS_ADULT
public static final Key<Value<Boolean>> IS_ADULT
Whether anAgeable
is considered an adult.
-
IS_AFLAME
public static final Key<Value<Boolean>> IS_AFLAME
Whether aBlaze
is currently burning.Unlike
FIRE_TICKS
, the burning effect will not damage the burning entity.
-
IS_AI_ENABLED
public static final Key<Value<Boolean>> IS_AI_ENABLED
Whether anAgent
s AI is enabled.
-
IS_ANGRY
public static final Key<Value<Boolean>> IS_ANGRY
Whether an entity is currently aggressive. e.g.wolves
orZombifiedPiglin
-
IS_ATTACHED
public static final Key<Value<Boolean>> IS_ATTACHED
Whether aBlockState
is "attached" to another block.
-
IS_AUTO_SPIN_ATTACK
public static final Key<Value<Boolean>> IS_AUTO_SPIN_ATTACK
Whether aLiving
is doing an auto spin attack (doable with theEnchantmentTypes.RIPTIDE
enchantment.)- See Also:
AUTO_SPIN_ATTACK_TICKS
-
IS_CELEBRATING
public static final Key<Value<Boolean>> IS_CELEBRATING
WhetherRaider
s are currently celebrating.
-
IS_CHARGING_CROSSBOW
public static final Key<Value<Boolean>> IS_CHARGING_CROSSBOW
Whether aPillager
is charging it's crossbow.
-
IS_CLIMBING
public static final Key<Value<Boolean>> IS_CLIMBING
Whether aSpider
is currently climbing.
-
IS_CRITICAL_HIT
public static final Key<Value<Boolean>> IS_CRITICAL_HIT
Whether anArrow
will cause a critical hit.
-
IS_CROUCHING
public static final Key<Value<Boolean>> IS_CROUCHING
Whether aFox
is currently crouching.
-
IS_CUSTOM_NAME_VISIBLE
public static final Key<Value<Boolean>> IS_CUSTOM_NAME_VISIBLE
Whether a custom name is visible on anEntity
.
-
IS_DEFENDING
public static final Key<Value<Boolean>> IS_DEFENDING
Whether aFox
is currently defending.
-
IS_ELYTRA_FLYING
public static final Key<Value<Boolean>> IS_ELYTRA_FLYING
Whether aPlayer
is flying with anItemTypes.ELYTRA
.
-
IS_EXTENDED
public static final Key<Value<Boolean>> IS_EXTENDED
Whether a pistonBlockState
is currently extended. TODOPiston
?
-
IS_FACEPLANTED
public static final Key<Value<Boolean>> IS_FACEPLANTED
Whether aFox
is currently faceplanted.
-
IS_FILLED
public static final Key<Value<Boolean>> IS_FILLED
Whether aBlockState
is filled.e.g.
BlockTypes.END_PORTAL_FRAME
s.
-
IS_FLAMMABLE
public static final Key<Value<Boolean>> IS_FLAMMABLE
Whether aBlockState
is flammable. Readonly
-
IS_FRIGHTENED
public static final Key<Value<Boolean>> IS_FRIGHTENED
Whether an entity is frightened.In vanilla,
Panda
s that have aPanda.knownGene()
ofPandaGenes.WORRIED
and are in aworld
whoseWeatherType
is currently aWeatherTypes.THUNDER
are considered "frightened".
-
IS_FULL_BLOCK
public static final Key<Value<Boolean>> IS_FULL_BLOCK
Whether the block at theServerLocation
is a full block.
-
IS_GLOWING
public static final Key<Value<Boolean>> IS_GLOWING
Whether anEntity
has a glowing outline.
-
IS_GOING_HOME
public static final Key<Value<Boolean>> IS_GOING_HOME
WhetherTurtle
is proceeding to it'shome position
.
-
IS_GRAVITY_AFFECTED
public static final Key<Value<Boolean>> IS_GRAVITY_AFFECTED
Whether something is affected by gravity. e.g.Entity
s andBlockState
s Readonly(BlockState.class)
-
IS_IMMOBILIZED
public static final Key<Value<Boolean>> IS_IMMOBILIZED
Whether aRavager
is immobilized. Readonly
-
IS_INDIRECTLY_POWERED
public static final Key<Value<Boolean>> IS_INDIRECTLY_POWERED
Whether aServerLocation
is indirectly powered. Readonly
-
IS_INTERESTED
public static final Key<Value<Boolean>> IS_INTERESTED
Whether aFox
is currently interested in something.
-
IS_INVISIBLE
public static final Key<Value<Boolean>> IS_INVISIBLE
Whether anEntity
is currently invisible. This will only simply render the entity as vanished, but not prevent any entity updates being sent to clients. To fully "vanish" anEntity
, useVANISH_STATE
.
-
IS_IN_WATER
public static final Key<Value<Boolean>> IS_IN_WATER
Whether aBoat
is currently inBlockTypes.WATER
. Readonly
-
IS_JOHNNY
public static final Key<Value<Boolean>> IS_JOHNNY
Whether aVindicator
is exhibiting "johnny" behavior.
-
IS_LAYING_EGG
public static final Key<Value<Boolean>> IS_LAYING_EGG
Whether aTurtle
is currently digging to lay an egg.
-
IS_LIT
public static final Key<Value<Boolean>> IS_LIT
Whether aBlockState
is lit. e.g.BlockTypes.FURNACE
,BlockTypes.CAMPFIRE
orBlockTypes.REDSTONE_TORCH
.
-
IS_LYING_DOWN
public static final Key<Value<Boolean>> IS_LYING_DOWN
Whether aCat
is lying down.In vanilla, a cat lies down near its owner when the owner goes to sleep.
-
IS_LYING_ON_BACK
public static final Key<Value<Boolean>> IS_LYING_ON_BACK
Whether aPanda
is lying on it's back.
-
IS_OCCUPIED
public static final Key<Value<Boolean>> IS_OCCUPIED
Whether a bedBlockState
is occupied. e.g.BlockTypes.WHITE_BED
.
-
IS_ON_RAIL
public static final Key<Value<Boolean>> IS_ON_RAIL
Whether aMinecart
is on it's rail Readonly
-
IS_OPEN
public static final Key<Value<Boolean>> IS_OPEN
Whether a door/fencegate/trapdoorBlockState
is open.
-
IS_PASSABLE
public static final Key<Value<Boolean>> IS_PASSABLE
Whether aBlockState
is passable (can be walked through). Readonly
-
IS_PATROLLING
public static final Key<Value<Boolean>> IS_PATROLLING
Whether aPatroller
is currently patrolling.
-
IS_PERSISTENT
public static final Key<Value<Boolean>> IS_PERSISTENT
Whether anEntity
or leavesBlockState
will be prevented from despawning/decaying.In Vanilla, entities may despawn if the player moves too far from them. A persisting entity will not be removed due to no players being near it.
-
IS_PLACING_DISABLED
public static final Key<MapValue<EquipmentType,Boolean>> IS_PLACING_DISABLED
Whether players are prevented from placing items from an equipment slot on anArmorStand
-
IS_POUNCING
public static final Key<Value<Boolean>> IS_POUNCING
Whether aFox
is currently pouncing.
-
IS_POWERED
public static final Key<Value<Boolean>> IS_POWERED
Whether aBlockState
is powered.Applies to blocks that may be powered in order to emit a Redstone signal of consistently maximum strength, such as
BlockTypes.LEVER
,BlockTypes.OAK_BUTTON
,BlockTypes.OAK_PRESSURE_PLATE
, and their stone counterparts.
-
IS_PRIMED
public static final Key<Value<Boolean>> IS_PRIMED
Whether aFusedExplosive
is currently primed. Readonly
-
IS_RELAXED
public static final Key<Value<Boolean>> IS_RELAXED
Whether aCat
is relaxed.In vanilla, a cat relaxes before lying down.
-
IS_REPLACEABLE
public static final Key<Value<Boolean>> IS_REPLACEABLE
Whether aBlockState
can be replaced by a player without breaking it first. e.g.BlockTypes.WATER
Readonly
-
IS_ROARING
public static final Key<Value<Boolean>> IS_ROARING
Whether aRavager
is roaring. Readonly
-
IS_ROLLING_AROUND
public static final Key<Value<Boolean>> IS_ROLLING_AROUND
Whether aPanda
is rolling around.
-
IS_SILENT
public static final Key<Value<Boolean>> IS_SILENT
Whether anEntity
is silent.A silent entity will not emit sounds or make noises.
-
IS_SLEEPING_IGNORED
public static final Key<Value<Boolean>> IS_SLEEPING_IGNORED
Whether aPlayer's
sleeping status is ignored when checking whether to skip the night due to players sleeping. The time in a world will be advanced to day if all players in it either are sleeping or are set to ignore.
-
IS_SMALL
public static final Key<Value<Boolean>> IS_SMALL
Whether anArmorStand
is small.
-
IS_SNEAKING
public static final Key<Value<Boolean>> IS_SNEAKING
Whether anEntity
is sneaking.Sneaking entities generally move slower and do not make walking sounds.
-
IS_SNOWY
public static final Key<Value<Boolean>> IS_SNOWY
Whether aBlockTypes.DIRT
BlockState
is snowy.
-
IS_SOLID
public static final Key<Value<Boolean>> IS_SOLID
Whether aBlockState
is solid. Readonly
-
IS_STANDING
public static final Key<Value<Boolean>> IS_STANDING
Whether aPolarBear
is currently standing.
-
IS_STUNNED
public static final Key<Value<Boolean>> IS_STUNNED
Whether aRavager
is stunned. Readonly
-
IS_SURROGATE_BLOCK
public static final Key<Value<Boolean>> IS_SURROGATE_BLOCK
Whether aBlockState
is a surrogate block for a block that was provided in an environment (almost always modded), that the block type provider no longer exists. If true this may indicate that the surrogate block functions differently than the original block. Readonly
-
IS_TAKING_DISABLED
public static final Key<MapValue<EquipmentType,Boolean>> IS_TAKING_DISABLED
Whether players are prevented from taking items from an equipment slot on anArmorStand
-
IS_TAMED
public static final Key<Value<Boolean>> IS_TAMED
Whether aTameableAnimal
is currently tamed
-
IS_TRAVELING
public static final Key<Value<Boolean>> IS_TRAVELING
Whether aTurtle
is currently traveling.
-
IS_UNBREAKABLE
public static final Key<Value<Boolean>> IS_UNBREAKABLE
Whether anItemStack
orBlockState
is unbreakable.Setting this to
Readonly(BlockState.class)true
will prevent the item stack'sITEM_DURABILITY
from changing.
-
IS_WATERLOGGED
public static final Key<Value<Boolean>> IS_WATERLOGGED
Whehter aBlockState
is waterlogged.
-
ITEM_DURABILITY
public static final Key<Value<Integer>> ITEM_DURABILITY
The durability of anItemStack
.MAX_DURABILITY
-
ITEM_RARITY
public static final Key<Value<ItemRarity>> ITEM_RARITY
The rarity of an item.
-
ITEM_STACK_SNAPSHOT
public static final Key<Value<ItemStackSnapshot>> ITEM_STACK_SNAPSHOT
-
KNOCKBACK_STRENGTH
public static final Key<Value<Double>> KNOCKBACK_STRENGTH
The knockback strength applied by anArrowEntity
.For the knockback provided by hits with a weapon according to the enchantment of the same name, see
APPLIED_ENCHANTMENTS
.
-
LAST_COMMAND_OUTPUT
public static final Key<Value<Component>> LAST_COMMAND_OUTPUT
The output yielded by the last command of aCommandBlock
orCommandBlockMinecart
.
-
LAST_DAMAGE_RECEIVED
public static final Key<Value<Double>> LAST_DAMAGE_RECEIVED
The last damage aLiving
received.
-
LAST_DATE_JOINED
public static final Key<Value<Instant>> LAST_DATE_JOINED
The last time aUser
joined on the server.
-
LAST_DATE_PLAYED
public static final Key<Value<Instant>> LAST_DATE_PLAYED
The last time aUser
has been playing on the server.
-
LEFT_ARM_ROTATION
public static final Key<Value<Vector3d>> LEFT_ARM_ROTATION
The rotation of anArmorStand
's left arm.
-
LEFT_LEG_ROTATION
public static final Key<Value<Vector3d>> LEFT_LEG_ROTATION
The rotation of anArmorStand
's left leg.
-
LIFE_TICKS
public static final Key<Value<Ticks>> LIFE_TICKS
The amount of ticks till aVex
starts taking damage due to living too long.When this value hits 0 or lower, the Vex will receive damage and then the value will set back to 20 until the Vex dies.
If the Vex was summoned by a player, this value will be pegged at 0 and the Vex will not take any damage.
-
LIGHT_EMISSION
public static final Key<Value<Integer>> LIGHT_EMISSION
The amount of light that emitted by aBlockState
. Readonly
-
LOCALE
public static final Key<Value<Locale>> LOCALE
AServerPlayer
's client language.
-
LOCK_TOKEN
public static final Key<Value<String>> LOCK_TOKEN
The token used to lock aCarrierBlockEntity
. Or the token on anItemStack
to unlock it.
-
LODESTONE
public static final Key<Value<ServerLocation>> LODESTONE
A lodestone location, used withItemTypes.COMPASS
.
-
MAP_DECORATIONS
public static final Key<SetValue<MapDecoration>> MAP_DECORATIONS
-
MAP_INFO
public static final Key<Value<MapInfo>> MAP_INFO
Represents theKey
for theMapInfo
of anItemStack
of typeItemTypes.FILLED_MAP
. Can be null if the ItemStack was made by a plugin and hasn't been offered a MapInfo yet.
-
MAP_LOCKED
public static final Key<Value<Boolean>> MAP_LOCKED
Represents theKey
for whether a map updates from players for aMapInfo
. By default this is false. Can be used in combination withMAP_CANVAS
to create custom static map. See Minecraft Wiki - Map Locking
-
MAP_SCALE
public static final Key<Value<Integer>> MAP_SCALE
- See Also:
- Minecraft Wiki - Zoom Details
-
MAP_WORLD
public static final Key<Value<ResourceKey>> MAP_WORLD
-
MATTER_TYPE
public static final Key<Value<MatterType>> MATTER_TYPE
The matter state of aBlockState
Readonly
-
MAX_AIR
public static final Key<Value<Integer>> MAX_AIR
The maximum air supply aLiving
may have.For the current amount of air, check
REMAINING_AIR
.
-
MAX_BURN_TIME
public static final Key<Value<Ticks>> MAX_BURN_TIME
The maximum amount of ticks aFurnaceBlockEntity
can burn with the currently used fuel item.
-
MAX_COOK_TIME
public static final Key<Value<Ticks>> MAX_COOK_TIME
The total time the currentItemStack
in aFurnaceBlockEntity
has to be cooked.
-
MAX_DURABILITY
public static final Key<Value<Integer>> MAX_DURABILITY
The maximum durability of anItemStack
.ITEM_DURABILITY
Readonly
-
MAX_EXHAUSTION
public static final Key<Value<Double>> MAX_EXHAUSTION
The maximum exhuastion of aHumanoid
. Readonly.- See Also:
EXHAUSTION
-
MAX_FALL_DAMAGE
public static final Key<Value<Double>> MAX_FALL_DAMAGE
The maximum damage aFallingBlock
can deal.
-
MAX_FOOD_LEVEL
public static final Key<Value<Integer>> MAX_FOOD_LEVEL
The maximum food level of aHumanoid
. Readonly.- See Also:
FOOD_LEVEL
-
MAX_HEALTH
public static final Key<Value<Double>> MAX_HEALTH
The maximum health of aLiving
.The maximum health set here may affect the attribute increasing health points. The base health should be minded that it may be lower than the total maximum health of the entity.
-
MAX_NEARBY_ENTITIES
public static final Key<Value<Integer>> MAX_NEARBY_ENTITIES
The maximum number of entities around aMobSpawner
. A spawner will not spawn entities if there are more entities around than this value permits.
-
MAX_SATURATION
public static final Key<Value<Double>> MAX_SATURATION
The maximum saturation of aHumanoid
. Readonly.- See Also:
SATURATION
-
MAX_SPAWN_DELAY
public static final Key<Value<Ticks>> MAX_SPAWN_DELAY
The maximum amount of ticks between two batches of entities spawned by aMobSpawner
.
-
MAX_SPEED
public static final Key<Value<Double>> MAX_SPEED
The max speed of aBoat
. In vanilla, this is 0.4
-
MAX_STACK_SIZE
public static final Key<Value<Integer>> MAX_STACK_SIZE
The maximum stack size of slots in an inventory. For most vanilla inventories this is 64. Readonly
-
MINECART_BLOCK_OFFSET
public static final Key<Value<Integer>> MINECART_BLOCK_OFFSET
The represented block's offset of aMinecartLike
.
-
MIN_SPAWN_DELAY
public static final Key<Value<Ticks>> MIN_SPAWN_DELAY
The minimum amount of ticks between two batches of entities spawned by aMobSpawner
.
-
MOISTURE
public static final Key<Value<Integer>> MOISTURE
The moisture value of aBlockTypes.FARMLAND
BlockState
.
-
MOOSHROOM_TYPE
public static final Key<Value<MooshroomType>> MOOSHROOM_TYPE
The type of aMooshroom
.
-
NEXT_ENTITY_TO_SPAWN
public static final Key<Value<WeightedSerializableObject<EntityArchetype>>> NEXT_ENTITY_TO_SPAWN
The next entity that will be spawned by aMobSpawner
.Normally the entities to be spawned are determined by a random value applied to the
SPAWNABLE_ENTITIES
weighted collection. If this value exists, it will override the random spawn with a definite one.
-
NOTE_PITCH
public static final Key<Value<NotePitch>> NOTE_PITCH
The pitch of aBlockTypes.NOTE_BLOCK
BlockState
.
-
NOTIFIER
public static final Key<Value<UUID>> NOTIFIER
The notifier, usually of anEntity
. It is up to the implementation to define.
-
OCCUPIED_DECELERATION
public static final Key<Value<Double>> OCCUPIED_DECELERATION
The deceleration aBoat
while it hasPASSENGERS
.
-
ON_GROUND
public static final Key<Value<Boolean>> ON_GROUND
Whether anEntity
is currently considered to be on the ground. Readonly
-
ORIENTATION
public static final Key<Value<Orientation>> ORIENTATION
TheOrientation
of anItemFrame
.
-
PAGES
public static final Key<ListValue<Component>> PAGES
The content of aItemTypes.WRITTEN_BOOK
ItemStack
.Use
PLAIN_PAGES
if you wish to inspect the contents of aItemTypes.WRITABLE_BOOK
.
-
PARROT_TYPE
public static final Key<Value<ParrotType>> PARROT_TYPE
-
PARTICLE_EFFECT
public static final Key<Value<ParticleEffect>> PARTICLE_EFFECT
The particle type of anAreaEffectCloud
.Only a few
ParticleOption
s will be usable for this effect for specificParticleType
s and not everyParticleType
will be applicable.
-
PASSED_COOK_TIME
public static final Key<Value<Ticks>> PASSED_COOK_TIME
The amount of ticks aFurnaceBlockEntity
has been cooking the current item for.Once this value reaches the
MAX_COOK_TIME
, the item will be finished cooking.
-
PATTERN_COLOR
public static final Key<Value<DyeColor>> PATTERN_COLOR
ATropicalFish
's pattern color.
-
PHANTOM_PHASE
public static final Key<Value<PhantomPhase>> PHANTOM_PHASE
-
PICKUP_DELAY
public static final Key<Value<Ticks>> PICKUP_DELAY
The pickup delay (in ticks) of anItem
.
-
PICKUP_RULE
public static final Key<Value<PickupRule>> PICKUP_RULE
ThePickupRule
of anArrowEntity
.
-
PISTON_TYPE
public static final Key<Value<PistonType>> PISTON_TYPE
The piston type of a pistonBlockState
TODO dataholderPiston
.
-
PLACEABLE_BLOCK_TYPES
public static final Key<SetValue<BlockType>> PLACEABLE_BLOCK_TYPES
The block types anItemStack
may be placed on.
-
PLAIN_PAGES
public static final Key<ListValue<String>> PLAIN_PAGES
The content of aItemTypes.WRITABLE_BOOK
ItemStack
.Use
PAGES
if you wish to get the contents of aItemTypes.WRITTEN_BOOK
-
PLUGIN_CONTAINER
public static final Key<Value<org.spongepowered.plugin.PluginContainer>> PLUGIN_CONTAINER
The plugin that created anInventory
-
PORES
public static final Key<SetValue<Direction>> PORES
The pore sides of aBlockTypes.BROWN_MUSHROOM_BLOCK
orBlockTypes.RED_MUSHROOM_BLOCK
BlockState
. SeeHAS_PORES_UP
,HAS_PORES_DOWN
,HAS_PORES_NORTH
,HAS_PORES_EAST
,HAS_PORES_SOUTH
,HAS_PORES_WEST
.
-
PORTION_TYPE
public static final Key<Value<PortionType>> PORTION_TYPE
ThePortionType
of aBlockState
. e.g.BlockTypes.OAK_DOOR
,BlockTypes.ROSE_BUSH
orBlockTypes.WHITE_BED
For slabs useSLAB_PORTION
instead
-
POTENTIAL_MAX_SPEED
public static final Key<Value<Double>> POTENTIAL_MAX_SPEED
The potential max speed of aMinecart
.
-
POTION_EFFECTS
public static final Key<ListValue<PotionEffect>> POTION_EFFECTS
The potion effects that are present on anEntity
or applied by an
AreaEffectCloud
orArrowEntity
or stored on an
ItemStack
.
-
POTION_TYPE
public static final Key<Value<PotionType>> POTION_TYPE
The potion type of anItemStack
.
-
POWER
public static final Key<Value<Integer>> POWER
The signal power of aBlockState
.Applies to blocks that may emit a Redstone signal of variable strength, such as
BlockTypes.REDSTONE_WIRE
,BlockTypes.DAYLIGHT_DETECTOR
,BlockTypes.LIGHT_WEIGHTED_PRESSURE_PLATE
etc.
-
PRIMARY_POTION_EFFECT_TYPE
public static final Key<Value<PotionEffectType>> PRIMARY_POTION_EFFECT_TYPE
ABeacon
's primary effect.
-
PROFESSION_TYPE
public static final Key<Value<ProfessionType>> PROFESSION_TYPE
-
RABBIT_TYPE
public static final Key<Value<RabbitType>> RABBIT_TYPE
The type of aRabbit
.
-
RADIUS
public static final Key<Value<Double>> RADIUS
The radius of anAreaEffectCloud
.
-
RADIUS_ON_USE
public static final Key<Value<Double>> RADIUS_ON_USE
The amount the radius of anAreaEffectCloud
grows or shrinks each time it applies its effect.
-
RADIUS_PER_TICK
public static final Key<Value<Double>> RADIUS_PER_TICK
The amount the radius of anAreaEffectCloud
grows or shrinks per tick.
-
RAID_WAVE
public static final Key<Value<RaidWave>> RAID_WAVE
The wave number of a raid aRaider
is in. Readonly but mutable
-
RAIL_DIRECTION
public static final Key<Value<RailDirection>> RAIL_DIRECTION
TheRailDirection
of aBlockState
.
-
REAPPLICATION_DELAY
public static final Key<Value<Ticks>> REAPPLICATION_DELAY
The delay (in ticks) after which anAreaEffectCloud
will reapply its effect on a previously affectedEntity
.
-
REDSTONE_DELAY
public static final Key<Value<Integer>> REDSTONE_DELAY
The redstone delay on aBlockTypes.REPEATER
BlockState
.
-
REMAINING_AIR
public static final Key<Value<Integer>> REMAINING_AIR
The amount of air aLiving
has left.
-
REMAINING_BREW_TIME
public static final Key<Value<Ticks>> REMAINING_BREW_TIME
The remaining amount of ticks the current brewing process of aBrewingStand
will take.If nothing is being brewed, the remaining brew time will be 0.
-
REMAINING_SPAWN_DELAY
public static final Key<Value<Ticks>> REMAINING_SPAWN_DELAY
Represents theKey
for the remaining number of ticks to pass before another attempt to spawn entities is made by aMobSpawner
.
-
REPLENISHED_FOOD
public static final Key<Value<Integer>> REPLENISHED_FOOD
The amount of food a foodItemStack
restores when eaten. Readonly
-
REPLENISHED_SATURATION
public static final Key<Value<Double>> REPLENISHED_SATURATION
The amount of saturation a foodItemStack
provides when eaten. Readonly
-
REPRESENTED_INSTRUMENT
public static final Key<Value<InstrumentType>> REPRESENTED_INSTRUMENT
-
REQUIRED_PLAYER_RANGE
public static final Key<Value<Double>> REQUIRED_PLAYER_RANGE
How close aPlayer
has to be around theMobSpawner
in order for it to attempt to spawn entities.
-
RESPAWN_LOCATIONS
public static final Key<MapValue<ResourceKey,RespawnLocation>> RESPAWN_LOCATIONS
-
RIGHT_ARM_ROTATION
public static final Key<Value<Vector3d>> RIGHT_ARM_ROTATION
The rotation of anArmorStand
's right arm.
-
RIGHT_LEG_ROTATION
public static final Key<Value<Vector3d>> RIGHT_LEG_ROTATION
The rotation of anArmorStand
's right leg.
-
SATURATION
public static final Key<Value<Double>> SATURATION
The current saturation of aPlayer
.When the saturation level reaches 0, the food level is usually diminished such that the food level is decreased by 1, then saturation is reset to the maximum value. This type of effect occurs over time and can be modified by movements and actions performed by the
Player
.
-
SCOREBOARD_TAGS
public static final Key<SetValue<String>> SCOREBOARD_TAGS
The scoreboard tags applied to anEntity
.
-
SECONDARY_POTION_EFFECT_TYPE
public static final Key<Value<PotionEffectType>> SECONDARY_POTION_EFFECT_TYPE
ABeacon
's secondary effect.
-
SHOOTER
public static final Key<Value<ProjectileSource>> SHOOTER
The shooter of aProjectile
.
-
SHOW_BOTTOM
public static final Key<Value<Boolean>> SHOW_BOTTOM
Whether aEndCrystal
should show it's bottom bedrock platform.
-
SKIN_PARTS
public static final Key<SetValue<SkinPart>> SKIN_PARTS
The parts of aServerPlayer
skin that should be displayed.This is a read-only value, set by the client.
-
SKIN_PROFILE_PROPERTY
public static final Key<Value<ProfileProperty>> SKIN_PROFILE_PROPERTY
The skin of aHumanoid
.Skins can only be manipulated by supplying the UUID of a player having that skin. The binary skin data is signed by Mojang so fully customized skins are not possible.
Readonly (Player)
-
SKIN_MOISTURE
public static final Key<Value<Integer>> SKIN_MOISTURE
The "moisture" state of aDolphin
.Vanilla sets the dolphin's skin moisture to 2400 so long as the entity is in water, being rained on, or in a bubble column. If not, the dolphin will loose 1 moisture per tick. Once this value is 0 or below, the dolphin will be damaged via
DamageSources.DRYOUT
with a value of 1 per tick until death.
-
SKY_LIGHT
public static final Key<Value<Integer>> SKY_LIGHT
The skylight value at aServerLocation
. For the blocklight seeBLOCK_LIGHT
. Readonly
-
SLAB_PORTION
public static final Key<Value<SlabPortion>> SLAB_PORTION
TheSlabPortion
of aBlockState
.
-
SLOT_POSITION
public static final Key<Value<Vector2i>> SLOT_POSITION
The position of aSlot
within aGridInventory
. Readonly
-
SLOT_SIDE
public static final Key<Value<Direction>> SLOT_SIDE
The side of a particularSlot
, for use in querying "sided inventories". Readonly
-
SLOWS_UNOCCUPIED
public static final Key<Value<Boolean>> SLOWS_UNOCCUPIED
Whether aMinecart
slows down when it has noPASSENGERS
.
-
SNEEZING_TIME
public static final Key<Value<Ticks>> SNEEZING_TIME
The time aPanda
has been sneezing (in ticks)
-
SPAWNABLE_ENTITIES
public static final Key<WeightedCollectionValue<EntityArchetype>> SPAWNABLE_ENTITIES
The list ofEntityArchetype
s able to be spawned by aMobSpawner
.
-
SPAWN_COUNT
public static final Key<Value<Integer>> SPAWN_COUNT
How many entities aMobSpawner
has spawned so far.
-
SPAWN_RANGE
public static final Key<Value<Double>> SPAWN_RANGE
How far away from theMobSpawner
the entities spawned by it may appear.
-
STAIR_SHAPE
public static final Key<Value<StairShape>> STAIR_SHAPE
TheStairShape
of aBlockState
.
-
STORED_ENCHANTMENTS
public static final Key<ListValue<Enchantment>> STORED_ENCHANTMENTS
The enchantments stored on anItemStack
.Stored enchantments are meant to be transferred. Usually this key applies to
ItemTypes.ENCHANTED_BOOK
ItemStack
s. Enchantments affecting the item stack are retrieved viaAPPLIED_ENCHANTMENTS
instead.
-
STRENGTH
public static final Key<Value<Integer>> STRENGTH
ALlama
s carrying strength. The higher the strength, the more items it can carry (effectively the size of inventory).
-
STRUCTURE_AUTHOR
public static final Key<Value<String>> STRUCTURE_AUTHOR
The author of a structure from aStructureBlock
.
-
STRUCTURE_IGNORE_ENTITIES
public static final Key<Value<Boolean>> STRUCTURE_IGNORE_ENTITIES
Whether aStructureBlock
should ignore entities when saving a structure.
-
STRUCTURE_INTEGRITY
public static final Key<Value<Double>> STRUCTURE_INTEGRITY
The integrity of aStructureBlock
.
-
STRUCTURE_MODE
public static final Key<Value<StructureMode>> STRUCTURE_MODE
The mode of aStructureBlock
.
-
STRUCTURE_POSITION
public static final Key<Value<Vector3i>> STRUCTURE_POSITION
The position of aStructureBlock
.
-
STRUCTURE_POWERED
public static final Key<Value<Boolean>> STRUCTURE_POWERED
Whether aStructureBlock
is powered.
-
STRUCTURE_SEED
public static final Key<Value<Long>> STRUCTURE_SEED
The seed of aStructureBlock
-
STRUCTURE_SHOW_AIR
public static final Key<Value<Boolean>> STRUCTURE_SHOW_AIR
Whether aStructureBlock
should make allBlockTypes.AIR
,BlockTypes.CAVE_AIR
,BlockTypes.STRUCTURE_VOID
visible.
-
STRUCTURE_SHOW_BOUNDING_BOX
public static final Key<Value<Boolean>> STRUCTURE_SHOW_BOUNDING_BOX
Whether aStructureBlock
shows the bounding box.
-
STRUCTURE_SIZE
public static final Key<Value<Vector3i>> STRUCTURE_SIZE
The size of aStructureBlock
s structure.
-
STUCK_ARROWS
public static final Key<Value<Integer>> STUCK_ARROWS
The amount of "stuck arrows" in aLiving
.
-
STUNNED_TIME
public static final Key<Value<Ticks>> STUNNED_TIME
The time (in ticks) aRavager
is stunned.
-
SUCCESS_COUNT
public static final Key<Value<Integer>> SUCCESS_COUNT
The amount of successful executions of a command stored in aCommandBlock
orCommandBlockMinecart
.
-
SUSPENDED
public static final Key<Value<Boolean>> SUSPENDED
Whether aBlockState
is suspended.
-
TAMER
public static final Key<Value<UUID>> TAMER
The tamer of aTameableAnimal
orHorseLike
.
-
TARGET_ENTITY
public static final Key<Value<Entity>> TARGET_ENTITY
The targeted entity either by anAgent
and it'sGoalExecutorTypes.TARGET
selector or by aFishingBobber
orShulkerBullet
.
-
TARGET_LOCATION
public static final Key<Value<Vector3d>> TARGET_LOCATION
A target location. e.g. AnEyeOfEnder
target or aPlayer
's compass.
-
TARGET_POSITION
public static final Key<Value<Vector3i>> TARGET_POSITION
A target block position. e.g. APatroller
's patrol target, the travel position of aTurtle
, the exit portal position of aEndGateway
or anEndCrystal
's beam target.
-
TICKS_REMAINING
public static final Key<Value<Ticks>> TICKS_REMAINING
The remaining fuse time in ticks of aFusedExplosive
. This value may be set to an arbitrary value if the explosive is not primed.
-
TRACKS_OUTPUT
public static final Key<Value<Boolean>> TRACKS_OUTPUT
Whether aCommandBlock
does track its output.If this is set, the output of the most recent execution can be retrieved using
LAST_COMMAND_OUTPUT
.
-
TRADE_OFFERS
public static final Key<ListValue<TradeOffer>> TRADE_OFFERS
TheTradeOffer
s offered by aTrader
.
-
TRANSIENT
public static final Key<Value<Boolean>> TRANSIENT
Whether anEntity
is transient. This prevents the entity from being saved to disk. The rules for this are as follows... If the entity type says that it isn't transient then this key is readonly. If the entity type says that it is transient, then this key dictates the current state.
-
TROPICAL_FISH_SHAPE
public static final Key<Value<TropicalFishShape>> TROPICAL_FISH_SHAPE
ATropicalFish
's shape.
-
UNHAPPY_TIME
public static final Key<Value<Ticks>> UNHAPPY_TIME
The time aPanda
has been unhappy (in ticks)
-
UNOCCUPIED_DECELERATION
public static final Key<Value<Double>> UNOCCUPIED_DECELERATION
The deceleration aBoat
while it does not havePASSENGERS
.
-
UNSTABLE
public static final Key<Value<Boolean>> UNSTABLE
Whether aBlockTypes.TNT
BlockState
is unstable.
-
UPDATE_GAME_PROFILE
public static final Key<Value<Boolean>> UPDATE_GAME_PROFILE
Whether changes toSKIN_PROFILE_PROPERTY
should be reflected in an entitie'sGameProfile
.
-
VANISH_STATE
public static final Key<Value<VanishState>> VANISH_STATE
TheVanishState
of anEntity
.The presence of a vanished entity will not be made known to a client; no packets pertaining to this entity are sent. Client-side, this entity will cease to exist. Server-side it may still be targeted by hostile entities or collide with other entities.
Vanishing an
Entity
ridden by other entities (seePASSENGERS
will cause problems.
-
VANISH
@Deprecated public static final Key<Value<Boolean>> VANISH
Deprecated.useVANISH_STATE
Whether anEntity
is vanished.The presence of a vanished entity will not be made known to a client; no packets pertaining to this entity are sent. Client-side, this entity will cease to exist. Server-side it may still be targeted by hostile entities or collide with other entities.
Vanishing an
Entity
ridden by other entities (seePASSENGERS
will cause problems.
-
VANISH_IGNORES_COLLISION
@Deprecated public static final Key<Value<Boolean>> VANISH_IGNORES_COLLISION
Deprecated.useVANISH_STATE
-
VANISH_PREVENTS_TARGETING
@Deprecated public static final Key<Value<Boolean>> VANISH_PREVENTS_TARGETING
Deprecated.useVANISH_STATE
-
VEHICLE
public static final Key<Value<Entity>> VEHICLE
The vehicle anEntity
is riding.Vehicles may be nested as a vehicle might itself ride another entity. To get the vehicle on bottom, use
BASE_VEHICLE
.
-
VIEW_DISTANCE
public static final Key<Value<Integer>> VIEW_DISTANCE
The client view distance of aServerPlayer
. Read-only.This value represents the radius (around the player) in unit chunks.
-
VILLAGER_TYPE
public static final Key<Value<VillagerType>> VILLAGER_TYPE
The type of aVillager
orZombieVillager
.
-
WAIT_TIME
public static final Key<Value<Ticks>> WAIT_TIME
The duration in ticks after which anAreaEffectCloud
will begin to apply its effect to entities.
-
WILL_SHATTER
public static final Key<Value<Boolean>> WILL_SHATTER
Whether a thrownEyeOfEnder
will shatter.
-
WIRE_ATTACHMENTS
public static final Key<MapValue<Direction,WireAttachmentType>> WIRE_ATTACHMENTS
-
WIRE_ATTACHMENT_EAST
public static final Key<Value<WireAttachmentType>> WIRE_ATTACHMENT_EAST
TheWireAttachmentType
of aBlockTypes.REDSTONE_WIRE
BlockState
for its neighboring block to theDirection.EAST
.
-
WIRE_ATTACHMENT_NORTH
public static final Key<Value<WireAttachmentType>> WIRE_ATTACHMENT_NORTH
TheWireAttachmentType
of aBlockTypes.REDSTONE_WIRE
BlockState
for its neighboring block to theDirection.NORTH
.
-
WIRE_ATTACHMENT_SOUTH
public static final Key<Value<WireAttachmentType>> WIRE_ATTACHMENT_SOUTH
TheWireAttachmentType
of aBlockTypes.REDSTONE_WIRE
BlockState
for its neighboring block to theDirection.SOUTH
.
-
WIRE_ATTACHMENT_WEST
public static final Key<Value<WireAttachmentType>> WIRE_ATTACHMENT_WEST
TheWireAttachmentType
of aBlockTypes.REDSTONE_WIRE
BlockState
for its neighboring block to theDirection.WEST
.
-
-