Uses of Interface
org.bukkit.damage.DamageType
Packages that use DamageType
Package
Description
This package contains events related to the Paper registry system.
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
Methods in io.papermc.paper.datacomponent.item that return types with arguments of type DamageTypeModifier and TypeMethodDescriptionBlocksAttacks.bypassedBy()Gets the DamageType that can bypass the blocking.DamageResistant.types()The types that this damage type is invincible to.Method parameters in io.papermc.paper.datacomponent.item with type arguments of type DamageTypeModifier and TypeMethodDescriptionBlocksAttacks.Builder.bypassedBy(@Nullable TagKey<DamageType> bypassedBy) static DamageResistantDamageResistant.damageResistant(TagKey<DamageType> types) -
Uses of DamageType in io.papermc.paper.datacomponent.item.blocksattacks
Methods in io.papermc.paper.datacomponent.item.blocksattacks that return types with arguments of type DamageTypeMethod parameters in io.papermc.paper.datacomponent.item.blocksattacks with type arguments of type DamageType -
Uses of DamageType in io.papermc.paper.registry
Fields in io.papermc.paper.registry with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final RegistryKey<DamageType> RegistryKey.DAMAGE_TYPEData-driven registry for damage types. -
Uses of DamageType in io.papermc.paper.registry.event
Fields in io.papermc.paper.registry.event with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final RegistryEventProvider<DamageType, DamageTypeRegistryEntry.Builder> RegistryEvents.DAMAGE_TYPE -
Uses of DamageType in io.papermc.paper.registry.keys
Fields in io.papermc.paper.registry.keys with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final TypedKey<DamageType> DamageTypeKeys.ARROWminecraft:arrowstatic final TypedKey<DamageType> DamageTypeKeys.BAD_RESPAWN_POINTminecraft:bad_respawn_pointstatic final TypedKey<DamageType> DamageTypeKeys.CACTUSminecraft:cactusstatic final TypedKey<DamageType> DamageTypeKeys.CAMPFIREminecraft:campfirestatic final TypedKey<DamageType> DamageTypeKeys.CRAMMINGminecraft:crammingstatic final TypedKey<DamageType> DamageTypeKeys.DRAGON_BREATHminecraft:dragon_breathstatic final TypedKey<DamageType> DamageTypeKeys.DROWNminecraft:drownstatic final TypedKey<DamageType> DamageTypeKeys.DRY_OUTminecraft:dry_outstatic final TypedKey<DamageType> DamageTypeKeys.ENDER_PEARLminecraft:ender_pearlstatic final TypedKey<DamageType> DamageTypeKeys.EXPLOSIONminecraft:explosionstatic final TypedKey<DamageType> DamageTypeKeys.FALLminecraft:fallstatic final TypedKey<DamageType> DamageTypeKeys.FALLING_ANVILminecraft:falling_anvilstatic final TypedKey<DamageType> DamageTypeKeys.FALLING_BLOCKminecraft:falling_blockstatic final TypedKey<DamageType> DamageTypeKeys.FALLING_STALACTITEminecraft:falling_stalactitestatic final TypedKey<DamageType> DamageTypeKeys.FIREBALLminecraft:fireballstatic final TypedKey<DamageType> DamageTypeKeys.FIREWORKSminecraft:fireworksstatic final TypedKey<DamageType> DamageTypeKeys.FLY_INTO_WALLminecraft:fly_into_wallstatic final TypedKey<DamageType> DamageTypeKeys.FREEZEminecraft:freezestatic final TypedKey<DamageType> DamageTypeKeys.GENERICminecraft:genericstatic final TypedKey<DamageType> DamageTypeKeys.GENERIC_KILLminecraft:generic_killstatic final TypedKey<DamageType> DamageTypeKeys.HOT_FLOORminecraft:hot_floorstatic final TypedKey<DamageType> DamageTypeKeys.IN_FIREminecraft:in_firestatic final TypedKey<DamageType> DamageTypeKeys.IN_WALLminecraft:in_wallstatic final TypedKey<DamageType> DamageTypeKeys.INDIRECT_MAGICminecraft:indirect_magicstatic final TypedKey<DamageType> DamageTypeKeys.LAVAminecraft:lavastatic final TypedKey<DamageType> DamageTypeKeys.LIGHTNING_BOLTminecraft:lightning_boltstatic final TypedKey<DamageType> DamageTypeKeys.MACE_SMASHminecraft:mace_smashstatic final TypedKey<DamageType> DamageTypeKeys.MAGICminecraft:magicstatic final TypedKey<DamageType> DamageTypeKeys.MOB_ATTACKminecraft:mob_attackstatic final TypedKey<DamageType> DamageTypeKeys.MOB_ATTACK_NO_AGGROminecraft:mob_attack_no_aggrostatic final TypedKey<DamageType> DamageTypeKeys.MOB_PROJECTILEminecraft:mob_projectilestatic final TypedKey<DamageType> DamageTypeKeys.ON_FIREminecraft:on_firestatic final TypedKey<DamageType> DamageTypeKeys.OUT_OF_WORLDminecraft:out_of_worldstatic final TypedKey<DamageType> DamageTypeKeys.OUTSIDE_BORDERminecraft:outside_borderstatic final TypedKey<DamageType> DamageTypeKeys.PLAYER_ATTACKminecraft:player_attackstatic final TypedKey<DamageType> DamageTypeKeys.PLAYER_EXPLOSIONminecraft:player_explosionstatic final TypedKey<DamageType> DamageTypeKeys.SONIC_BOOMminecraft:sonic_boomstatic final TypedKey<DamageType> DamageTypeKeys.SPITminecraft:spitstatic final TypedKey<DamageType> DamageTypeKeys.STALAGMITEminecraft:stalagmitestatic final TypedKey<DamageType> DamageTypeKeys.STARVEminecraft:starvestatic final TypedKey<DamageType> DamageTypeKeys.STINGminecraft:stingstatic final TypedKey<DamageType> DamageTypeKeys.SWEET_BERRY_BUSHminecraft:sweet_berry_bushstatic final TypedKey<DamageType> DamageTypeKeys.THORNSminecraft:thornsstatic final TypedKey<DamageType> DamageTypeKeys.THROWNminecraft:thrownstatic final TypedKey<DamageType> DamageTypeKeys.TRIDENTminecraft:tridentstatic final TypedKey<DamageType> DamageTypeKeys.UNATTRIBUTED_FIREBALLminecraft:unattributed_fireballstatic final TypedKey<DamageType> DamageTypeKeys.WIND_CHARGEminecraft:wind_chargestatic final TypedKey<DamageType> DamageTypeKeys.WITHERminecraft:witherstatic final TypedKey<DamageType> DamageTypeKeys.WITHER_SKULLminecraft:wither_skullMethods in io.papermc.paper.registry.keys that return types with arguments of type DamageTypeModifier and TypeMethodDescriptionstatic TypedKey<DamageType> Creates a typed key forDamageTypein the registryminecraft:damage_type. -
Uses of DamageType in io.papermc.paper.registry.keys.tags
Fields in io.papermc.paper.registry.keys.tags with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final TagKey<DamageType> DamageTypeTagKeys.ALWAYS_HURTS_ENDER_DRAGONS#minecraft:always_hurts_ender_dragonsstatic final TagKey<DamageType> DamageTypeTagKeys.ALWAYS_KILLS_ARMOR_STANDS#minecraft:always_kills_armor_standsstatic final TagKey<DamageType> DamageTypeTagKeys.ALWAYS_MOST_SIGNIFICANT_FALL#minecraft:always_most_significant_fallstatic final TagKey<DamageType> DamageTypeTagKeys.ALWAYS_TRIGGERS_SILVERFISH#minecraft:always_triggers_silverfishstatic final TagKey<DamageType> DamageTypeTagKeys.AVOIDS_GUARDIAN_THORNS#minecraft:avoids_guardian_thornsstatic final TagKey<DamageType> DamageTypeTagKeys.BURN_FROM_STEPPING#minecraft:burn_from_steppingstatic final TagKey<DamageType> DamageTypeTagKeys.BURNS_ARMOR_STANDS#minecraft:burns_armor_standsstatic final TagKey<DamageType> DamageTypeTagKeys.BYPASSES_ARMOR#minecraft:bypasses_armorstatic final TagKey<DamageType> DamageTypeTagKeys.BYPASSES_EFFECTS#minecraft:bypasses_effectsstatic final TagKey<DamageType> DamageTypeTagKeys.BYPASSES_ENCHANTMENTS#minecraft:bypasses_enchantmentsstatic final TagKey<DamageType> DamageTypeTagKeys.BYPASSES_INVULNERABILITY#minecraft:bypasses_invulnerabilitystatic final TagKey<DamageType> DamageTypeTagKeys.BYPASSES_RESISTANCE#minecraft:bypasses_resistancestatic final TagKey<DamageType> DamageTypeTagKeys.BYPASSES_SHIELD#minecraft:bypasses_shieldstatic final TagKey<DamageType> DamageTypeTagKeys.BYPASSES_WOLF_ARMOR#minecraft:bypasses_wolf_armorstatic final TagKey<DamageType> DamageTypeTagKeys.CAN_BREAK_ARMOR_STAND#minecraft:can_break_armor_standstatic final TagKey<DamageType> DamageTypeTagKeys.DAMAGES_HELMET#minecraft:damages_helmetstatic final TagKey<DamageType> DamageTypeTagKeys.IGNITES_ARMOR_STANDS#minecraft:ignites_armor_standsstatic final TagKey<DamageType> DamageTypeTagKeys.IS_DROWNING#minecraft:is_drowningstatic final TagKey<DamageType> DamageTypeTagKeys.IS_EXPLOSION#minecraft:is_explosionstatic final TagKey<DamageType> DamageTypeTagKeys.IS_FALL#minecraft:is_fallstatic final TagKey<DamageType> DamageTypeTagKeys.IS_FIRE#minecraft:is_firestatic final TagKey<DamageType> DamageTypeTagKeys.IS_FREEZING#minecraft:is_freezingstatic final TagKey<DamageType> DamageTypeTagKeys.IS_LIGHTNING#minecraft:is_lightningstatic final TagKey<DamageType> DamageTypeTagKeys.IS_PLAYER_ATTACK#minecraft:is_player_attackstatic final TagKey<DamageType> DamageTypeTagKeys.IS_PROJECTILE#minecraft:is_projectilestatic final TagKey<DamageType> DamageTypeTagKeys.MACE_SMASH#minecraft:mace_smashstatic final TagKey<DamageType> DamageTypeTagKeys.NO_ANGER#minecraft:no_angerstatic final TagKey<DamageType> DamageTypeTagKeys.NO_IMPACT#minecraft:no_impactstatic final TagKey<DamageType> DamageTypeTagKeys.NO_KNOCKBACK#minecraft:no_knockbackstatic final TagKey<DamageType> DamageTypeTagKeys.PANIC_CAUSES#minecraft:panic_causesstatic final TagKey<DamageType> DamageTypeTagKeys.PANIC_ENVIRONMENTAL_CAUSES#minecraft:panic_environmental_causesstatic final TagKey<DamageType> DamageTypeTagKeys.WITCH_RESISTANT_TO#minecraft:witch_resistant_tostatic final TagKey<DamageType> DamageTypeTagKeys.WITHER_IMMUNE_TO#minecraft:wither_immune_toMethods in io.papermc.paper.registry.keys.tags that return types with arguments of type DamageTypeModifier and TypeMethodDescriptionstatic TagKey<DamageType> Creates a tag key forDamageTypein the registryminecraft:damage_type. -
Uses of DamageType in org.bukkit
Fields in org.bukkit with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final Registry<DamageType> Registry.DAMAGE_TYPEDeprecated.Methods in org.bukkit with parameters of type DamageTypeModifier and TypeMethodDescriptionUnsafeValues.createDamageSourceBuilder(@NotNull DamageType damageType) Deprecated.Create a newDamageSource.Builder. -
Uses of DamageType in org.bukkit.damage
Fields in org.bukkit.damage declared as DamageTypeModifier and TypeFieldDescriptionstatic final DamageTypeDamageType.ARROWstatic final DamageTypeDamageType.BAD_RESPAWN_POINTstatic final DamageTypeDamageType.CACTUSstatic final DamageTypeDamageType.CAMPFIREstatic final DamageTypeDamageType.CRAMMINGstatic final DamageTypeDamageType.DRAGON_BREATHstatic final DamageTypeDamageType.DROWNstatic final DamageTypeDamageType.DRY_OUTstatic final DamageTypeDamageType.ENDER_PEARLstatic final DamageTypeDamageType.EXPLOSIONstatic final DamageTypeDamageType.FALLstatic final DamageTypeDamageType.FALLING_ANVILstatic final DamageTypeDamageType.FALLING_BLOCKstatic final DamageTypeDamageType.FALLING_STALACTITEstatic final DamageTypeDamageType.FIREBALLstatic final DamageTypeDamageType.FIREWORKSstatic final DamageTypeDamageType.FLY_INTO_WALLstatic final DamageTypeDamageType.FREEZEstatic final DamageTypeDamageType.GENERICstatic final DamageTypeDamageType.GENERIC_KILLstatic final DamageTypeDamageType.HOT_FLOORstatic final DamageTypeDamageType.IN_FIREstatic final DamageTypeDamageType.IN_WALLstatic final DamageTypeDamageType.INDIRECT_MAGICstatic final DamageTypeDamageType.LAVAstatic final DamageTypeDamageType.LIGHTNING_BOLTstatic final DamageTypeDamageType.MACE_SMASHstatic final DamageTypeDamageType.MAGICstatic final DamageTypeDamageType.MOB_ATTACKstatic final DamageTypeDamageType.MOB_ATTACK_NO_AGGROstatic final DamageTypeDamageType.MOB_PROJECTILEstatic final DamageTypeDamageType.ON_FIREstatic final DamageTypeDamageType.OUT_OF_WORLDstatic final DamageTypeDamageType.OUTSIDE_BORDERstatic final DamageTypeDamageType.PLAYER_ATTACKstatic final DamageTypeDamageType.PLAYER_EXPLOSIONstatic final DamageTypeDamageType.SONIC_BOOMstatic final DamageTypeDamageType.SPITstatic final DamageTypeDamageType.STALAGMITEstatic final DamageTypeDamageType.STARVEstatic final DamageTypeDamageType.STINGstatic final DamageTypeDamageType.SWEET_BERRY_BUSHstatic final DamageTypeDamageType.THORNSstatic final DamageTypeDamageType.THROWNstatic final DamageTypeDamageType.TRIDENTstatic final DamageTypeDamageType.UNATTRIBUTED_FIREBALLstatic final DamageTypeDamageType.WIND_CHARGEstatic final DamageTypeDamageType.WITHERstatic final DamageTypeDamageType.WITHER_SKULLMethods in org.bukkit.damage that return DamageTypeMethods in org.bukkit.damage with parameters of type DamageTypeModifier and TypeMethodDescriptionstatic @NotNull DamageSource.BuilderDamageSource.builder(@NotNull DamageType damageType) Create a newDamageSource.Builder. -
Uses of DamageType in org.bukkit.inventory.meta
Methods in org.bukkit.inventory.meta that return types with arguments of type DamageTypeModifier and TypeMethodDescriptionItemMeta.getDamageResistant()Gets the type of damage this item will be resistant to when in entity form.Method parameters in org.bukkit.inventory.meta with type arguments of type DamageTypeModifier and TypeMethodDescriptionvoidItemMeta.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
Fields in org.bukkit.tag with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final Tag<DamageType> DamageTypeTags.ALWAYS_HURTS_ENDER_DRAGONSstatic final Tag<DamageType> DamageTypeTags.ALWAYS_KILLS_ARMOR_STANDSstatic final Tag<DamageType> DamageTypeTags.ALWAYS_MOST_SIGNIFICANT_FALLstatic final Tag<DamageType> DamageTypeTags.ALWAYS_TRIGGERS_SILVERFISHstatic final Tag<DamageType> DamageTypeTags.AVOIDS_GUARDIAN_THORNSstatic final Tag<DamageType> DamageTypeTags.BURN_FROM_STEPPINGstatic final Tag<DamageType> DamageTypeTags.BURNS_ARMOR_STANDSstatic final Tag<DamageType> DamageTypeTags.BYPASSES_ARMORstatic final Tag<DamageType> DamageTypeTags.BYPASSES_EFFECTSstatic final Tag<DamageType> DamageTypeTags.BYPASSES_ENCHANTMENTSstatic final Tag<DamageType> DamageTypeTags.BYPASSES_INVULNERABILITYstatic final Tag<DamageType> DamageTypeTags.BYPASSES_RESISTANCEstatic final Tag<DamageType> DamageTypeTags.BYPASSES_SHIELDstatic final Tag<DamageType> DamageTypeTags.BYPASSES_WOLF_ARMORstatic final Tag<DamageType> DamageTypeTags.CAN_BREAK_ARMOR_STANDstatic final Tag<DamageType> DamageTypeTags.DAMAGES_HELMETstatic final Tag<DamageType> DamageTypeTags.IGNITES_ARMOR_STANDSstatic final Tag<DamageType> DamageTypeTags.IS_DROWNINGstatic final Tag<DamageType> DamageTypeTags.IS_EXPLOSIONstatic final Tag<DamageType> DamageTypeTags.IS_FALLstatic final Tag<DamageType> DamageTypeTags.IS_FIREstatic final Tag<DamageType> DamageTypeTags.IS_FREEZINGstatic final Tag<DamageType> DamageTypeTags.IS_LIGHTNINGstatic final Tag<DamageType> DamageTypeTags.IS_MACE_SMASHDeprecated, for removal: This API element is subject to removal in a future version.static final Tag<DamageType> DamageTypeTags.IS_PLAYER_ATTACKstatic final Tag<DamageType> DamageTypeTags.IS_PROJECTILEstatic final Tag<DamageType> DamageTypeTags.MACE_SMASHstatic final Tag<DamageType> DamageTypeTags.NO_ANGERstatic final Tag<DamageType> DamageTypeTags.NO_IMPACTstatic final Tag<DamageType> DamageTypeTags.NO_KNOCKBACKstatic final Tag<DamageType> DamageTypeTags.PANIC_CAUSESstatic final Tag<DamageType> DamageTypeTags.PANIC_ENVIRONMENTAL_CAUSESstatic final Tag<DamageType> DamageTypeTags.WITCH_RESISTANT_TOstatic final Tag<DamageType> DamageTypeTags.WITHER_IMMUNE_TO
RegistryAccess.getRegistry(RegistryKey)withRegistryKey.DAMAGE_TYPE