Package io.papermc.paper.registry.keys
Class DamageTypeKeys
java.lang.Object
io.papermc.paper.registry.keys.DamageTypeKeys
Vanilla keys for
RegistryKey.DAMAGE_TYPE
.- API Note:
- The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TypedKey
<DamageType> minecraft:arrow
static final TypedKey
<DamageType> minecraft:bad_respawn_point
static final TypedKey
<DamageType> minecraft:cactus
static final TypedKey
<DamageType> minecraft:cramming
static final TypedKey
<DamageType> minecraft:dragon_breath
static final TypedKey
<DamageType> minecraft:drown
static final TypedKey
<DamageType> minecraft:dry_out
static final TypedKey
<DamageType> minecraft:explosion
static final TypedKey
<DamageType> minecraft:fall
static final TypedKey
<DamageType> minecraft:falling_anvil
static final TypedKey
<DamageType> minecraft:falling_block
static final TypedKey
<DamageType> minecraft:falling_stalactite
static final TypedKey
<DamageType> minecraft:fireball
static final TypedKey
<DamageType> minecraft:fireworks
static final TypedKey
<DamageType> minecraft:fly_into_wall
static final TypedKey
<DamageType> minecraft:freeze
static final TypedKey
<DamageType> minecraft:generic
static final TypedKey
<DamageType> minecraft:generic_kill
static final TypedKey
<DamageType> minecraft:hot_floor
static final TypedKey
<DamageType> minecraft:in_fire
static final TypedKey
<DamageType> minecraft:in_wall
static final TypedKey
<DamageType> minecraft:indirect_magic
static final TypedKey
<DamageType> minecraft:lava
static final TypedKey
<DamageType> minecraft:lightning_bolt
static final TypedKey
<DamageType> minecraft:magic
static final TypedKey
<DamageType> minecraft:mob_attack
static final TypedKey
<DamageType> minecraft:mob_attack_no_aggro
static final TypedKey
<DamageType> minecraft:mob_projectile
static final TypedKey
<DamageType> minecraft:on_fire
static final TypedKey
<DamageType> minecraft:out_of_world
static final TypedKey
<DamageType> minecraft:outside_border
static final TypedKey
<DamageType> minecraft:player_attack
static final TypedKey
<DamageType> minecraft:player_explosion
static final TypedKey
<DamageType> minecraft:sonic_boom
static final TypedKey
<DamageType> minecraft:spit
static final TypedKey
<DamageType> minecraft:stalagmite
static final TypedKey
<DamageType> minecraft:starve
static final TypedKey
<DamageType> minecraft:sting
static final TypedKey
<DamageType> minecraft:sweet_berry_bush
static final TypedKey
<DamageType> minecraft:thorns
static final TypedKey
<DamageType> minecraft:thrown
static final TypedKey
<DamageType> minecraft:trident
static final TypedKey
<DamageType> minecraft:unattributed_fireball
static final TypedKey
<DamageType> minecraft:wind_charge
static final TypedKey
<DamageType> minecraft:wither
static final TypedKey
<DamageType> minecraft:wither_skull
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull TypedKey
<DamageType> Creates a key forDamageType
in a registry.
-
Field Details
-
ARROW
minecraft:arrow
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
BAD_RESPAWN_POINT
minecraft:bad_respawn_point
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
CACTUS
minecraft:cactus
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
CRAMMING
minecraft:cramming
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
DRAGON_BREATH
minecraft:dragon_breath
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
DROWN
minecraft:drown
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
DRY_OUT
minecraft:dry_out
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
EXPLOSION
minecraft:explosion
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FALL
minecraft:fall
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FALLING_ANVIL
minecraft:falling_anvil
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FALLING_BLOCK
minecraft:falling_block
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FALLING_STALACTITE
minecraft:falling_stalactite
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FIREBALL
minecraft:fireball
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FIREWORKS
minecraft:fireworks
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FLY_INTO_WALL
minecraft:fly_into_wall
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
FREEZE
minecraft:freeze
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
GENERIC
minecraft:generic
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
GENERIC_KILL
minecraft:generic_kill
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
HOT_FLOOR
minecraft:hot_floor
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
IN_FIRE
minecraft:in_fire
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
IN_WALL
minecraft:in_wall
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
INDIRECT_MAGIC
minecraft:indirect_magic
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
LAVA
minecraft:lava
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
LIGHTNING_BOLT
minecraft:lightning_bolt
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
MAGIC
minecraft:magic
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
MOB_ATTACK
minecraft:mob_attack
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
MOB_ATTACK_NO_AGGRO
minecraft:mob_attack_no_aggro
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
MOB_PROJECTILE
minecraft:mob_projectile
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
ON_FIRE
minecraft:on_fire
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
OUT_OF_WORLD
minecraft:out_of_world
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
OUTSIDE_BORDER
minecraft:outside_border
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PLAYER_ATTACK
minecraft:player_attack
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
PLAYER_EXPLOSION
minecraft:player_explosion
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SONIC_BOOM
minecraft:sonic_boom
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SPIT
minecraft:spit
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
STALAGMITE
minecraft:stalagmite
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
STARVE
minecraft:starve
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
STING
minecraft:sting
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
SWEET_BERRY_BUSH
minecraft:sweet_berry_bush
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
THORNS
minecraft:thorns
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
THROWN
minecraft:thrown
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
TRIDENT
minecraft:trident
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
UNATTRIBUTED_FIREBALL
minecraft:unattributed_fireball
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
WIND_CHARGE
@Experimental @MinecraftExperimental(UPDATE_1_21) public static final TypedKey<DamageType> WIND_CHARGEminecraft:wind_charge
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
WITHER
minecraft:wither
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
WITHER_SKULL
minecraft:wither_skull
- API Note:
- This field is version-dependant and may be removed in future Minecraft versions
-
-
Method Details
-
create
@Experimental @NotNull public static @NotNull TypedKey<DamageType> create(@NotNull @NotNull net.kyori.adventure.key.Key key) Creates a key forDamageType
in a registry.- Parameters:
key
- the value's key in the registry- Returns:
- a new typed key
-