Uses of Interface
org.bukkit.damage.DamageType
Packages that use 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.Isolated components which may form part of item meta.
Tag-related API.-
Uses of DamageType in org.bukkit
Fields in org.bukkit with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final Registry<DamageType> Registry.DAMAGE_TYPEDamage types.Methods in org.bukkit with parameters of type DamageTypeModifier and TypeMethodDescriptionUnsafeValues.createDamageSourceBuilder(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 DamageSource.BuilderDamageSource.builder(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(Tag<DamageType> tag) Sets the type of damage this item will be resistant to when in entity form. -
Uses of DamageType in org.bukkit.inventory.meta.components
Methods in org.bukkit.inventory.meta.components that return types with arguments of type DamageTypeModifier and TypeMethodDescriptionBlocksAttacksComponent.getBypassedBy()Gets the type of damage that will bypass blocking by this item.BlocksAttacksComponent.DamageReduction.getTypes()Gets the types to which this reduction applies.Methods in org.bukkit.inventory.meta.components with parameters of type DamageTypeModifier and TypeMethodDescriptionBlocksAttacksComponent.addDamageReduction(DamageType type, float base, float factor, float horizontalBlockingAngle) Add a new damage reduction to this component, which blocks specific types of attacks.voidBlocksAttacksComponent.DamageReduction.setTypes(DamageType type) Sets the types to which this reduction applies.Method parameters in org.bukkit.inventory.meta.components with type arguments of type DamageTypeModifier and TypeMethodDescriptionBlocksAttacksComponent.addDamageReduction(Collection<DamageType> types, float base, float factor, float horizontalBlockingAngle) Add a new damage reduction to this component, which blocks specific types of attacks.BlocksAttacksComponent.addDamageReduction(Tag<DamageType> tag, float base, float factor, float horizontalBlockingAngle) Add a new damage reduction to this component, which blocks specific types of attacks.voidBlocksAttacksComponent.setBypassedBy(Tag<DamageType> tag) Sets the type of damage that will bypass blocking by this item.voidBlocksAttacksComponent.DamageReduction.setTypes(Collection<DamageType> types) Sets the types to which this reduction applies.voidBlocksAttacksComponent.DamageReduction.setTypes(Tag<DamageType> tag) Sets the types to which this reduction applies. -
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_DRAGONSVanilla tag representing damage types which always hurt enderdragons.static final Tag<DamageType> DamageTypeTags.ALWAYS_KILLS_ARMOR_STANDSVanilla tag representing damage types which always kill armor stands.static final Tag<DamageType> DamageTypeTags.ALWAYS_MOST_SIGNIFICANT_FALLVanilla tag representing damage types which cause maximum fall damage.static final Tag<DamageType> DamageTypeTags.ALWAYS_TRIGGERS_SILVERFISHVanilla tag representing damage types which always trigger silverfish.static final Tag<DamageType> DamageTypeTags.AVOIDS_GUARDIAN_THORNSVanilla tag representing damage types which avoid guardian thorn damage.static final Tag<DamageType> DamageTypeTags.BURN_FROM_STEPPINGVanilla tag representing damage types which originate from hot blocks.static final Tag<DamageType> DamageTypeTags.BURNS_ARMOR_STANDSVanilla tag representing damage types which burn armor stands.static final Tag<DamageType> DamageTypeTags.BYPASSES_ARMORVanilla tag representing damage types which bypass armor.static final Tag<DamageType> DamageTypeTags.BYPASSES_COOLDOWNVanilla tag representing damage types which bypass cooldowns.static final Tag<DamageType> DamageTypeTags.BYPASSES_EFFECTSVanilla tag representing damage types which bypass effects.static final Tag<DamageType> DamageTypeTags.BYPASSES_ENCHANTMENTSVanilla tag representing damage types which bypass enchantments.static final Tag<DamageType> DamageTypeTags.BYPASSES_INVULNERABILITYVanilla tag representing damage types which bypass invulnerability.static final Tag<DamageType> DamageTypeTags.BYPASSES_RESISTANCEVanilla tag representing damage types which bypass resistance.static final Tag<DamageType> DamageTypeTags.BYPASSES_SHIELDVanilla tag representing damage types which bypass shields.static final Tag<DamageType> DamageTypeTags.BYPASSES_WOLF_ARMORVanilla tag representing damage types which bypass wolf armor.static final Tag<DamageType> DamageTypeTags.CAN_BREAK_ARMOR_STANDVanilla tag representing damage types which can break armor stands.static final Tag<DamageType> DamageTypeTags.DAMAGES_HELMETVanilla tag representing damage types which damage helmets.static final Tag<DamageType> DamageTypeTags.IGNITES_ARMOR_STANDSVanilla tag representing damage types which ignite armor stands.static final Tag<DamageType> DamageTypeTags.IS_DROWNINGVanilla tag representing all drowning damage types.static final Tag<DamageType> DamageTypeTags.IS_EXPLOSIONVanilla tag representing all explosion damage types.static final Tag<DamageType> DamageTypeTags.IS_FALLVanilla tag representing all fall damage types.static final Tag<DamageType> DamageTypeTags.IS_FIREVanilla tag representing all fire damage types.static final Tag<DamageType> DamageTypeTags.IS_FREEZINGVanilla tag representing all freezing damage types.static final Tag<DamageType> DamageTypeTags.IS_LIGHTNINGVanilla tag representing all lightning damage types.static final Tag<DamageType> DamageTypeTags.IS_MACE_SMASHVanilla tag representing damage types which originate from mace smashes.static final Tag<DamageType> DamageTypeTags.IS_PLAYER_ATTACKVanilla tag representing damage types which are from player attacks.static final Tag<DamageType> DamageTypeTags.IS_PROJECTILEVanilla tag representing damage types which originate from projectiles.static final Tag<DamageType> DamageTypeTags.NO_ANGERVanilla tag representing damage types which do not cause entities to anger.static final Tag<DamageType> DamageTypeTags.NO_IMPACTVanilla tag representing damage types which do not cause an impact.static final Tag<DamageType> DamageTypeTags.NO_KNOCKBACKVanilla tag representing damage types which do not cause knockback.static final Tag<DamageType> DamageTypeTags.PANIC_CAUSESVanilla tag representing damage types which cause entities to panic.static final Tag<DamageType> DamageTypeTags.PANIC_ENVIRONMENTAL_CAUSESVanilla tag representing environmental damage types which cause entities to panic.static final Tag<DamageType> DamageTypeTags.WITCH_RESISTANT_TOVanilla tag representing damage types which witches are resistant to.static final Tag<DamageType> DamageTypeTags.WITHER_IMMUNE_TOVanilla tag representing damage types which withers are immune to.