Class DamageTypeKeys

java.lang.Object
io.papermc.paper.registry.keys.DamageTypeKeys

@GeneratedFrom("1.21.4") @NullMarked @Experimental public final class DamageTypeKeys extends Object
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 Details

    • ARROW

      public static final TypedKey<DamageType> ARROW
      minecraft:arrow
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • BAD_RESPAWN_POINT

      public static final TypedKey<DamageType> BAD_RESPAWN_POINT
      minecraft:bad_respawn_point
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • CACTUS

      public static final TypedKey<DamageType> CACTUS
      minecraft:cactus
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • CAMPFIRE

      public static final TypedKey<DamageType> CAMPFIRE
      minecraft:campfire
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • CRAMMING

      public static final TypedKey<DamageType> CRAMMING
      minecraft:cramming
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • DRAGON_BREATH

      public static final TypedKey<DamageType> DRAGON_BREATH
      minecraft:dragon_breath
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • DROWN

      public static final TypedKey<DamageType> DROWN
      minecraft:drown
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • DRY_OUT

      public static final TypedKey<DamageType> DRY_OUT
      minecraft:dry_out
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ENDER_PEARL

      public static final TypedKey<DamageType> ENDER_PEARL
      minecraft:ender_pearl
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • EXPLOSION

      public static final TypedKey<DamageType> EXPLOSION
      minecraft:explosion
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FALL

      public static final TypedKey<DamageType> FALL
      minecraft:fall
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FALLING_ANVIL

      public static final TypedKey<DamageType> FALLING_ANVIL
      minecraft:falling_anvil
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FALLING_BLOCK

      public static final TypedKey<DamageType> FALLING_BLOCK
      minecraft:falling_block
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FALLING_STALACTITE

      public static final TypedKey<DamageType> FALLING_STALACTITE
      minecraft:falling_stalactite
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FIREBALL

      public static final TypedKey<DamageType> FIREBALL
      minecraft:fireball
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FIREWORKS

      public static final TypedKey<DamageType> FIREWORKS
      minecraft:fireworks
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FLY_INTO_WALL

      public static final TypedKey<DamageType> FLY_INTO_WALL
      minecraft:fly_into_wall
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • FREEZE

      public static final TypedKey<DamageType> FREEZE
      minecraft:freeze
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • GENERIC

      public static final TypedKey<DamageType> GENERIC
      minecraft:generic
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • GENERIC_KILL

      public static final TypedKey<DamageType> GENERIC_KILL
      minecraft:generic_kill
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • HOT_FLOOR

      public static final TypedKey<DamageType> HOT_FLOOR
      minecraft:hot_floor
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • IN_FIRE

      public static final TypedKey<DamageType> IN_FIRE
      minecraft:in_fire
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • IN_WALL

      public static final TypedKey<DamageType> IN_WALL
      minecraft:in_wall
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • INDIRECT_MAGIC

      public static final TypedKey<DamageType> INDIRECT_MAGIC
      minecraft:indirect_magic
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • LAVA

      public static final TypedKey<DamageType> LAVA
      minecraft:lava
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • LIGHTNING_BOLT

      public static final TypedKey<DamageType> LIGHTNING_BOLT
      minecraft:lightning_bolt
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • MACE_SMASH

      public static final TypedKey<DamageType> MACE_SMASH
      minecraft:mace_smash
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • MAGIC

      public static final TypedKey<DamageType> MAGIC
      minecraft:magic
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • MOB_ATTACK

      public static final TypedKey<DamageType> MOB_ATTACK
      minecraft:mob_attack
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • MOB_ATTACK_NO_AGGRO

      public static final TypedKey<DamageType> 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

      public static final TypedKey<DamageType> MOB_PROJECTILE
      minecraft:mob_projectile
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • ON_FIRE

      public static final TypedKey<DamageType> ON_FIRE
      minecraft:on_fire
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • OUT_OF_WORLD

      public static final TypedKey<DamageType> OUT_OF_WORLD
      minecraft:out_of_world
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • OUTSIDE_BORDER

      public static final TypedKey<DamageType> OUTSIDE_BORDER
      minecraft:outside_border
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • PLAYER_ATTACK

      public static final TypedKey<DamageType> PLAYER_ATTACK
      minecraft:player_attack
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • PLAYER_EXPLOSION

      public static final TypedKey<DamageType> PLAYER_EXPLOSION
      minecraft:player_explosion
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SONIC_BOOM

      public static final TypedKey<DamageType> SONIC_BOOM
      minecraft:sonic_boom
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SPIT

      public static final TypedKey<DamageType> SPIT
      minecraft:spit
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • STALAGMITE

      public static final TypedKey<DamageType> STALAGMITE
      minecraft:stalagmite
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • STARVE

      public static final TypedKey<DamageType> STARVE
      minecraft:starve
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • STING

      public static final TypedKey<DamageType> STING
      minecraft:sting
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • SWEET_BERRY_BUSH

      public static final TypedKey<DamageType> SWEET_BERRY_BUSH
      minecraft:sweet_berry_bush
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • THORNS

      public static final TypedKey<DamageType> THORNS
      minecraft:thorns
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • THROWN

      public static final TypedKey<DamageType> THROWN
      minecraft:thrown
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • TRIDENT

      public static final TypedKey<DamageType> TRIDENT
      minecraft:trident
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • UNATTRIBUTED_FIREBALL

      public static final TypedKey<DamageType> UNATTRIBUTED_FIREBALL
      minecraft:unattributed_fireball
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • WIND_CHARGE

      public static final TypedKey<DamageType> WIND_CHARGE
      minecraft:wind_charge
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • WITHER

      public static final TypedKey<DamageType> WITHER
      minecraft:wither
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • WITHER_SKULL

      public static final TypedKey<DamageType> WITHER_SKULL
      minecraft:wither_skull
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
  • Method Details