Class Keys
- java.lang.Object
-
- org.spongepowered.api.data.Keys
-
public final class Keys extends java.lang.ObjectAn enumeration of knownKeys used throughout the API.
-
-
Field Summary
Fields Modifier and Type Field Description static Key<Value<java.lang.Double>>ABSORPTIONThePotionEffectTypes.ABSORPTIONamount of aLivingentity.static Key<Value<Vector3d>>ACCELERATIONThe acceleration of aDamagingProjectile.static Key<Value<ItemStackSnapshot>>ACTIVE_ITEMThe item aLivingentity is currently using.static Key<Value<java.lang.Boolean>>AFFECTS_SPAWNINGWhether aPlayers affects spawning.static Key<Value<java.lang.Integer>>AGEThe age (in ticks) of an entity.static Key<Value<Vector3d>>AIRBORNE_VELOCITY_MODIFIERstatic Key<Value<java.lang.Integer>>ANGER_LEVELThe anger level of aZombifiedPiglin.static Key<WeightedCollectionValue<PotionEffect>>APPLICABLE_POTION_EFFECTSThe set ofPotionEffects applied on use of anItemStack.static Key<ListValue<Enchantment>>APPLIED_ENCHANTMENTSThe enchantments applied to anItemStack.static Key<Value<ArmorMaterial>>ARMOR_MATERIALTheArmorMaterialof an armorItemStack.static Key<Value<ArtType>>ART_TYPEstatic Key<Value<AttachmentSurface>>ATTACHMENT_SURFACEThe attachmentAttachmentSurfaceof a button or leverBlockStatestatic Key<Value<java.lang.Double>>ATTACK_DAMAGEThe damage dealt by anArrowEntityon impact.static Key<Value<Ticks>>ATTACK_TIMEThe time of aRavageris considered attacking.static Key<Value<Component>>AUTHORThe author of aItemTypes.WRITTEN_BOOKItemStack.static Key<Value<Ticks>>AUTO_SPIN_ATTACK_TICKSRemaining ticks of the auto spin attack aLivingis doing.static Key<Value<Axis>>AXISTheAxisdirection of aBlockState.static Key<Value<Ticks>>BABY_TICKSThe ticks until aAgeableturns into an adult.static Key<ListValue<BannerPatternLayer>>BANNER_PATTERN_LAYERSTheBannerPatternLayers of aBanner.static Key<Value<java.lang.Double>>BASE_SIZEThe width of the physical form of anEntity.static Key<Value<Entity>>BASE_VEHICLEThe base vehicle a passenger is riding at the moment.static Key<Value<Living>>BEAM_TARGET_ENTITYThe target entity of aGuardianbeam.static Key<Value<java.lang.Double>>BIOME_TEMPERATUREThe default temperature of a biome at a specificServerLocation.static Key<Value<java.lang.Double>>BLAST_RESISTANCEThe blast resistance of aBlockState.static Key<Value<java.lang.Integer>>BLOCK_LIGHTThe amount of light that is emitted by the surrounding blocks at a blockServerLocation.static Key<Value<BlockState>>BLOCK_STATEstatic Key<Value<java.lang.Double>>BLOCK_TEMPERATUREThe temperature at a specificServerLocation.static Key<Value<BoatType>>BOAT_TYPEThe type of the boat.static Key<MapValue<BodyPart,Vector3d>>BODY_ROTATIONSThe rotation of specific body parts of aArmorStandorLiving.static Key<Value<BossBar>>BOSS_BARstatic Key<SetValue<BlockType>>BREAKABLE_BLOCK_TYPESstatic Key<Value<java.util.UUID>>BREEDERstatic Key<Value<Ticks>>BREEDING_COOLDOWNThe ticks until anAnimalcan breed again.static Key<Value<java.lang.Integer>>BURN_TIMEThe burntime of anItemStackfuel in a furnace.static Key<Value<java.lang.Boolean>>CAN_BREEDWhether anAnimalcan breed.static Key<Value<java.lang.Boolean>>CAN_DROP_AS_ITEMWhether aFallingBlockcan drop as an item.static Key<Value<java.lang.Boolean>>CAN_FLYWhether aHumanoidcan fly.static Key<Value<java.lang.Boolean>>CAN_GRIEFWhether aLivingentity may change blocks.static Key<SetValue<BlockType>>CAN_HARVESTstatic Key<Value<java.lang.Boolean>>CAN_HURT_ENTITIESWhether aFallingBlockwill damage anEntityit lands on.static Key<Value<java.lang.Boolean>>CAN_JOIN_RAIDWhether aRaidercan join a raid.static Key<Value<java.lang.Boolean>>CAN_MOVE_ON_LANDWhether aBoatcan move on land.static Key<Value<java.lang.Boolean>>CAN_PLACE_AS_BLOCKWhether aFallingBlockwill place itself upon landing.static Key<Value<java.lang.Integer>>CASTING_TIMEThe current casting time of aSpellcaster.static Key<Value<CatType>>CAT_TYPEThe type of aCat.static Key<Value<java.lang.Boolean>>CHAT_COLORS_ENABLEDWhether aServerPlayercan will see colours sent in messages.static Key<Value<ChatVisibility>>CHAT_VISIBILITYThe types of chat aServerPlayercan see.static Key<Value<ChestAttachmentType>>CHEST_ATTACHMENT_TYPEstatic Key<Value<Vector3d>>CHEST_ROTATIONThe rotation of theBodyParts.CHEST.static Key<Value<Color>>COLORstatic Key<Value<java.lang.String>>COMMANDA command stored in aCommandBlockorCommandBlockMinecart.static Key<Value<ComparatorMode>>COMPARATOR_MODEstatic Key<SetValue<Direction>>CONNECTED_DIRECTIONSThe connected directions of aBlockState.static Key<Value<ItemType>>CONTAINER_ITEMstatic Key<Value<Ticks>>COOLDOWNThe amount of ticks aHopperhas to wait before transferring the next item.static Key<Value<java.util.UUID>>CREATORThe creator, usually of anEntity.static Key<Value<SpellType>>CURRENT_SPELLThe currentSpellTypeaSpellcasteris casting.static Key<MapValue<EntityType<?>,java.lang.Double>>CUSTOM_ATTACK_DAMAGEThe damage dealt towards entities of a specificEntityTypeby aArrowEntity.static Key<Value<java.lang.Integer>>CUSTOM_MODEL_DATAThe resource pack model index of anItemStack.static Key<Value<Component>>CUSTOM_NAMEstatic Key<Value<java.lang.Double>>DAMAGE_ABSORPTIONThe damage absorbed by an armorItemStack.static Key<Value<java.lang.Double>>DAMAGE_PER_BLOCKHow much damage aFallingBlockdeals toLivingentities it hits per block fallen.static Key<Value<java.lang.Integer>>DECAY_DISTANCEThe distance at which aBlockStatewill decay.static Key<Value<Vector3d>>DERAILED_VELOCITY_MODIFIERstatic Key<Value<Ticks>>DESPAWN_DELAYstatic Key<Value<java.lang.Double>>DESTROY_SPEEDThe destroy speed of aBlockStatesBlockType.static Key<Value<Living>>DETONATORThe detonator of aPrimedTNT.static Key<Value<Direction>>DIRECTIONstatic Key<Value<Component>>DISPLAY_NAMEstatic Key<Value<java.lang.Boolean>>DO_EXACT_TELEPORTWhether exact teleport location should be used with aEndGateway.static Key<Value<HandPreference>>DOMINANT_HANDThe dominantHandPreferenceof anAgententity.static Key<Value<DoorHinge>>DOOR_HINGETheDoorHingeof a doorBlockState.static Key<Value<Ticks>>DURATIONThe remaining duration (in ticks) of anAreaEffectCloud.static Key<Value<Ticks>>DURATION_ON_USEThe amount of ticks the duration of anAreaEffectCloudis increased or reduced when it applies its effect.static Key<Value<DyeColor>>DYE_COLORstatic Key<Value<Ticks>>EATING_TIMEThe time aPandahas been eating (in ticks)static Key<Value<java.lang.Double>>EFFICIENCYThe efficiency of anItemStacktool.static Key<Value<Ticks>>EGG_TIMEThe time (in ticks) until aChickenlays anItemTypes.EGG.static Key<Value<Ticks>>END_GATEWAY_AGEThe age (in ticks) of anEndGatewaystatic Key<Value<EntityArchetype>>ENTITY_TO_SPAWNTheEntityArchetypeto spawn from any spawn egg, such as aItemTypes.ZOMBIE_SPAWN_EGGorItemTypes.CREEPER_SPAWN_EGG.static Key<Value<EntityType<?>>>ENTITY_TYPETheentity typeof a spawn egg, which may be one of several based onItemTypes.ZOMBIE_SPAWN_EGG, etc.static Key<Value<EquipmentType>>EQUIPMENT_TYPETheEquipmentTypethat the target inventory supports.static Key<Value<java.lang.Double>>EXHAUSTIONThe current level of exhaustion of aHumanoid.static Key<Value<java.lang.Integer>>EXPERIENCEThe amount of experience aPlayerhas or anExperienceOrbcontains.static Key<Value<java.lang.Integer>>EXPERIENCE_FROM_START_OF_LEVELThe total experience aPlayerrequires to advance from his current level to the next one.static Key<Value<java.lang.Integer>>EXPERIENCE_LEVELThe current level aPlayerhas.static Key<Value<java.lang.Integer>>EXPERIENCE_SINCE_LEVELThe amount of experience aPlayerhas collected towards the next level.static Key<Value<java.lang.Integer>>EXPLOSION_RADIUSstatic Key<Value<java.lang.Double>>EYE_HEIGHTThe eye height of anEntity.static Key<Value<Vector3d>>EYE_POSITIONThe eye position of anEntity.static Key<Value<java.lang.Double>>FALL_DISTANCEThe distance anEntityhas fallen.static Key<Value<Ticks>>FALL_TIMEThe amount of ticks aFallingBlockhas been falling for.static Key<Value<Ticks>>FIRE_DAMAGE_DELAYThe delay in ticks until theEntitywill be damaged by the fire.static Key<Value<Ticks>>FIRE_TICKSThe amount of ticks anEntityis still burning.static Key<ListValue<FireworkEffect>>FIREWORK_EFFECTSstatic Key<Value<Ticks>>FIREWORK_FLIGHT_MODIFIERThe flight duration of aFireworkRocketstatic Key<Value<FireworkShape>>FIREWORK_SHAPEstatic Key<Value<java.time.Instant>>FIRST_DATE_JOINEDThe time aUserfirst joined on the Server.static Key<Value<java.util.UUID>>FIRST_TRUSTEDstatic Key<Value<FluidStackSnapshot>>FLUID_ITEM_STACKTheFluidStackSnapshotcontained within an item container.static Key<Value<java.lang.Integer>>FLUID_LEVELThe fluid level of a liquidBlockState.static Key<MapValue<Direction,java.util.List<FluidStackSnapshot>>>FLUID_TANK_CONTENTSThe directional tank information.static Key<Value<java.lang.Double>>FLYING_SPEEDThe speed at which anPlayerflies.static Key<Value<java.lang.Integer>>FOOD_LEVELThe food level of aHumanoid.static Key<Value<FoxType>>FOX_TYPEThe type of aFox.static Key<Value<java.lang.Integer>>FUELRepresents theKeyfor the amount of fuel left in aBrewingStandorFurnaceBlockEntityorFurnaceMinecartstatic Key<Value<Ticks>>FUSE_DURATIONThe time (in ticks) aFusedExplosive's fuse will burn before the explosion.static Key<Value<GameMode>>GAME_MODETheGameModeaServerPlayerhas.static Key<Value<GameProfile>>GAME_PROFILEThe player represented by aBlockTypes.PLAYER_HEAD(andBlockTypes.PLAYER_WALL_HEAD)BlockStateor aItemTypes.PLAYER_HEADItemStack.static Key<Value<java.lang.Integer>>GENERATIONThe generation of aItemTypes.WRITTEN_BOOKItemStack.static Key<Value<java.lang.Integer>>GROWTH_STAGEThe "growth stage" state of aBlockState.static Key<Value<java.lang.Boolean>>HAS_ARMSWhether anArmorStand's arms are visible.static Key<Value<java.lang.Boolean>>HAS_BASE_PLATEWhether anArmorStandhas a visible base plate.static Key<Value<java.lang.Boolean>>HAS_CHESTWhether aPackHorsehas a chest.static Key<Value<java.lang.Boolean>>HAS_EGGWhether aTurtlecurrently has an egg.static Key<Value<java.lang.Boolean>>HAS_FISHWhether aDolphinhas a fish.static Key<Value<java.lang.Boolean>>HAS_MARKERWhether anArmorStandis a "marker" stand.static Key<Value<java.lang.Boolean>>HAS_PORES_DOWNWhether a giant mushroomBlockStatehas pores on theDirection.DOWNdirection.static Key<Value<java.lang.Boolean>>HAS_PORES_EASTWhether a giant mushroomBlockStatehas pores on theDirection.EASTdirection.static Key<Value<java.lang.Boolean>>HAS_PORES_NORTHWhether a giant mushroomBlockStatehas pores on theDirection.NORTHdirection.static Key<Value<java.lang.Boolean>>HAS_PORES_SOUTHWhether a giant mushroomBlockStatehas pores on theDirection.SOUTHdirection.static Key<Value<java.lang.Boolean>>HAS_PORES_UPWhether a giant mushroomBlockStatehas pores on theDirection.UPdirection.static Key<Value<java.lang.Boolean>>HAS_PORES_WESTWhether a giant mushroomBlockStatehas pores on theDirection.WESTdirection.static Key<Value<java.lang.Boolean>>HAS_VIEWED_CREDITSWhether a server player has viewed the credits.static Key<Value<Vector3d>>HEAD_ROTATIONThe rotation of aLiving's orArmorStand's head.static Key<Value<EndCrystal>>HEALING_CRYSTALTheEndCrystalcurrently healing anEnderDragon.static Key<Value<java.lang.Double>>HEALTHALiving's orEndCrystal's current health.static Key<Value<java.lang.Double>>HEALTH_SCALEThe value aServerPlayers max-health (excluding absorption) in the GUI will scale to.static Key<Value<java.lang.Double>>HEIGHTThe height of the physical form of anEntity.static Key<Value<ItemType>>HELD_ITEMTheItemTypeaBlockStaterepresents.static Key<Value<PandaGene>>HIDDEN_GENEstatic Key<Value<java.lang.Boolean>>HIDE_ATTRIBUTESWhether the attributes of anItemStackare hidden.static Key<Value<java.lang.Boolean>>HIDE_CAN_DESTROYWhether theBREAKABLE_BLOCK_TYPESof anItemStackare hidden.static Key<Value<java.lang.Boolean>>HIDE_CAN_PLACEWhether thePLACEABLE_BLOCK_TYPESof anItemStackare hidden.static Key<Value<java.lang.Boolean>>HIDE_ENCHANTMENTSWhether theAPPLIED_ENCHANTMENTSof anItemStackare hidden.static Key<Value<java.lang.Boolean>>HIDE_MISCELLANEOUSWhether miscellaneous values of anItemStackare hidden.static Key<Value<java.lang.Boolean>>HIDE_UNBREAKABLEWhetherIS_UNBREAKABLEstate of anItemStackis hidden.static Key<Value<Vector3i>>HOME_POSITIONstatic Key<Value<HorseColor>>HORSE_COLORTheHorseColorof aHorse.static Key<Value<HorseStyle>>HORSE_STYLETheHorseStyleof aHorse.static Key<Value<java.lang.Boolean>>IN_WALLWhether a fence gateBlockStateis in a wall.static Key<Value<java.lang.Double>>INACCURACYThe inaccuracy of anItemStackthat launchesProjectiles.static Key<Value<java.lang.Boolean>>INFINITE_DESPAWN_DELAYWhether anItemwill not despawn for an infinite time.static Key<Value<java.lang.Boolean>>INFINITE_PICKUP_DELAYWhether anItemhas an infinite pickup delay.static Key<Value<InstrumentType>>INSTRUMENT_TYPEstatic Key<Value<java.lang.Boolean>>INVERTEDWhether aBlockTypes.DAYLIGHT_DETECTORBlockStateis inverted.static Key<Value<Ticks>>INVULNERABILITY_TICKSThe amount of ticks anEntitywill remain invulnerable for.static Key<Value<java.lang.Boolean>>INVULNERABLEWhether anEntityis invulnerable.static Key<Value<java.lang.Boolean>>IS_ADULTWhether anAgeableis considered an adult.static Key<Value<java.lang.Boolean>>IS_AFLAMEWhether aBlazeis currently burning.static Key<Value<java.lang.Boolean>>IS_AI_ENABLEDWhether anAgents AI is enabled.static Key<Value<java.lang.Boolean>>IS_ANGRYWhether an entity is currently aggressive.static Key<Value<java.lang.Boolean>>IS_ATTACHEDWhether aBlockStateis "attached" to another block.static Key<Value<java.lang.Boolean>>IS_AUTO_SPIN_ATTACKWhether aLivingis doing an auto spin attack (doable with theEnchantmentTypes.RIPTIDEenchantment.)static Key<Value<java.lang.Boolean>>IS_BEGGING_FOR_FOODWhether an entity is begging for food.static Key<Value<java.lang.Boolean>>IS_CELEBRATINGWhetherRaiders are currently celebrating.static Key<Value<java.lang.Boolean>>IS_CHARGEDWhether aCreeperis charged.static Key<Value<java.lang.Boolean>>IS_CHARGING_CROSSBOWWhether aPillageris charging it's crossbow.static Key<Value<java.lang.Boolean>>IS_CLIMBINGWhether aSpideris currently climbing.static Key<Value<java.lang.Boolean>>IS_CONNECTED_EASTWhether aBlockStateis connected to theDirection.EAST.static Key<Value<java.lang.Boolean>>IS_CONNECTED_NORTHWhether aBlockStateis connected to theDirection.NORTH.static Key<Value<java.lang.Boolean>>IS_CONNECTED_SOUTHWhether aBlockStateis connected to theDirection.SOUTH.static Key<Value<java.lang.Boolean>>IS_CONNECTED_UPWhether aBlockStateis connected to theDirection.UP.static Key<Value<java.lang.Boolean>>IS_CONNECTED_WESTWhether aBlockStateis connected to theDirection.WEST.static Key<Value<java.lang.Boolean>>IS_CRITICAL_HITWhether anArrowwill cause a critical hit.static Key<Value<java.lang.Boolean>>IS_CROUCHINGWhether aFoxis currently crouching.static Key<Value<java.lang.Boolean>>IS_CUSTOM_NAME_VISIBLEWhether a custom name is visible on anEntity.static Key<Value<java.lang.Boolean>>IS_DEFENDINGWhether aFoxis currently defending.static Key<Value<java.lang.Boolean>>IS_DISARMEDWhether aBlockStateis disarmed.static Key<Value<java.lang.Boolean>>IS_EATINGWhether an entity is eating.static Key<Value<java.lang.Boolean>>IS_EFFECT_ONLYstatic Key<Value<java.lang.Boolean>>IS_ELYTRA_FLYINGWhether aPlayeris flying with anItemTypes.ELYTRA.static Key<Value<java.lang.Boolean>>IS_EXTENDEDWhether a pistonBlockStateis currently extended.static Key<Value<java.lang.Boolean>>IS_FACEPLANTEDWhether aFoxis currently faceplanted.static Key<Value<java.lang.Boolean>>IS_FILLEDWhether aBlockStateis filled.static Key<Value<java.lang.Boolean>>IS_FLAMMABLEWhether aBlockStateis flammable.static Key<Value<java.lang.Boolean>>IS_FLYINGWhether anEntityis flying.static Key<Value<java.lang.Boolean>>IS_FRIGHTENEDWhether an entity is frightened.static Key<Value<java.lang.Boolean>>IS_FULL_BLOCKWhether the block at theServerLocationis a full block.static Key<Value<java.lang.Boolean>>IS_GLOWINGWhether anEntityhas a glowing outline.static Key<Value<java.lang.Boolean>>IS_GOING_HOMEWhetherTurtleis proceeding to it'shome position.static Key<Value<java.lang.Boolean>>IS_GRAVITY_AFFECTEDWhether something is affected by gravity.static Key<Value<java.lang.Boolean>>IS_HANGINGWhether a lantern block is hanging.static Key<Value<java.lang.Boolean>>IS_HISSINGWhether aCatis hissing.static Key<Value<java.lang.Boolean>>IS_IMMOBILIZEDWhether aRavageris immobilized.static Key<Value<java.lang.Boolean>>IS_IN_WATERWhether aBoatis currently inBlockTypes.WATER.static Key<Value<java.lang.Boolean>>IS_INDIRECTLY_POWEREDWhether aServerLocationis indirectly powered.static Key<Value<java.lang.Boolean>>IS_INTERESTEDWhether aFoxis currently interested in something.static Key<Value<java.lang.Boolean>>IS_INVISIBLEWhether anEntityis currently invisible.static Key<Value<java.lang.Boolean>>IS_JOHNNYWhether aVindicatoris exhibiting "johnny" behavior.static Key<Value<java.lang.Boolean>>IS_LAYING_EGGWhether aTurtleis currently digging to lay an egg.static Key<Value<java.lang.Boolean>>IS_LEADERWhether aPatrolleris the leader.static Key<Value<java.lang.Boolean>>IS_LITWhether aBlockStateis lit.static Key<Value<java.lang.Boolean>>IS_LYING_DOWNWhether aCatis lying down.static Key<Value<java.lang.Boolean>>IS_LYING_ON_BACKWhether aPandais lying on it's back.static Key<Value<java.lang.Boolean>>IS_OCCUPIEDWhether a bedBlockStateis occupied.static Key<Value<java.lang.Boolean>>IS_ON_RAILWhether aMinecartis on it's rail Readonlystatic Key<Value<java.lang.Boolean>>IS_OPENWhether a door/fencegate/trapdoorBlockStateis open.static Key<Value<java.lang.Boolean>>IS_PASSABLEWhether aBlockStateis passable (can be walked through).static Key<Value<java.lang.Boolean>>IS_PATROLLINGWhether aPatrolleris currently patrolling.static Key<Value<java.lang.Boolean>>IS_PERSISTENTWhether anEntityor leavesBlockStatewill be prevented from despawning/decaying.static Key<MapValue<EquipmentType,java.lang.Boolean>>IS_PLACING_DISABLEDWhether players are prevented from placing items from an equipment slot on anArmorStandstatic Key<Value<java.lang.Boolean>>IS_PLAYER_CREATEDstatic Key<Value<java.lang.Boolean>>IS_POUNCINGWhether aFoxis currently pouncing.static Key<Value<java.lang.Boolean>>IS_POWEREDWhether aBlockStateis powered.static Key<Value<java.lang.Boolean>>IS_PRIMEDWhether aFusedExplosiveis currently primed.static Key<Value<java.lang.Boolean>>IS_PURRINGWhether aCatis purring.static Key<Value<java.lang.Boolean>>IS_RELAXEDWhether aCatis relaxed.static Key<Value<java.lang.Boolean>>IS_REPLACEABLEWhether aBlockStatecan be replaced by a player without breaking it first.static Key<Value<java.lang.Boolean>>IS_ROARINGWhether aRavageris roaring.static Key<Value<java.lang.Boolean>>IS_ROLLING_AROUNDWhether aPandais rolling around.static Key<Value<java.lang.Boolean>>IS_SADDLEDWhether an entity is saddled.static Key<Value<java.lang.Boolean>>IS_SCREAMINGWhether anEndermanis screaming.static Key<Value<java.lang.Boolean>>IS_SHEAREDWhether aSheepis sheared.static Key<Value<java.lang.Boolean>>IS_SILENTWhether anEntityis silent.static Key<Value<java.lang.Boolean>>IS_SITTINGstatic Key<Value<java.lang.Boolean>>IS_SLEEPINGstatic Key<Value<java.lang.Boolean>>IS_SLEEPING_IGNOREDWhether aPlayer'ssleeping status is ignored when checking whether to skip the night due to players sleeping.static Key<Value<java.lang.Boolean>>IS_SMALLWhether anArmorStandis small.static Key<Value<java.lang.Boolean>>IS_SNEAKINGWhether anEntityis sneaking.static Key<Value<java.lang.Boolean>>IS_SNEEZINGWhether aPandais sneezing.static Key<Value<java.lang.Boolean>>IS_SNOWYWhether aBlockTypes.DIRTBlockStateis snowy.static Key<Value<java.lang.Boolean>>IS_SOLIDWhether aBlockStateis solid.static Key<Value<java.lang.Boolean>>IS_SPRINTINGWhether anEntityis sprinting.static Key<Value<java.lang.Boolean>>IS_STANDINGWhether aPolarBearis currently standing.static Key<Value<java.lang.Boolean>>IS_STUNNEDWhether aRavageris stunned.static Key<Value<java.lang.Boolean>>IS_SURROGATE_BLOCKWhether aBlockStateis 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,java.lang.Boolean>>IS_TAKING_DISABLEDWhether players are prevented from taking items from an equipment slot on anArmorStandstatic Key<Value<java.lang.Boolean>>IS_TAMEDWhether aTameableAnimalis currently tamedstatic Key<Value<java.lang.Boolean>>IS_TRADINGstatic Key<Value<java.lang.Boolean>>IS_TRAVELINGWhether aTurtleis currently traveling.static Key<Value<java.lang.Boolean>>IS_TRUSTINGstatic Key<Value<java.lang.Boolean>>IS_UNBREAKABLEWhether anItemStackorBlockStateis unbreakable.static Key<Value<java.lang.Boolean>>IS_UNHAPPYWhether aPandais unhappy.static Key<Value<java.lang.Boolean>>IS_WATERLOGGEDWhehter aBlockStateis waterlogged.static Key<Value<java.lang.Boolean>>IS_WETstatic Key<Value<java.lang.Integer>>ITEM_DURABILITYThe durability of anItemStack.static Key<Value<ItemRarity>>ITEM_RARITYThe rarity of an item.static Key<Value<ItemStackSnapshot>>ITEM_STACK_SNAPSHOTstatic Key<Value<java.lang.Double>>KNOCKBACK_STRENGTHThe knockback strength applied by anArrowEntity.static Key<Value<PandaGene>>KNOWN_GENEstatic Key<Value<Entity>>LAST_ATTACKERstatic Key<Value<Component>>LAST_COMMAND_OUTPUTThe output yielded by the last command of aCommandBlockorCommandBlockMinecart.static Key<Value<java.lang.Double>>LAST_DAMAGE_RECEIVEDThe last damage aLivingreceived.static Key<Value<java.time.Instant>>LAST_DATE_JOINEDThe last time aUserjoined on the server.static Key<Value<java.time.Instant>>LAST_DATE_PLAYEDThe last time aUserhas been playing on the server.static Key<Value<java.lang.Integer>>LAYERThe amount of layers aBlockStatehas.static Key<Value<Entity>>LEASH_HOLDERThe holder of a leashedAgente.g.static Key<Value<Vector3d>>LEFT_ARM_ROTATIONThe rotation of anArmorStand's left arm.static Key<Value<Vector3d>>LEFT_LEG_ROTATIONThe rotation of anArmorStand's left leg.static Key<Value<Ticks>>LIFE_TICKSThe amount of ticks till aVexstarts taking damage due to living too long.static Key<Value<java.lang.Integer>>LIGHT_EMISSIONThe amount of light that emitted by aBlockState.static Key<Value<LlamaType>>LLAMA_TYPEstatic Key<Value<java.util.Locale>>LOCALEAServerPlayer's client language.static Key<Value<java.lang.String>>LOCK_TOKENThe token used to lock aCarrierBlockEntity.static Key<Value<ServerLocation>>LODESTONEA lodestone location, used withItemTypes.COMPASS.static Key<ListValue<Component>>LOREThe displayed description ("lore") text of anItemStack.static Key<Value<MapCanvas>>MAP_CANVASstatic Key<SetValue<MapDecoration>>MAP_DECORATIONSstatic Key<Value<MapInfo>>MAP_INFOstatic Key<Value<Vector2i>>MAP_LOCATIONstatic Key<Value<java.lang.Boolean>>MAP_LOCKEDstatic Key<Value<java.lang.Integer>>MAP_SCALEstatic Key<Value<java.lang.Boolean>>MAP_TRACKS_PLAYERSstatic Key<Value<java.lang.Boolean>>MAP_UNLIMITED_TRACKINGstatic Key<Value<ResourceKey>>MAP_WORLDstatic Key<Value<MatterType>>MATTER_TYPEThe matter state of aBlockStateReadonlystatic Key<Value<java.lang.Integer>>MAX_AIRThe maximum air supply aLivingmay have.static Key<Value<Ticks>>MAX_BURN_TIMEThe maximum amount of ticks aFurnaceBlockEntitycan burn with the currently used fuel item.static Key<Value<Ticks>>MAX_COOK_TIMEThe total time the currentItemStackin aFurnaceBlockEntityhas to be cooked.static Key<Value<java.lang.Integer>>MAX_DURABILITYThe maximum durability of anItemStack.static Key<Value<java.lang.Double>>MAX_EXHAUSTIONThe maximum exhuastion of aHumanoid.static Key<Value<java.lang.Double>>MAX_FALL_DAMAGEThe maximum damage aFallingBlockcan deal.static Key<Value<java.lang.Integer>>MAX_FOOD_LEVELThe maximum food level of aHumanoid.static Key<Value<java.lang.Double>>MAX_HEALTHThe maximum health of aLiving.static Key<Value<java.lang.Integer>>MAX_NEARBY_ENTITIESThe maximum number of entities around aMobSpawner.static Key<Value<java.lang.Double>>MAX_SATURATIONThe maximum saturation of aHumanoid.static Key<Value<Ticks>>MAX_SPAWN_DELAYThe maximum amount of ticks between two batches of entities spawned by aMobSpawner.static Key<Value<java.lang.Double>>MAX_SPEEDThe max speed of aBoat.static Key<Value<java.lang.Integer>>MAX_STACK_SIZEThe maximum stack size of slots in an inventory.static Key<Value<Ticks>>MIN_SPAWN_DELAYThe minimum amount of ticks between two batches of entities spawned by aMobSpawner.static Key<Value<java.lang.Integer>>MINECART_BLOCK_OFFSETThe represented block's offset of aMinecartLike.static Key<Value<java.lang.Integer>>MOISTUREThe moisture value of aBlockTypes.FARMLANDBlockState.static Key<Value<MooshroomType>>MOOSHROOM_TYPEThe type of aMooshroom.static Key<Value<MusicDisc>>MUSIC_DISCstatic Key<Value<WeightedSerializableObject<EntityArchetype>>>NEXT_ENTITY_TO_SPAWNThe next entity that will be spawned by aMobSpawner.static Key<Value<NotePitch>>NOTE_PITCHThe pitch of aBlockTypes.NOTE_BLOCKBlockState.static Key<Value<java.util.UUID>>NOTIFIERThe notifier, usually of anEntity.static Key<Value<java.lang.Double>>OCCUPIED_DECELERATIONThe deceleration aBoatwhile it hasPASSENGERS.static Key<Value<java.lang.Boolean>>ON_GROUNDWhether anEntityis currently considered to be on the ground.static Key<Value<Orientation>>ORIENTATIONTheOrientationof anItemFrame.static Key<ListValue<Component>>PAGESThe content of aItemTypes.WRITTEN_BOOKItemStack.static Key<Value<ParrotType>>PARROT_TYPEstatic Key<Value<ParticleEffect>>PARTICLE_EFFECTThe particle type of anAreaEffectCloud.static Key<Value<Ticks>>PASSED_COOK_TIMEThe amount of ticks aFurnaceBlockEntityhas been cooking the current item for.static Key<ListValue<Entity>>PASSENGERSThe entities that act as passengers for anEntity.static Key<Value<DyeColor>>PATTERN_COLORATropicalFish's pattern color.static Key<Value<PhantomPhase>>PHANTOM_PHASEstatic Key<Value<Ticks>>PICKUP_DELAYThe pickup delay (in ticks) of anItem.static Key<Value<PickupRule>>PICKUP_RULEThePickupRuleof anArrowEntity.static Key<Value<PistonType>>PISTON_TYPEThe piston type of a pistonBlockStateTODO dataholderPiston.static Key<SetValue<BlockType>>PLACEABLE_BLOCK_TYPESThe block types anItemStackmay be placed on.static Key<ListValue<java.lang.String>>PLAIN_PAGESThe content of aItemTypes.WRITABLE_BOOKItemStack.static Key<Value<org.spongepowered.plugin.PluginContainer>>PLUGIN_CONTAINERThe plugin that created anInventorystatic Key<SetValue<Direction>>PORESstatic Key<Value<PortionType>>PORTION_TYPEThePortionTypeof aBlockState.static Key<Value<java.lang.Double>>POTENTIAL_MAX_SPEEDThe potential max speed of aMinecart.static Key<ListValue<PotionEffect>>POTION_EFFECTSThe potion effects that are present on anEntitystatic Key<Value<PotionType>>POTION_TYPEThe potion type of anItemStack.static Key<Value<java.lang.Integer>>POWERThe signal power of aBlockState.static Key<Value<GameMode>>PREVIOUS_GAME_MODEThe previousGameModeof aServerPlayer.static Key<Value<PotionEffectType>>PRIMARY_POTION_EFFECT_TYPEABeacon's primary effect.static Key<Value<java.lang.Integer>>PROFESSION_LEVELstatic Key<Value<ProfessionType>>PROFESSION_TYPEstatic Key<Value<RabbitType>>RABBIT_TYPEThe type of aRabbit.static Key<Value<java.lang.Double>>RADIUSThe radius of anAreaEffectCloud.static Key<Value<java.lang.Double>>RADIUS_ON_USEThe amount the radius of anAreaEffectCloudgrows or shrinks each time it applies its effect.static Key<Value<java.lang.Double>>RADIUS_PER_TICKThe amount the radius of anAreaEffectCloudgrows or shrinks per tick.static Key<Value<RaidWave>>RAID_WAVEThe wave number of a raid aRaideris in.static Key<Value<RailDirection>>RAIL_DIRECTIONTheRailDirectionof aBlockState.static Key<Value<Ticks>>REAPPLICATION_DELAYThe delay (in ticks) after which anAreaEffectCloudwill reapply its effect on a previously affectedEntity.static Key<Value<java.lang.Integer>>REDSTONE_DELAYThe redstone delay on aBlockTypes.REPEATERBlockState.static Key<Value<java.lang.Integer>>REMAINING_AIRThe amount of air aLivinghas left.static Key<Value<Ticks>>REMAINING_BREW_TIMEThe remaining amount of ticks the current brewing process of aBrewingStandwill take.static Key<Value<Ticks>>REMAINING_SPAWN_DELAYRepresents theKeyfor the remaining number of ticks to pass before another attempt to spawn entities is made by aMobSpawner.static Key<Value<java.lang.Integer>>REPLENISHED_FOODThe amount of food a foodItemStackrestores when eaten.static Key<Value<java.lang.Double>>REPLENISHED_SATURATIONThe amount of saturation a foodItemStackprovides when eaten.static Key<Value<InstrumentType>>REPRESENTED_INSTRUMENTstatic Key<Value<java.lang.Double>>REQUIRED_PLAYER_RANGEHow close aPlayerhas to be around theMobSpawnerin order for it to attempt to spawn entities.static Key<MapValue<ResourceKey,RespawnLocation>>RESPAWN_LOCATIONSThe spawn locations aPlayermay have for various worlds based onUUIDof the world.static Key<Value<Vector3d>>RIGHT_ARM_ROTATIONThe rotation of anArmorStand's right arm.static Key<Value<Vector3d>>RIGHT_LEG_ROTATIONThe rotation of anArmorStand's right leg.static Key<Value<Ticks>>ROARING_TIMEThe time aRavageris roaring.static Key<Value<java.lang.Double>>SATURATIONThe current saturation of aPlayer.static Key<Value<java.lang.Double>>SCALEThe "scale" for the size of anEntity.static Key<SetValue<java.lang.String>>SCOREBOARD_TAGSThe scoreboard tags applied to anEntity.static Key<Value<java.util.UUID>>SECOND_TRUSTEDstatic Key<Value<PotionEffectType>>SECONDARY_POTION_EFFECT_TYPEABeacon's secondary effect.static Key<Value<ProjectileSource>>SHOOTERThe shooter of aProjectile.static Key<Value<java.lang.Boolean>>SHOW_BOTTOMWhether aEndCrystalshould show it's bottom bedrock platform.static Key<ListValue<Component>>SIGN_LINESThe lines displayed on aSign.static Key<Value<java.lang.Integer>>SIZEThe size of aSlime.static Key<Value<java.lang.Integer>>SKIN_MOISTUREThe "moisture" state of aDolphin.static Key<SetValue<SkinPart>>SKIN_PARTSThe parts of aServerPlayerskin that should be displayed.static Key<Value<ProfileProperty>>SKIN_PROFILE_PROPERTYThe skin of aHumanoid.static Key<Value<java.lang.Integer>>SKY_LIGHTThe skylight value at aServerLocation.static Key<Value<SlabPortion>>SLAB_PORTIONTheSlabPortionof aBlockState.static Key<Value<java.lang.Integer>>SLEEP_TIMERThe sleep timer of aPlayer.static Key<Value<java.lang.Integer>>SLOT_INDEXstatic Key<Value<Vector2i>>SLOT_POSITIONThe position of aSlotwithin aGridInventory.static Key<Value<Direction>>SLOT_SIDEThe side of a particularSlot, for use in querying "sided inventories".static Key<Value<java.lang.Boolean>>SLOWS_UNOCCUPIEDWhether aMinecartslows down when it has noPASSENGERS.static Key<Value<Ticks>>SNEEZING_TIMEThe time aPandahas been sneezing (in ticks)static Key<Value<java.lang.Integer>>SPAWN_COUNTHow many entities aMobSpawnerhas spawned so far.static Key<Value<java.lang.Double>>SPAWN_RANGEHow far away from theMobSpawnerthe entities spawned by it may appear.static Key<WeightedCollectionValue<EntityArchetype>>SPAWNABLE_ENTITIESThe list ofEntityArchetypes able to be spawned by aMobSpawner.static Key<Value<Entity>>SPECTATOR_TARGETstatic Key<Value<StairShape>>STAIR_SHAPETheStairShapeof aBlockState.static Key<MapValue<Statistic,java.lang.Long>>STATISTICSstatic Key<ListValue<Enchantment>>STORED_ENCHANTMENTSThe enchantments stored on anItemStack.static Key<Value<java.lang.Integer>>STRENGTHALlamas carrying strength.static Key<Value<java.lang.String>>STRUCTURE_AUTHORThe author of a structure from aStructureBlock.static Key<Value<java.lang.Boolean>>STRUCTURE_IGNORE_ENTITIESWhether aStructureBlockshould ignore entities when saving a structure.static Key<Value<java.lang.Double>>STRUCTURE_INTEGRITYThe integrity of aStructureBlock.static Key<Value<StructureMode>>STRUCTURE_MODEThe mode of aStructureBlock.static Key<Value<Vector3i>>STRUCTURE_POSITIONThe position of aStructureBlock.static Key<Value<java.lang.Boolean>>STRUCTURE_POWEREDWhether aStructureBlockis powered.static Key<Value<java.lang.Long>>STRUCTURE_SEEDThe seed of aStructureBlockstatic Key<Value<java.lang.Boolean>>STRUCTURE_SHOW_AIRWhether aStructureBlockshould make allBlockTypes.AIR,BlockTypes.CAVE_AIR,BlockTypes.STRUCTURE_VOIDvisible.static Key<Value<java.lang.Boolean>>STRUCTURE_SHOW_BOUNDING_BOXWhether aStructureBlockshows the bounding box.static Key<Value<Vector3i>>STRUCTURE_SIZEThe size of aStructureBlocks structure.static Key<Value<java.lang.Integer>>STUCK_ARROWSThe amount of "stuck arrows" in aLiving.static Key<Value<Ticks>>STUNNED_TIMEThe time (in ticks) aRavageris stunned.static Key<Value<java.lang.Integer>>SUCCESS_COUNTThe amount of successful executions of a command stored in aCommandBlockorCommandBlockMinecart.static Key<Value<java.lang.Boolean>>SUSPENDEDWhether aBlockStateis suspended.static Key<Value<java.lang.Double>>SWIFTNESSThe swiftness of anEntitye.g.static Key<Value<java.util.UUID>>TAMERThe tamer of aTameableAnimalorHorseLike.static Key<Value<Entity>>TARGET_ENTITYThe targeted entity either by anAgentand it'sGoalExecutorTypes.TARGETselector or by aFishingBobberorShulkerBullet.static Key<Value<Vector3d>>TARGET_LOCATIONA target location.static Key<Value<Vector3i>>TARGET_POSITIONA target block position.static Key<Value<Ticks>>TICKS_REMAININGThe remaining fuse time in ticks of aFusedExplosive.static Key<Value<ItemTier>>TOOL_TYPEstatic Key<Value<java.lang.Boolean>>TRACKS_OUTPUTWhether aCommandBlockdoes track its output.static Key<ListValue<TradeOffer>>TRADE_OFFERSTheTradeOffers offered by aTrader.static Key<Value<java.lang.Boolean>>TRANSIENTWhether anEntityis transient.static Key<Value<TropicalFishShape>>TROPICAL_FISH_SHAPEATropicalFish's shape.static Key<Value<Ticks>>UNHAPPY_TIMEThe time aPandahas been unhappy (in ticks)static Key<Value<java.util.UUID>>UNIQUE_IDTheUUIDof a custom inventory.static Key<Value<java.lang.Double>>UNOCCUPIED_DECELERATIONThe deceleration aBoatwhile it does not havePASSENGERS.static Key<Value<java.lang.Boolean>>UNSTABLEWhether aBlockTypes.TNTBlockStateis unstable.static Key<Value<java.lang.Boolean>>UPDATE_GAME_PROFILEWhether changes toSKIN_PROFILE_PROPERTYshould be reflected in an entitie'sGameProfile.static Key<Value<java.lang.Boolean>>VANISHDeprecated.useVANISH_STATEstatic Key<Value<java.lang.Boolean>>VANISH_IGNORES_COLLISIONDeprecated.useVANISH_STATEstatic Key<Value<java.lang.Boolean>>VANISH_PREVENTS_TARGETINGDeprecated.useVANISH_STATEstatic Key<Value<VanishState>>VANISH_STATETheVanishStateof anEntity.static Key<Value<Entity>>VEHICLEThe vehicle anEntityis riding.static Key<Value<Vector3d>>VELOCITYThe velocity of anEntity.static Key<Value<java.lang.Integer>>VIEW_DISTANCEThe client view distance of aServerPlayer.static Key<Value<VillagerType>>VILLAGER_TYPEThe type of aVillagerorZombieVillager.static Key<Value<Ticks>>WAIT_TIMEThe duration in ticks after which anAreaEffectCloudwill begin to apply its effect to entities.static Key<Value<java.lang.Double>>WALKING_SPEEDstatic Key<Value<java.lang.Boolean>>WILL_SHATTERWhether a thrownEyeOfEnderwill shatter.static Key<Value<WireAttachmentType>>WIRE_ATTACHMENT_EASTTheWireAttachmentTypeof aBlockTypes.REDSTONE_WIREBlockStatefor its neighboring block to theDirection.EAST.static Key<Value<WireAttachmentType>>WIRE_ATTACHMENT_NORTHTheWireAttachmentTypeof aBlockTypes.REDSTONE_WIREBlockStatefor its neighboring block to theDirection.NORTH.static Key<Value<WireAttachmentType>>WIRE_ATTACHMENT_SOUTHTheWireAttachmentTypeof aBlockTypes.REDSTONE_WIREBlockStatefor its neighboring block to theDirection.SOUTH.static Key<Value<WireAttachmentType>>WIRE_ATTACHMENT_WESTTheWireAttachmentTypeof aBlockTypes.REDSTONE_WIREBlockStatefor its neighboring block to theDirection.WEST.static Key<MapValue<Direction,WireAttachmentType>>WIRE_ATTACHMENTSstatic Key<ListValue<Entity>>WITHER_TARGETSThe entities targeted by the threeWitherheads.static Key<Value<Sheep>>WOLOLO_TARGET
-
-
-
Field Detail
-
ABSORPTION
public static final Key<Value<java.lang.Double>> ABSORPTION
ThePotionEffectTypes.ABSORPTIONamount of aLivingentity.
-
ACCELERATION
public static final Key<Value<Vector3d>> ACCELERATION
The acceleration of aDamagingProjectile.
-
ACTIVE_ITEM
public static final Key<Value<ItemStackSnapshot>> ACTIVE_ITEM
The item aLivingentity 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<java.lang.Boolean>> AFFECTS_SPAWNING
Whether aPlayers affects spawning.A
Playerwho does not affect spawning will be treated as a spectator in regards to spawning. AMobSpawnerwill 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<java.lang.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<java.lang.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 ofPotionEffects 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_BOOKs) use theSTORED_ENCHANTMENTSkey instead.)
-
ARMOR_MATERIAL
public static final Key<Value<ArmorMaterial>> ARMOR_MATERIAL
TheArmorMaterialof an armorItemStack. Readonly
-
ATTACHMENT_SURFACE
public static final Key<Value<AttachmentSurface>> ATTACHMENT_SURFACE
The attachmentAttachmentSurfaceof a button or leverBlockState
-
ATTACK_DAMAGE
public static final Key<Value<java.lang.Double>> ATTACK_DAMAGE
The damage dealt by anArrowEntityon impact.
-
ATTACK_TIME
public static final Key<Value<Ticks>> ATTACK_TIME
The time of aRavageris considered attacking.
-
AUTO_SPIN_ATTACK_TICKS
public static final Key<Value<Ticks>> AUTO_SPIN_ATTACK_TICKS
Remaining ticks of the auto spin attack aLivingis doing.- See Also:
IS_AUTO_SPIN_ATTACK
-
AUTHOR
public static final Key<Value<Component>> AUTHOR
The author of aItemTypes.WRITTEN_BOOKItemStack.
-
AXIS
public static final Key<Value<Axis>> AXIS
TheAxisdirection of aBlockState.
-
BABY_TICKS
public static final Key<Value<Ticks>> BABY_TICKS
The ticks until aAgeableturns into an adult.
-
BANNER_PATTERN_LAYERS
public static final Key<ListValue<BannerPatternLayer>> BANNER_PATTERN_LAYERS
TheBannerPatternLayers of aBanner.
-
BEAM_TARGET_ENTITY
public static final Key<Value<Living>> BEAM_TARGET_ENTITY
The target entity of aGuardianbeam.
-
BIOME_TEMPERATURE
public static final Key<Value<java.lang.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<java.lang.Double>> BLAST_RESISTANCE
The blast resistance of aBlockState. Readonly
-
BLOCK_LIGHT
public static final Key<Value<java.lang.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<java.lang.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 aArmorStandorLiving.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<java.lang.Boolean>> CAN_BREED
Whether anAnimalcan breed. In Vanilla, animals can breed if theirBREEDING_COOLDOWNis equal to 0.
-
CAN_DROP_AS_ITEM
public static final Key<Value<java.lang.Boolean>> CAN_DROP_AS_ITEM
Whether aFallingBlockcan drop as an item.
-
CAN_GRIEF
public static final Key<Value<java.lang.Boolean>> CAN_GRIEF
Whether aLivingentity may change blocks. This mostly applies toEndermanorCreepers, but also to some projectiles likeFireballEntitys orWitherSkull.
-
CAN_HURT_ENTITIES
public static final Key<Value<java.lang.Boolean>> CAN_HURT_ENTITIES
Whether aFallingBlockwill damage anEntityit lands on.
-
CAN_JOIN_RAID
public static final Key<Value<java.lang.Boolean>> CAN_JOIN_RAID
Whether aRaidercan join a raid.
-
CAN_MOVE_ON_LAND
public static final Key<Value<java.lang.Boolean>> CAN_MOVE_ON_LAND
Whether aBoatcan move on land.
-
CAN_PLACE_AS_BLOCK
public static final Key<Value<java.lang.Boolean>> CAN_PLACE_AS_BLOCK
Whether aFallingBlockwill place itself upon landing.
-
CASTING_TIME
public static final Key<Value<java.lang.Integer>> CASTING_TIME
The current casting time of aSpellcaster.
-
CHAT_COLORS_ENABLED
public static final Key<Value<java.lang.Boolean>> CHAT_COLORS_ENABLED
Whether aServerPlayercan will see colours sent in messages.
-
CHAT_VISIBILITY
public static final Key<Value<ChatVisibility>> CHAT_VISIBILITY
The types of chat aServerPlayercan 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
TheColorof anItemStacke.g.
or anItemTypes.LEATHER_CHESTPLATEorItemTypes.POTIONcustom colorAreaEffectCloud.
-
COMMAND
public static final Key<Value<java.lang.String>> COMMAND
A command stored in aCommandBlockorCommandBlockMinecart.
-
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 containerItemTypeof anItemStack. e.g.ItemTypes.BUCKETfor aItemTypes.WATER_BUCKETstack. Readonly
-
COOLDOWN
public static final Key<Value<Ticks>> COOLDOWN
The amount of ticks aHopperhas to wait before transferring the next item. (in Vanilla this is 8 ticks) or The amount of ticks aEndGatewayhas to wait for the next teleportation.
-
CREATOR
public static final Key<Value<java.util.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 currentSpellTypeaSpellcasteris casting.
-
CUSTOM_ATTACK_DAMAGE
public static final Key<MapValue<EntityType<?>,java.lang.Double>> CUSTOM_ATTACK_DAMAGE
The damage dealt towards entities of a specificEntityTypeby aArrowEntity.Note that in events, the damage defined for the provided
EntityTypewill 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<java.lang.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,ItemStackorBlockEntity.If no custom name is set the dataholder may still have a
DISPLAY_NAME
-
DAMAGE_ABSORPTION
public static final Key<Value<java.lang.Double>> DAMAGE_ABSORPTION
The damage absorbed by an armorItemStack. Readonly
-
DAMAGE_PER_BLOCK
public static final Key<Value<java.lang.Double>> DAMAGE_PER_BLOCK
How much damage aFallingBlockdeals toLivingentities it hits per block fallen.This damage is capped by
MAX_FALL_DAMAGE.
-
DECAY_DISTANCE
public static final Key<Value<java.lang.Integer>> DECAY_DISTANCE
The distance at which aBlockStatewill 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,ItemStackorBlockEntity.To change a display name set a
CUSTOM_NAMEinstead.On an
Entity, this represents a combination ofCUSTOM_NAME(if set), scoreboard info, and any click data.On an
ItemStack, this represents theCUSTOM_NAMEor if not set theItemTypes translation.On a
BlockEntity, this usually represents the name displayed in itsContainer
-
DOMINANT_HAND
public static final Key<Value<HandPreference>> DOMINANT_HAND
The dominantHandPreferenceof anAgententity.NOTE: For
Players is this key read-only, theHandPreferenceof a player can not be changed server-side.
-
DOOR_HINGE
public static final Key<Value<DoorHinge>> DOOR_HINGE
TheDoorHingeof a doorBlockState.
-
DO_EXACT_TELEPORT
public static final Key<Value<java.lang.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 anAreaEffectCloudis increased or reduced when it applies its effect.
-
DYE_COLOR
public static final Key<Value<DyeColor>> DYE_COLOR
The color of a dyeableBlockState,ItemStackor entity likeCats. or The baseDyeColorof aBannerorTropicalFish.
-
EATING_TIME
public static final Key<Value<Ticks>> EATING_TIME
The time aPandahas been eating (in ticks)
-
EFFICIENCY
public static final Key<Value<java.lang.Double>> EFFICIENCY
The efficiency of anItemStacktool. Affects mining speed of supported materials.CAN_HARVESTReadonly
-
EGG_TIME
public static final Key<Value<Ticks>> EGG_TIME
The time (in ticks) until aChickenlays 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 typeof 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 thearchetypeby usingENTITY_TO_SPAWN.- See Also:
ENTITY_TO_SPAWN
-
ENTITY_TO_SPAWN
public static final Key<Value<EntityArchetype>> ENTITY_TO_SPAWN
TheEntityArchetypeto spawn from any spawn egg, such as aItemTypes.ZOMBIE_SPAWN_EGGorItemTypes.CREEPER_SPAWN_EGG.The
ENTITY_TYPEis not guaranteed to be the same as theEntityArchetype.type()returned, but the spawned entity will be based on theEntityArchetypereturned here.
-
EQUIPMENT_TYPE
public static final Key<Value<EquipmentType>> EQUIPMENT_TYPE
TheEquipmentTypethat the target inventory supports. This usually applies toEquipmentSlots. or TheEquipmentTypeof anItemStackReadonly
-
EXHAUSTION
public static final Key<Value<java.lang.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<java.lang.Integer>> EXPERIENCE
The amount of experience aPlayerhas or anExperienceOrbcontains.
-
EXPERIENCE_FROM_START_OF_LEVEL
public static final Key<Value<java.lang.Integer>> EXPERIENCE_FROM_START_OF_LEVEL
The total experience aPlayerrequires to advance from his current level to the next one. Readonly
-
EXPERIENCE_LEVEL
public static final Key<Value<java.lang.Integer>> EXPERIENCE_LEVEL
The current level aPlayerhas.
-
EXPERIENCE_SINCE_LEVEL
public static final Key<Value<java.lang.Integer>> EXPERIENCE_SINCE_LEVEL
The amount of experience aPlayerhas collected towards the next level.
-
EYE_HEIGHT
public static final Key<Value<java.lang.Double>> EYE_HEIGHT
The eye height of anEntity. Readonly
-
EYE_POSITION
public static final Key<Value<Vector3d>> EYE_POSITION
The eye position of anEntity. Readonly
-
FALL_DISTANCE
public static final Key<Value<java.lang.Double>> FALL_DISTANCE
The distance anEntityhas fallen.
-
FALL_TIME
public static final Key<Value<Ticks>> FALL_TIME
The amount of ticks aFallingBlockhas 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 aFireworkRocketThe 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 theEntitywill be damaged by the fire.
-
FIRE_TICKS
public static final Key<Value<Ticks>> FIRE_TICKS
The amount of ticks anEntityis still burning.
-
FIRST_DATE_JOINED
public static final Key<Value<java.time.Instant>> FIRST_DATE_JOINED
The time aUserfirst joined on the Server.
-
FLUID_ITEM_STACK
public static final Key<Value<FluidStackSnapshot>> FLUID_ITEM_STACK
TheFluidStackSnapshotcontained within an item container. Item containers may include buckets and other mod added items. SeeCONTAINER_ITEM
-
FLUID_LEVEL
public static final Key<Value<java.lang.Integer>> FLUID_LEVEL
The fluid level of a liquidBlockState.
-
FLUID_TANK_CONTENTS
public static final Key<MapValue<Direction,java.util.List<FluidStackSnapshot>>> FLUID_TANK_CONTENTS
The directional tank information. TODO dataholder? cauldron blockstate? modded?
-
FLYING_SPEED
public static final Key<Value<java.lang.Double>> FLYING_SPEED
The speed at which anPlayerflies.
-
FUEL
public static final Key<Value<java.lang.Integer>> FUEL
Represents theKeyfor the amount of fuel left in aBrewingStandorFurnaceBlockEntityorFurnaceMinecartOne
ItemTypes.BLAZE_POWDERadds 20 fuel to the brewing stand.The fuel value corresponds with the number of batches of potions that can be brewed.
See
BURN_TIMEfor the burn time added by a fuelItemStackto 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_MODE
public static final Key<Value<GameMode>> GAME_MODE
TheGameModeaServerPlayerhas.
-
GAME_PROFILE
public static final Key<Value<GameProfile>> GAME_PROFILE
The player represented by aBlockTypes.PLAYER_HEAD(andBlockTypes.PLAYER_WALL_HEAD)BlockStateor aItemTypes.PLAYER_HEADItemStack.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<java.lang.Integer>> GENERATION
The generation of aItemTypes.WRITTEN_BOOKItemStack. Depending on the book's generation it may be impossible to copy it.
-
HAS_ARMS
public static final Key<Value<java.lang.Boolean>> HAS_ARMS
Whether anArmorStand's arms are visible.
-
HAS_BASE_PLATE
public static final Key<Value<java.lang.Boolean>> HAS_BASE_PLATE
Whether anArmorStandhas a visible base plate.
-
HAS_CHEST
public static final Key<Value<java.lang.Boolean>> HAS_CHEST
Whether aPackHorsehas a chest.
-
HAS_EGG
public static final Key<Value<java.lang.Boolean>> HAS_EGG
Whether aTurtlecurrently has an egg.
-
HAS_FISH
public static final Key<Value<java.lang.Boolean>> HAS_FISH
Whether aDolphinhas 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<java.lang.Boolean>> HAS_MARKER
Whether anArmorStandis 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<java.lang.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
TheEndCrystalcurrently healing anEnderDragon.
-
HEALTH
public static final Key<Value<java.lang.Double>> HEALTH
ALiving's orEndCrystal's current health.The range of the health depends on the object on which this method is defined. For
Playersin 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<java.lang.Double>> HEALTH_SCALE
The value aServerPlayers 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
TheItemTypeaBlockStaterepresents. Readonly
-
HIDE_ATTRIBUTES
public static final Key<Value<java.lang.Boolean>> HIDE_ATTRIBUTES
Whether the attributes of anItemStackare hidden.
-
HIDE_CAN_DESTROY
public static final Key<Value<java.lang.Boolean>> HIDE_CAN_DESTROY
Whether theBREAKABLE_BLOCK_TYPESof anItemStackare hidden.
-
HIDE_CAN_PLACE
public static final Key<Value<java.lang.Boolean>> HIDE_CAN_PLACE
Whether thePLACEABLE_BLOCK_TYPESof anItemStackare hidden.
-
HIDE_ENCHANTMENTS
public static final Key<Value<java.lang.Boolean>> HIDE_ENCHANTMENTS
Whether theAPPLIED_ENCHANTMENTSof anItemStackare hidden.
-
HIDE_MISCELLANEOUS
public static final Key<Value<java.lang.Boolean>> HIDE_MISCELLANEOUS
Whether miscellaneous values of anItemStackare hidden. e.g. potion effects or shield pattern info
-
HIDE_UNBREAKABLE
public static final Key<Value<java.lang.Boolean>> HIDE_UNBREAKABLE
WhetherIS_UNBREAKABLEstate of anItemStackis hidden.
-
HORSE_COLOR
public static final Key<Value<HorseColor>> HORSE_COLOR
TheHorseColorof aHorse.
-
HORSE_STYLE
public static final Key<Value<HorseStyle>> HORSE_STYLE
TheHorseStyleof aHorse.
-
INACCURACY
public static final Key<Value<java.lang.Double>> INACCURACY
The inaccuracy of anItemStackthat launchesProjectiles.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<java.lang.Boolean>> INFINITE_DESPAWN_DELAY
Whether anItemwill not despawn for an infinite time.
-
INFINITE_PICKUP_DELAY
public static final Key<Value<java.lang.Boolean>> INFINITE_PICKUP_DELAY
Whether anItemhas an infinite pickup delay.
-
INSTRUMENT_TYPE
public static final Key<Value<InstrumentType>> INSTRUMENT_TYPE
-
INVERTED
public static final Key<Value<java.lang.Boolean>> INVERTED
Whether aBlockTypes.DAYLIGHT_DETECTORBlockStateis inverted.
-
INVULNERABILITY_TICKS
public static final Key<Value<Ticks>> INVULNERABILITY_TICKS
The amount of ticks anEntitywill remain invulnerable for.
-
INVULNERABLE
public static final Key<Value<java.lang.Boolean>> INVULNERABLE
Whether anEntityis 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<java.lang.Boolean>> IN_WALL
Whether a fence gateBlockStateis in a wall.
-
IS_ADULT
public static final Key<Value<java.lang.Boolean>> IS_ADULT
Whether anAgeableis considered an adult.
-
IS_AFLAME
public static final Key<Value<java.lang.Boolean>> IS_AFLAME
Whether aBlazeis currently burning.Unlike
FIRE_TICKS, the burning effect will not damage the burning entity.
-
IS_AI_ENABLED
public static final Key<Value<java.lang.Boolean>> IS_AI_ENABLED
Whether anAgents AI is enabled.
-
IS_ANGRY
public static final Key<Value<java.lang.Boolean>> IS_ANGRY
Whether an entity is currently aggressive. e.g.wolvesorZombifiedPiglin
-
IS_ATTACHED
public static final Key<Value<java.lang.Boolean>> IS_ATTACHED
Whether aBlockStateis "attached" to another block.
-
IS_AUTO_SPIN_ATTACK
public static final Key<Value<java.lang.Boolean>> IS_AUTO_SPIN_ATTACK
Whether aLivingis doing an auto spin attack (doable with theEnchantmentTypes.RIPTIDEenchantment.)- See Also:
AUTO_SPIN_ATTACK_TICKS
-
IS_CELEBRATING
public static final Key<Value<java.lang.Boolean>> IS_CELEBRATING
WhetherRaiders are currently celebrating.
-
IS_CHARGED
public static final Key<Value<java.lang.Boolean>> IS_CHARGED
Whether aCreeperis charged.
-
IS_CHARGING_CROSSBOW
public static final Key<Value<java.lang.Boolean>> IS_CHARGING_CROSSBOW
Whether aPillageris charging it's crossbow.
-
IS_CLIMBING
public static final Key<Value<java.lang.Boolean>> IS_CLIMBING
Whether aSpideris currently climbing.
-
IS_CRITICAL_HIT
public static final Key<Value<java.lang.Boolean>> IS_CRITICAL_HIT
Whether anArrowwill cause a critical hit.
-
IS_CROUCHING
public static final Key<Value<java.lang.Boolean>> IS_CROUCHING
Whether aFoxis currently crouching.
-
IS_CUSTOM_NAME_VISIBLE
public static final Key<Value<java.lang.Boolean>> IS_CUSTOM_NAME_VISIBLE
Whether a custom name is visible on anEntity.
-
IS_DEFENDING
public static final Key<Value<java.lang.Boolean>> IS_DEFENDING
Whether aFoxis currently defending.
-
IS_EATING
public static final Key<Value<java.lang.Boolean>> IS_EATING
Whether an entity is eating. e.g.Panda
-
IS_ELYTRA_FLYING
public static final Key<Value<java.lang.Boolean>> IS_ELYTRA_FLYING
Whether aPlayeris flying with anItemTypes.ELYTRA.
-
IS_EXTENDED
public static final Key<Value<java.lang.Boolean>> IS_EXTENDED
Whether a pistonBlockStateis currently extended. TODOPiston?
-
IS_FACEPLANTED
public static final Key<Value<java.lang.Boolean>> IS_FACEPLANTED
Whether aFoxis currently faceplanted.
-
IS_FILLED
public static final Key<Value<java.lang.Boolean>> IS_FILLED
Whether aBlockStateis filled.e.g.
BlockTypes.END_PORTAL_FRAMEs.
-
IS_FLAMMABLE
public static final Key<Value<java.lang.Boolean>> IS_FLAMMABLE
Whether aBlockStateis flammable. Readonly
-
IS_FRIGHTENED
public static final Key<Value<java.lang.Boolean>> IS_FRIGHTENED
Whether an entity is frightened.In vanilla,
Pandas that have aPanda.knownGene()ofPandaGenes.WORRIEDand are in aworldwhoseWeatherTypeis currently aWeatherTypes.THUNDERare considered "frightened".
-
IS_FULL_BLOCK
public static final Key<Value<java.lang.Boolean>> IS_FULL_BLOCK
Whether the block at theServerLocationis a full block.
-
IS_GLOWING
public static final Key<Value<java.lang.Boolean>> IS_GLOWING
Whether anEntityhas a glowing outline.
-
IS_GOING_HOME
public static final Key<Value<java.lang.Boolean>> IS_GOING_HOME
WhetherTurtleis proceeding to it'shome position.
-
IS_GRAVITY_AFFECTED
public static final Key<Value<java.lang.Boolean>> IS_GRAVITY_AFFECTED
Whether something is affected by gravity. e.g.Entitys andBlockStates Readonly(BlockState.class)
-
IS_HANGING
public static final Key<Value<java.lang.Boolean>> IS_HANGING
Whether a lantern block is hanging.
-
IS_IMMOBILIZED
public static final Key<Value<java.lang.Boolean>> IS_IMMOBILIZED
Whether aRavageris immobilized. Readonly
-
IS_INDIRECTLY_POWERED
public static final Key<Value<java.lang.Boolean>> IS_INDIRECTLY_POWERED
Whether aServerLocationis indirectly powered. Readonly
-
IS_INTERESTED
public static final Key<Value<java.lang.Boolean>> IS_INTERESTED
Whether aFoxis currently interested in something.
-
IS_INVISIBLE
public static final Key<Value<java.lang.Boolean>> IS_INVISIBLE
Whether anEntityis 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<java.lang.Boolean>> IS_IN_WATER
Whether aBoatis currently inBlockTypes.WATER. Readonly
-
IS_JOHNNY
public static final Key<Value<java.lang.Boolean>> IS_JOHNNY
Whether aVindicatoris exhibiting "johnny" behavior.
-
IS_LAYING_EGG
public static final Key<Value<java.lang.Boolean>> IS_LAYING_EGG
Whether aTurtleis currently digging to lay an egg.
-
IS_LEADER
public static final Key<Value<java.lang.Boolean>> IS_LEADER
Whether aPatrolleris the leader.
-
IS_LIT
public static final Key<Value<java.lang.Boolean>> IS_LIT
Whether aBlockStateis lit. e.g.BlockTypes.FURNACE,BlockTypes.CAMPFIREorBlockTypes.REDSTONE_TORCH.
-
IS_LYING_DOWN
public static final Key<Value<java.lang.Boolean>> IS_LYING_DOWN
Whether aCatis 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<java.lang.Boolean>> IS_LYING_ON_BACK
Whether aPandais lying on it's back.
-
IS_OCCUPIED
public static final Key<Value<java.lang.Boolean>> IS_OCCUPIED
Whether a bedBlockStateis occupied. e.g.BlockTypes.WHITE_BED.
-
IS_ON_RAIL
public static final Key<Value<java.lang.Boolean>> IS_ON_RAIL
Whether aMinecartis on it's rail Readonly
-
IS_OPEN
public static final Key<Value<java.lang.Boolean>> IS_OPEN
Whether a door/fencegate/trapdoorBlockStateis open.
-
IS_PASSABLE
public static final Key<Value<java.lang.Boolean>> IS_PASSABLE
Whether aBlockStateis passable (can be walked through). Readonly
-
IS_PATROLLING
public static final Key<Value<java.lang.Boolean>> IS_PATROLLING
Whether aPatrolleris currently patrolling.
-
IS_PERSISTENT
public static final Key<Value<java.lang.Boolean>> IS_PERSISTENT
Whether anEntityor leavesBlockStatewill 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,java.lang.Boolean>> IS_PLACING_DISABLED
Whether players are prevented from placing items from an equipment slot on anArmorStand
-
IS_POUNCING
public static final Key<Value<java.lang.Boolean>> IS_POUNCING
Whether aFoxis currently pouncing.
-
IS_POWERED
public static final Key<Value<java.lang.Boolean>> IS_POWERED
Whether aBlockStateis 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<java.lang.Boolean>> IS_PRIMED
Whether aFusedExplosiveis currently primed. Readonly
-
IS_RELAXED
public static final Key<Value<java.lang.Boolean>> IS_RELAXED
Whether aCatis relaxed.In vanilla, a cat relaxes before lying down.
-
IS_REPLACEABLE
public static final Key<Value<java.lang.Boolean>> IS_REPLACEABLE
Whether aBlockStatecan be replaced by a player without breaking it first. e.g.BlockTypes.WATERReadonly
-
IS_ROARING
public static final Key<Value<java.lang.Boolean>> IS_ROARING
Whether aRavageris roaring. Readonly
-
IS_ROLLING_AROUND
public static final Key<Value<java.lang.Boolean>> IS_ROLLING_AROUND
Whether aPandais rolling around.
-
IS_SCREAMING
public static final Key<Value<java.lang.Boolean>> IS_SCREAMING
Whether anEndermanis screaming.
-
IS_SILENT
public static final Key<Value<java.lang.Boolean>> IS_SILENT
Whether anEntityis silent.A silent entity will not emit sounds or make noises.
-
IS_SLEEPING_IGNORED
public static final Key<Value<java.lang.Boolean>> IS_SLEEPING_IGNORED
Whether aPlayer'ssleeping 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<java.lang.Boolean>> IS_SMALL
Whether anArmorStandis small.
-
IS_SNEAKING
public static final Key<Value<java.lang.Boolean>> IS_SNEAKING
Whether anEntityis sneaking.Sneaking entities generally move slower and do not make walking sounds.
-
IS_SNEEZING
public static final Key<Value<java.lang.Boolean>> IS_SNEEZING
Whether aPandais sneezing.
-
IS_SNOWY
public static final Key<Value<java.lang.Boolean>> IS_SNOWY
Whether aBlockTypes.DIRTBlockStateis snowy.
-
IS_SOLID
public static final Key<Value<java.lang.Boolean>> IS_SOLID
Whether aBlockStateis solid. Readonly
-
IS_SPRINTING
public static final Key<Value<java.lang.Boolean>> IS_SPRINTING
Whether anEntityis sprinting.
-
IS_STANDING
public static final Key<Value<java.lang.Boolean>> IS_STANDING
Whether aPolarBearis currently standing.
-
IS_STUNNED
public static final Key<Value<java.lang.Boolean>> IS_STUNNED
Whether aRavageris stunned. Readonly
-
IS_SURROGATE_BLOCK
public static final Key<Value<java.lang.Boolean>> IS_SURROGATE_BLOCK
Whether aBlockStateis 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,java.lang.Boolean>> IS_TAKING_DISABLED
Whether players are prevented from taking items from an equipment slot on anArmorStand
-
IS_TAMED
public static final Key<Value<java.lang.Boolean>> IS_TAMED
Whether aTameableAnimalis currently tamed
-
IS_TRAVELING
public static final Key<Value<java.lang.Boolean>> IS_TRAVELING
Whether aTurtleis currently traveling.
-
IS_UNBREAKABLE
public static final Key<Value<java.lang.Boolean>> IS_UNBREAKABLE
Whether anItemStackorBlockStateis unbreakable.Setting this to
Readonly(BlockState.class)truewill prevent the item stack'sITEM_DURABILITYfrom changing.
-
IS_WATERLOGGED
public static final Key<Value<java.lang.Boolean>> IS_WATERLOGGED
Whehter aBlockStateis waterlogged.
-
ITEM_DURABILITY
public static final Key<Value<java.lang.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<java.lang.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 aCommandBlockorCommandBlockMinecart.
-
LAST_DAMAGE_RECEIVED
public static final Key<Value<java.lang.Double>> LAST_DAMAGE_RECEIVED
The last damage aLivingreceived.
-
LAST_DATE_JOINED
public static final Key<Value<java.time.Instant>> LAST_DATE_JOINED
The last time aUserjoined on the server.
-
LAST_DATE_PLAYED
public static final Key<Value<java.time.Instant>> LAST_DATE_PLAYED
The last time aUserhas 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 aVexstarts 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<java.lang.Integer>> LIGHT_EMISSION
The amount of light that emitted by aBlockState. Readonly
-
LOCALE
public static final Key<Value<java.util.Locale>> LOCALE
AServerPlayer's client language.
-
LOCK_TOKEN
public static final Key<Value<java.lang.String>> LOCK_TOKEN
The token used to lock aCarrierBlockEntity. Or the token on anItemStackto 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 theKeyfor theMapInfoof anItemStackof 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<java.lang.Boolean>> MAP_LOCKED
Represents theKeyfor whether a map updates from players for aMapInfo. By default this is false. Can be used in combination withMAP_CANVASto create custom static map. See Minecraft Wiki - Map Locking
-
MAP_SCALE
public static final Key<Value<java.lang.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 aBlockStateReadonly
-
MAX_AIR
public static final Key<Value<java.lang.Integer>> MAX_AIR
The maximum air supply aLivingmay 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 aFurnaceBlockEntitycan burn with the currently used fuel item.
-
MAX_COOK_TIME
public static final Key<Value<Ticks>> MAX_COOK_TIME
The total time the currentItemStackin aFurnaceBlockEntityhas to be cooked.
-
MAX_DURABILITY
public static final Key<Value<java.lang.Integer>> MAX_DURABILITY
The maximum durability of anItemStack.ITEM_DURABILITYReadonly
-
MAX_EXHAUSTION
public static final Key<Value<java.lang.Double>> MAX_EXHAUSTION
The maximum exhuastion of aHumanoid. Readonly.- See Also:
EXHAUSTION
-
MAX_FALL_DAMAGE
public static final Key<Value<java.lang.Double>> MAX_FALL_DAMAGE
The maximum damage aFallingBlockcan deal.
-
MAX_FOOD_LEVEL
public static final Key<Value<java.lang.Integer>> MAX_FOOD_LEVEL
The maximum food level of aHumanoid. Readonly.- See Also:
FOOD_LEVEL
-
MAX_HEALTH
public static final Key<Value<java.lang.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<java.lang.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<java.lang.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<java.lang.Double>> MAX_SPEED
The max speed of aBoat. In vanilla, this is 0.4
-
MAX_STACK_SIZE
public static final Key<Value<java.lang.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<java.lang.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<java.lang.Integer>> MOISTURE
The moisture value of aBlockTypes.FARMLANDBlockState.
-
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_ENTITIESweighted 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_BLOCKBlockState.
-
NOTIFIER
public static final Key<Value<java.util.UUID>> NOTIFIER
The notifier, usually of anEntity. It is up to the implementation to define.
-
OCCUPIED_DECELERATION
public static final Key<Value<java.lang.Double>> OCCUPIED_DECELERATION
The deceleration aBoatwhile it hasPASSENGERS.
-
ON_GROUND
public static final Key<Value<java.lang.Boolean>> ON_GROUND
Whether anEntityis currently considered to be on the ground. Readonly
-
ORIENTATION
public static final Key<Value<Orientation>> ORIENTATION
TheOrientationof anItemFrame.
-
PAGES
public static final Key<ListValue<Component>> PAGES
The content of aItemTypes.WRITTEN_BOOKItemStack.Use
PLAIN_PAGESif 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
ParticleOptions will be usable for this effect for specificParticleTypes and not everyParticleTypewill be applicable.
-
PASSED_COOK_TIME
public static final Key<Value<Ticks>> PASSED_COOK_TIME
The amount of ticks aFurnaceBlockEntityhas 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
ThePickupRuleof anArrowEntity.
-
PISTON_TYPE
public static final Key<Value<PistonType>> PISTON_TYPE
The piston type of a pistonBlockStateTODO dataholderPiston.
-
PLACEABLE_BLOCK_TYPES
public static final Key<SetValue<BlockType>> PLACEABLE_BLOCK_TYPES
The block types anItemStackmay be placed on.
-
PLAIN_PAGES
public static final Key<ListValue<java.lang.String>> PLAIN_PAGES
The content of aItemTypes.WRITABLE_BOOKItemStack.Use
PAGESif 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_BLOCKorBlockTypes.RED_MUSHROOM_BLOCKBlockState. 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
ThePortionTypeof aBlockState. e.g.BlockTypes.OAK_DOOR,BlockTypes.ROSE_BUSHorBlockTypes.WHITE_BEDFor slabs useSLAB_PORTIONinstead
-
POTENTIAL_MAX_SPEED
public static final Key<Value<java.lang.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 anEntityor applied by an
AreaEffectCloudorArrowEntityor 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<java.lang.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_PLATEetc.
-
PREVIOUS_GAME_MODE
public static final Key<Value<GameMode>> PREVIOUS_GAME_MODE
The previousGameModeof aServerPlayer. Readonly.
-
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<java.lang.Double>> RADIUS
The radius of anAreaEffectCloud.
-
RADIUS_ON_USE
public static final Key<Value<java.lang.Double>> RADIUS_ON_USE
The amount the radius of anAreaEffectCloudgrows or shrinks each time it applies its effect.
-
RADIUS_PER_TICK
public static final Key<Value<java.lang.Double>> RADIUS_PER_TICK
The amount the radius of anAreaEffectCloudgrows or shrinks per tick.
-
RAID_WAVE
public static final Key<Value<RaidWave>> RAID_WAVE
The wave number of a raid aRaideris in. Readonly but mutable
-
RAIL_DIRECTION
public static final Key<Value<RailDirection>> RAIL_DIRECTION
TheRailDirectionof aBlockState.
-
REAPPLICATION_DELAY
public static final Key<Value<Ticks>> REAPPLICATION_DELAY
The delay (in ticks) after which anAreaEffectCloudwill reapply its effect on a previously affectedEntity.
-
REDSTONE_DELAY
public static final Key<Value<java.lang.Integer>> REDSTONE_DELAY
The redstone delay on aBlockTypes.REPEATERBlockState.
-
REMAINING_AIR
public static final Key<Value<java.lang.Integer>> REMAINING_AIR
The amount of air aLivinghas left.
-
REMAINING_BREW_TIME
public static final Key<Value<Ticks>> REMAINING_BREW_TIME
The remaining amount of ticks the current brewing process of aBrewingStandwill 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 theKeyfor the remaining number of ticks to pass before another attempt to spawn entities is made by aMobSpawner.
-
REPLENISHED_FOOD
public static final Key<Value<java.lang.Integer>> REPLENISHED_FOOD
The amount of food a foodItemStackrestores when eaten. Readonly
-
REPLENISHED_SATURATION
public static final Key<Value<java.lang.Double>> REPLENISHED_SATURATION
The amount of saturation a foodItemStackprovides when eaten. Readonly
-
REPRESENTED_INSTRUMENT
public static final Key<Value<InstrumentType>> REPRESENTED_INSTRUMENT
-
REQUIRED_PLAYER_RANGE
public static final Key<Value<java.lang.Double>> REQUIRED_PLAYER_RANGE
How close aPlayerhas to be around theMobSpawnerin order for it to attempt to spawn entities.
-
RESPAWN_LOCATIONS
public static final Key<MapValue<ResourceKey,RespawnLocation>> RESPAWN_LOCATIONS
The spawn locations aPlayermay have for various worlds based onUUIDof the world.
-
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<java.lang.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<java.lang.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<java.lang.Boolean>> SHOW_BOTTOM
Whether aEndCrystalshould show it's bottom bedrock platform.
-
SKIN_PARTS
public static final Key<SetValue<SkinPart>> SKIN_PARTS
The parts of aServerPlayerskin 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<java.lang.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.DRYOUTwith a value of 1 per tick until death.
-
SKY_LIGHT
public static final Key<Value<java.lang.Integer>> SKY_LIGHT
The skylight value at aServerLocation. For the blocklight seeBLOCK_LIGHT. Readonly
-
SLAB_PORTION
public static final Key<Value<SlabPortion>> SLAB_PORTION
TheSlabPortionof aBlockState.
-
SLEEP_TIMER
public static final Key<Value<java.lang.Integer>> SLEEP_TIMER
The sleep timer of aPlayer.
-
SLOT_POSITION
public static final Key<Value<Vector2i>> SLOT_POSITION
The position of aSlotwithin 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<java.lang.Boolean>> SLOWS_UNOCCUPIED
Whether aMinecartslows down when it has noPASSENGERS.
-
SNEEZING_TIME
public static final Key<Value<Ticks>> SNEEZING_TIME
The time aPandahas been sneezing (in ticks)
-
SPAWNABLE_ENTITIES
public static final Key<WeightedCollectionValue<EntityArchetype>> SPAWNABLE_ENTITIES
The list ofEntityArchetypes able to be spawned by aMobSpawner.
-
SPAWN_COUNT
public static final Key<Value<java.lang.Integer>> SPAWN_COUNT
How many entities aMobSpawnerhas spawned so far.
-
SPAWN_RANGE
public static final Key<Value<java.lang.Double>> SPAWN_RANGE
How far away from theMobSpawnerthe entities spawned by it may appear.
-
STAIR_SHAPE
public static final Key<Value<StairShape>> STAIR_SHAPE
TheStairShapeof 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_BOOKItemStacks. Enchantments affecting the item stack are retrieved viaAPPLIED_ENCHANTMENTSinstead.
-
STRENGTH
public static final Key<Value<java.lang.Integer>> STRENGTH
ALlamas carrying strength. The higher the strength, the more items it can carry (effectively the size of inventory).
-
STRUCTURE_AUTHOR
public static final Key<Value<java.lang.String>> STRUCTURE_AUTHOR
The author of a structure from aStructureBlock.
-
STRUCTURE_IGNORE_ENTITIES
public static final Key<Value<java.lang.Boolean>> STRUCTURE_IGNORE_ENTITIES
Whether aStructureBlockshould ignore entities when saving a structure.
-
STRUCTURE_INTEGRITY
public static final Key<Value<java.lang.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<java.lang.Boolean>> STRUCTURE_POWERED
Whether aStructureBlockis powered.
-
STRUCTURE_SEED
public static final Key<Value<java.lang.Long>> STRUCTURE_SEED
The seed of aStructureBlock
-
STRUCTURE_SHOW_AIR
public static final Key<Value<java.lang.Boolean>> STRUCTURE_SHOW_AIR
Whether aStructureBlockshould make allBlockTypes.AIR,BlockTypes.CAVE_AIR,BlockTypes.STRUCTURE_VOIDvisible.
-
STRUCTURE_SHOW_BOUNDING_BOX
public static final Key<Value<java.lang.Boolean>> STRUCTURE_SHOW_BOUNDING_BOX
Whether aStructureBlockshows the bounding box.
-
STRUCTURE_SIZE
public static final Key<Value<Vector3i>> STRUCTURE_SIZE
The size of aStructureBlocks structure.
-
STUCK_ARROWS
public static final Key<Value<java.lang.Integer>> STUCK_ARROWS
The amount of "stuck arrows" in aLiving.
-
STUNNED_TIME
public static final Key<Value<Ticks>> STUNNED_TIME
The time (in ticks) aRavageris stunned.
-
SUCCESS_COUNT
public static final Key<Value<java.lang.Integer>> SUCCESS_COUNT
The amount of successful executions of a command stored in aCommandBlockorCommandBlockMinecart.
-
SUSPENDED
public static final Key<Value<java.lang.Boolean>> SUSPENDED
Whether aBlockStateis suspended.
-
TAMER
public static final Key<Value<java.util.UUID>> TAMER
The tamer of aTameableAnimalorHorseLike.
-
TARGET_ENTITY
public static final Key<Value<Entity>> TARGET_ENTITY
The targeted entity either by anAgentand it'sGoalExecutorTypes.TARGETselector or by aFishingBobberorShulkerBullet.
-
TARGET_LOCATION
public static final Key<Value<Vector3d>> TARGET_LOCATION
A target location. e.g. AnEyeOfEndertarget 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 aEndGatewayor 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<java.lang.Boolean>> TRACKS_OUTPUT
Whether aCommandBlockdoes 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
TheTradeOffers offered by aTrader.
-
TRANSIENT
public static final Key<Value<java.lang.Boolean>> TRANSIENT
Whether anEntityis 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 aPandahas been unhappy (in ticks)
-
UNOCCUPIED_DECELERATION
public static final Key<Value<java.lang.Double>> UNOCCUPIED_DECELERATION
The deceleration aBoatwhile it does not havePASSENGERS.
-
UNSTABLE
public static final Key<Value<java.lang.Boolean>> UNSTABLE
Whether aBlockTypes.TNTBlockStateis unstable.
-
UPDATE_GAME_PROFILE
public static final Key<Value<java.lang.Boolean>> UPDATE_GAME_PROFILE
Whether changes toSKIN_PROFILE_PROPERTYshould be reflected in an entitie'sGameProfile.
-
VANISH_STATE
public static final Key<Value<VanishState>> VANISH_STATE
TheVanishStateof 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
Entityridden by other entities (seePASSENGERSwill cause problems.
-
VANISH
@Deprecated public static final Key<Value<java.lang.Boolean>> VANISH
Deprecated.useVANISH_STATEWhether anEntityis 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
Entityridden by other entities (seePASSENGERSwill cause problems.
-
VANISH_IGNORES_COLLISION
@Deprecated public static final Key<Value<java.lang.Boolean>> VANISH_IGNORES_COLLISION
Deprecated.useVANISH_STATE
-
VANISH_PREVENTS_TARGETING
@Deprecated public static final Key<Value<java.lang.Boolean>> VANISH_PREVENTS_TARGETING
Deprecated.useVANISH_STATE
-
VEHICLE
public static final Key<Value<Entity>> VEHICLE
The vehicle anEntityis 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<java.lang.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 aVillagerorZombieVillager.
-
WAIT_TIME
public static final Key<Value<Ticks>> WAIT_TIME
The duration in ticks after which anAreaEffectCloudwill begin to apply its effect to entities.
-
WILL_SHATTER
public static final Key<Value<java.lang.Boolean>> WILL_SHATTER
Whether a thrownEyeOfEnderwill shatter.
-
WIRE_ATTACHMENTS
public static final Key<MapValue<Direction,WireAttachmentType>> WIRE_ATTACHMENTS
-
WIRE_ATTACHMENT_EAST
public static final Key<Value<WireAttachmentType>> WIRE_ATTACHMENT_EAST
TheWireAttachmentTypeof aBlockTypes.REDSTONE_WIREBlockStatefor its neighboring block to theDirection.EAST.
-
WIRE_ATTACHMENT_NORTH
public static final Key<Value<WireAttachmentType>> WIRE_ATTACHMENT_NORTH
TheWireAttachmentTypeof aBlockTypes.REDSTONE_WIREBlockStatefor its neighboring block to theDirection.NORTH.
-
WIRE_ATTACHMENT_SOUTH
public static final Key<Value<WireAttachmentType>> WIRE_ATTACHMENT_SOUTH
TheWireAttachmentTypeof aBlockTypes.REDSTONE_WIREBlockStatefor its neighboring block to theDirection.SOUTH.
-
WIRE_ATTACHMENT_WEST
public static final Key<Value<WireAttachmentType>> WIRE_ATTACHMENT_WEST
TheWireAttachmentTypeof aBlockTypes.REDSTONE_WIREBlockStatefor its neighboring block to theDirection.WEST.
-
-