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 io.papermc.paper.registry.keys.tags
Modifier and TypeFieldDescriptionstatic final TagKey
<DamageType> DamageTypeTagKeys.ALWAYS_HURTS_ENDER_DRAGONS
#minecraft:always_hurts_ender_dragons
static final TagKey
<DamageType> DamageTypeTagKeys.ALWAYS_KILLS_ARMOR_STANDS
#minecraft:always_kills_armor_stands
static final TagKey
<DamageType> DamageTypeTagKeys.ALWAYS_MOST_SIGNIFICANT_FALL
#minecraft:always_most_significant_fall
static final TagKey
<DamageType> DamageTypeTagKeys.ALWAYS_TRIGGERS_SILVERFISH
#minecraft:always_triggers_silverfish
static final TagKey
<DamageType> DamageTypeTagKeys.AVOIDS_GUARDIAN_THORNS
#minecraft:avoids_guardian_thorns
static final TagKey
<DamageType> DamageTypeTagKeys.BURN_FROM_STEPPING
#minecraft:burn_from_stepping
static final TagKey
<DamageType> DamageTypeTagKeys.BURNS_ARMOR_STANDS
#minecraft:burns_armor_stands
static final TagKey
<DamageType> DamageTypeTagKeys.BYPASSES_ARMOR
#minecraft:bypasses_armor
static final TagKey
<DamageType> DamageTypeTagKeys.BYPASSES_EFFECTS
#minecraft:bypasses_effects
static final TagKey
<DamageType> DamageTypeTagKeys.BYPASSES_ENCHANTMENTS
#minecraft:bypasses_enchantments
static final TagKey
<DamageType> DamageTypeTagKeys.BYPASSES_INVULNERABILITY
#minecraft:bypasses_invulnerability
static final TagKey
<DamageType> DamageTypeTagKeys.BYPASSES_RESISTANCE
#minecraft:bypasses_resistance
static final TagKey
<DamageType> DamageTypeTagKeys.BYPASSES_SHIELD
#minecraft:bypasses_shield
static final TagKey
<DamageType> DamageTypeTagKeys.BYPASSES_WOLF_ARMOR
#minecraft:bypasses_wolf_armor
static final TagKey
<DamageType> DamageTypeTagKeys.CAN_BREAK_ARMOR_STAND
#minecraft:can_break_armor_stand
static final TagKey
<DamageType> DamageTypeTagKeys.DAMAGES_HELMET
#minecraft:damages_helmet
static final TagKey
<DamageType> DamageTypeTagKeys.IGNITES_ARMOR_STANDS
#minecraft:ignites_armor_stands
static final TagKey
<DamageType> DamageTypeTagKeys.IS_DROWNING
#minecraft:is_drowning
static final TagKey
<DamageType> DamageTypeTagKeys.IS_EXPLOSION
#minecraft:is_explosion
static final TagKey
<DamageType> DamageTypeTagKeys.IS_FALL
#minecraft:is_fall
static final TagKey
<DamageType> DamageTypeTagKeys.IS_FIRE
#minecraft:is_fire
static final TagKey
<DamageType> DamageTypeTagKeys.IS_FREEZING
#minecraft:is_freezing
static final TagKey
<DamageType> DamageTypeTagKeys.IS_LIGHTNING
#minecraft:is_lightning
static final TagKey
<DamageType> DamageTypeTagKeys.IS_PLAYER_ATTACK
#minecraft:is_player_attack
static final TagKey
<DamageType> DamageTypeTagKeys.IS_PROJECTILE
#minecraft:is_projectile
static final TagKey
<DamageType> DamageTypeTagKeys.MACE_SMASH
#minecraft:mace_smash
static final TagKey
<DamageType> DamageTypeTagKeys.NO_ANGER
#minecraft:no_anger
static final TagKey
<DamageType> DamageTypeTagKeys.NO_IMPACT
#minecraft:no_impact
static final TagKey
<DamageType> DamageTypeTagKeys.NO_KNOCKBACK
#minecraft:no_knockback
static final TagKey
<DamageType> DamageTypeTagKeys.PANIC_CAUSES
#minecraft:panic_causes
static final TagKey
<DamageType> DamageTypeTagKeys.PANIC_ENVIRONMENTAL_CAUSES
#minecraft:panic_environmental_causes
static final TagKey
<DamageType> DamageTypeTagKeys.WITCH_RESISTANT_TO
#minecraft:witch_resistant_to
static final TagKey
<DamageType> DamageTypeTagKeys.WITHER_IMMUNE_TO
#minecraft:wither_immune_to
Modifier and TypeMethodDescriptionstatic TagKey
<DamageType> Creates a tag 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