Uses of Interface
org.bukkit.damage.DamageType
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes concerning damage types and sources applicable to living entities.
The interfaces used when manipulating extra data can can be stored inside
item stacks
.Tag
-related API.-
Uses of DamageType in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptionDamageResistant.types()
The types that this damage type is invincible tp.Modifier and TypeMethodDescriptionstatic DamageResistant
DamageResistant.damageResistant
(TagKey<DamageType> types) -
Uses of DamageType in io.papermc.paper.registry
Modifier and TypeFieldDescriptionstatic final RegistryKey
<DamageType> RegistryKey.DAMAGE_TYPE
Data-driven registry for damage types. -
Uses of DamageType in io.papermc.paper.registry.keys
Modifier and TypeFieldDescriptionstatic final TypedKey
<DamageType> DamageTypeKeys.ARROW
minecraft:arrow
static final TypedKey
<DamageType> DamageTypeKeys.BAD_RESPAWN_POINT
minecraft:bad_respawn_point
static final TypedKey
<DamageType> DamageTypeKeys.CACTUS
minecraft:cactus
static final TypedKey
<DamageType> DamageTypeKeys.CAMPFIRE
minecraft:campfire
static final TypedKey
<DamageType> DamageTypeKeys.CRAMMING
minecraft:cramming
static final TypedKey
<DamageType> DamageTypeKeys.DRAGON_BREATH
minecraft:dragon_breath
static final TypedKey
<DamageType> DamageTypeKeys.DROWN
minecraft:drown
static final TypedKey
<DamageType> DamageTypeKeys.DRY_OUT
minecraft:dry_out
static final TypedKey
<DamageType> DamageTypeKeys.ENDER_PEARL
minecraft:ender_pearl
static final TypedKey
<DamageType> DamageTypeKeys.EXPLOSION
minecraft:explosion
static final TypedKey
<DamageType> DamageTypeKeys.FALL
minecraft:fall
static final TypedKey
<DamageType> DamageTypeKeys.FALLING_ANVIL
minecraft:falling_anvil
static final TypedKey
<DamageType> DamageTypeKeys.FALLING_BLOCK
minecraft:falling_block
static final TypedKey
<DamageType> DamageTypeKeys.FALLING_STALACTITE
minecraft:falling_stalactite
static final TypedKey
<DamageType> DamageTypeKeys.FIREBALL
minecraft:fireball
static final TypedKey
<DamageType> DamageTypeKeys.FIREWORKS
minecraft:fireworks
static final TypedKey
<DamageType> DamageTypeKeys.FLY_INTO_WALL
minecraft:fly_into_wall
static final TypedKey
<DamageType> DamageTypeKeys.FREEZE
minecraft:freeze
static final TypedKey
<DamageType> DamageTypeKeys.GENERIC
minecraft:generic
static final TypedKey
<DamageType> DamageTypeKeys.GENERIC_KILL
minecraft:generic_kill
static final TypedKey
<DamageType> DamageTypeKeys.HOT_FLOOR
minecraft:hot_floor
static final TypedKey
<DamageType> DamageTypeKeys.IN_FIRE
minecraft:in_fire
static final TypedKey
<DamageType> DamageTypeKeys.IN_WALL
minecraft:in_wall
static final TypedKey
<DamageType> DamageTypeKeys.INDIRECT_MAGIC
minecraft:indirect_magic
static final TypedKey
<DamageType> DamageTypeKeys.LAVA
minecraft:lava
static final TypedKey
<DamageType> DamageTypeKeys.LIGHTNING_BOLT
minecraft:lightning_bolt
static final TypedKey
<DamageType> DamageTypeKeys.MACE_SMASH
minecraft:mace_smash
static final TypedKey
<DamageType> DamageTypeKeys.MAGIC
minecraft:magic
static final TypedKey
<DamageType> DamageTypeKeys.MOB_ATTACK
minecraft:mob_attack
static final TypedKey
<DamageType> DamageTypeKeys.MOB_ATTACK_NO_AGGRO
minecraft:mob_attack_no_aggro
static final TypedKey
<DamageType> DamageTypeKeys.MOB_PROJECTILE
minecraft:mob_projectile
static final TypedKey
<DamageType> DamageTypeKeys.ON_FIRE
minecraft:on_fire
static final TypedKey
<DamageType> DamageTypeKeys.OUT_OF_WORLD
minecraft:out_of_world
static final TypedKey
<DamageType> DamageTypeKeys.OUTSIDE_BORDER
minecraft:outside_border
static final TypedKey
<DamageType> DamageTypeKeys.PLAYER_ATTACK
minecraft:player_attack
static final TypedKey
<DamageType> DamageTypeKeys.PLAYER_EXPLOSION
minecraft:player_explosion
static final TypedKey
<DamageType> DamageTypeKeys.SONIC_BOOM
minecraft:sonic_boom
static final TypedKey
<DamageType> DamageTypeKeys.SPIT
minecraft:spit
static final TypedKey
<DamageType> DamageTypeKeys.STALAGMITE
minecraft:stalagmite
static final TypedKey
<DamageType> DamageTypeKeys.STARVE
minecraft:starve
static final TypedKey
<DamageType> DamageTypeKeys.STING
minecraft:sting
static final TypedKey
<DamageType> DamageTypeKeys.SWEET_BERRY_BUSH
minecraft:sweet_berry_bush
static final TypedKey
<DamageType> DamageTypeKeys.THORNS
minecraft:thorns
static final TypedKey
<DamageType> DamageTypeKeys.THROWN
minecraft:thrown
static final TypedKey
<DamageType> DamageTypeKeys.TRIDENT
minecraft:trident
static final TypedKey
<DamageType> DamageTypeKeys.UNATTRIBUTED_FIREBALL
minecraft:unattributed_fireball
static final TypedKey
<DamageType> DamageTypeKeys.WIND_CHARGE
minecraft:wind_charge
static final TypedKey
<DamageType> DamageTypeKeys.WITHER
minecraft:wither
static final TypedKey
<DamageType> DamageTypeKeys.WITHER_SKULL
minecraft:wither_skull
Modifier and TypeMethodDescriptionstatic TypedKey
<DamageType> Creates a key forDamageType
in the registryminecraft:damage_type
. -
Uses of DamageType in org.bukkit
Modifier and TypeFieldDescriptionstatic final Registry
<DamageType> Registry.DAMAGE_TYPE
Deprecated.Modifier and TypeMethodDescriptionUnsafeValues.createDamageSourceBuilder
(@NotNull DamageType damageType) Deprecated.Create a newDamageSource.Builder
. -
Uses of DamageType in org.bukkit.damage
Modifier and TypeFieldDescriptionstatic final DamageType
DamageType.ARROW
static final DamageType
DamageType.BAD_RESPAWN_POINT
static final DamageType
DamageType.CACTUS
static final DamageType
DamageType.CAMPFIRE
static final DamageType
DamageType.CRAMMING
static final DamageType
DamageType.DRAGON_BREATH
static final DamageType
DamageType.DROWN
static final DamageType
DamageType.DRY_OUT
static final DamageType
DamageType.ENDER_PEARL
static final DamageType
DamageType.EXPLOSION
static final DamageType
DamageType.FALL
static final DamageType
DamageType.FALLING_ANVIL
static final DamageType
DamageType.FALLING_BLOCK
static final DamageType
DamageType.FALLING_STALACTITE
static final DamageType
DamageType.FIREBALL
static final DamageType
DamageType.FIREWORKS
static final DamageType
DamageType.FLY_INTO_WALL
static final DamageType
DamageType.FREEZE
static final DamageType
DamageType.GENERIC
static final DamageType
DamageType.GENERIC_KILL
static final DamageType
DamageType.HOT_FLOOR
static final DamageType
DamageType.IN_FIRE
static final DamageType
DamageType.IN_WALL
static final DamageType
DamageType.INDIRECT_MAGIC
static final DamageType
DamageType.LAVA
static final DamageType
DamageType.LIGHTNING_BOLT
static final DamageType
DamageType.MACE_SMASH
static final DamageType
DamageType.MAGIC
static final DamageType
DamageType.MOB_ATTACK
static final DamageType
DamageType.MOB_ATTACK_NO_AGGRO
static final DamageType
DamageType.MOB_PROJECTILE
static final DamageType
DamageType.ON_FIRE
static final DamageType
DamageType.OUT_OF_WORLD
static final DamageType
DamageType.OUTSIDE_BORDER
static final DamageType
DamageType.PLAYER_ATTACK
static final DamageType
DamageType.PLAYER_EXPLOSION
static final DamageType
DamageType.SONIC_BOOM
static final DamageType
DamageType.SPIT
static final DamageType
DamageType.STALAGMITE
static final DamageType
DamageType.STARVE
static final DamageType
DamageType.STING
static final DamageType
DamageType.SWEET_BERRY_BUSH
static final DamageType
DamageType.THORNS
static final DamageType
DamageType.THROWN
static final DamageType
DamageType.TRIDENT
static final DamageType
DamageType.UNATTRIBUTED_FIREBALL
static final DamageType
DamageType.WIND_CHARGE
static final DamageType
DamageType.WITHER
static final DamageType
DamageType.WITHER_SKULL
Modifier and TypeMethodDescriptionstatic @NotNull DamageSource.Builder
DamageSource.builder
(@NotNull DamageType damageType) Create a newDamageSource.Builder
. -
Uses of DamageType in org.bukkit.inventory.meta
Modifier and TypeMethodDescriptionItemMeta.getDamageResistant()
Gets the type of damage this item will be resistant to when in entity form.Modifier and TypeMethodDescriptionvoid
ItemMeta.setDamageResistant
(@Nullable Tag<DamageType> tag) Sets the type of damage this item will be resistant to when in entity form. -
Uses of DamageType in org.bukkit.tag
Modifier and TypeFieldDescriptionstatic final Tag
<DamageType> DamageTypeTags.ALWAYS_HURTS_ENDER_DRAGONS
Vanilla tag representing damage types which always hurt enderdragons.static final Tag
<DamageType> DamageTypeTags.ALWAYS_KILLS_ARMOR_STANDS
Vanilla tag representing damage types which always kill armor stands.static final Tag
<DamageType> DamageTypeTags.ALWAYS_MOST_SIGNIFICANT_FALL
Vanilla tag representing damage types which cause maximum fall damage.static final Tag
<DamageType> DamageTypeTags.ALWAYS_TRIGGERS_SILVERFISH
Vanilla tag representing damage types which always trigger silverfish.static final Tag
<DamageType> DamageTypeTags.AVOIDS_GUARDIAN_THORNS
Vanilla tag representing damage types which avoid guardian thorn damage.static final Tag
<DamageType> DamageTypeTags.BURN_FROM_STEPPING
Vanilla tag representing damage types which originate from hot blocks.static final Tag
<DamageType> DamageTypeTags.BURNS_ARMOR_STANDS
Vanilla tag representing damage types which burn armor stands.static final Tag
<DamageType> DamageTypeTags.BYPASSES_ARMOR
Vanilla tag representing damage types which bypass armor.static final @Nullable Tag
<DamageType> DamageTypeTags.BYPASSES_COOLDOWN
Vanilla tag representing damage types which bypass cooldowns.static final Tag
<DamageType> DamageTypeTags.BYPASSES_EFFECTS
Vanilla tag representing damage types which bypass effects.static final Tag
<DamageType> DamageTypeTags.BYPASSES_ENCHANTMENTS
Vanilla tag representing damage types which bypass enchantments.static final Tag
<DamageType> DamageTypeTags.BYPASSES_INVULNERABILITY
Vanilla tag representing damage types which bypass invulnerability.static final Tag
<DamageType> DamageTypeTags.BYPASSES_RESISTANCE
Vanilla tag representing damage types which bypass resistance.static final Tag
<DamageType> DamageTypeTags.BYPASSES_SHIELD
Vanilla tag representing damage types which bypass shields.static final Tag
<DamageType> DamageTypeTags.BYPASSES_WOLF_ARMOR
Vanilla tag representing damage types which bypass wolf armor.static final Tag
<DamageType> DamageTypeTags.CAN_BREAK_ARMOR_STAND
Vanilla tag representing damage types which can break armor stands.static final Tag
<DamageType> DamageTypeTags.DAMAGES_HELMET
Vanilla tag representing damage types which damage helmets.static final Tag
<DamageType> DamageTypeTags.IGNITES_ARMOR_STANDS
Vanilla tag representing damage types which ignite armor stands.static final Tag
<DamageType> DamageTypeTags.IS_DROWNING
Vanilla tag representing all drowning damage types.static final Tag
<DamageType> DamageTypeTags.IS_EXPLOSION
Vanilla tag representing all explosion damage types.static final Tag
<DamageType> DamageTypeTags.IS_FALL
Vanilla tag representing all fall damage types.static final Tag
<DamageType> DamageTypeTags.IS_FIRE
Vanilla tag representing all fire damage types.static final Tag
<DamageType> DamageTypeTags.IS_FREEZING
Vanilla tag representing all freezing damage types.static final Tag
<DamageType> DamageTypeTags.IS_LIGHTNING
Vanilla tag representing all lightning damage types.static final Tag
<DamageType> DamageTypeTags.IS_MACE_SMASH
Vanilla tag representing damage types which originate from mace smashes.static final Tag
<DamageType> DamageTypeTags.IS_PLAYER_ATTACK
Vanilla tag representing damage types which are from player attacks.static final Tag
<DamageType> DamageTypeTags.IS_PROJECTILE
Vanilla tag representing damage types which originate from projectiles.static final Tag
<DamageType> DamageTypeTags.NO_ANGER
Vanilla tag representing damage types which do not cause entities to anger.static final Tag
<DamageType> DamageTypeTags.NO_IMPACT
Vanilla tag representing damage types which do not cause an impact.static final Tag
<DamageType> DamageTypeTags.NO_KNOCKBACK
Vanilla tag representing damage types which do not cause knockback.static final Tag
<DamageType> DamageTypeTags.PANIC_CAUSES
Vanilla tag representing damage types which cause entities to panic.static final Tag
<DamageType> DamageTypeTags.PANIC_ENVIRONMENTAL_CAUSES
Vanilla tag representing environmental damage types which cause entities to panic.static final Tag
<DamageType> DamageTypeTags.WITCH_RESISTANT_TO
Vanilla tag representing damage types which witches are resistant to.static final Tag
<DamageType> DamageTypeTags.WITHER_IMMUNE_TO
Vanilla tag representing damage types which withers are immune to.
RegistryAccess.getRegistry(io.papermc.paper.registry.RegistryKey)
withRegistryKey.DAMAGE_TYPE