Uses of Record Class
net.minecraft.entity.damage.DamageType
Packages that use DamageType
Package
Description
-
Uses of DamageType in net.minecraft.entity.damage
Fields in net.minecraft.entity.damage with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final RegistryKey<DamageType>DamageTypes.ARROWstatic final RegistryKey<DamageType>DamageTypes.BAD_RESPAWN_POINTstatic final RegistryKey<DamageType>DamageTypes.CACTUSstatic final com.mojang.serialization.Codec<DamageType>DamageType.CODECstatic final RegistryKey<DamageType>DamageTypes.CRAMMINGstatic final RegistryKey<DamageType>DamageTypes.DRAGON_BREATHstatic final RegistryKey<DamageType>DamageTypes.DROWNstatic final RegistryKey<DamageType>DamageTypes.DRY_OUTstatic final RegistryKey<DamageType>DamageTypes.EXPLOSIONstatic final RegistryKey<DamageType>DamageTypes.FALLstatic final RegistryKey<DamageType>DamageTypes.FALLING_ANVILstatic final RegistryKey<DamageType>DamageTypes.FALLING_BLOCKstatic final RegistryKey<DamageType>DamageTypes.FALLING_STALACTITEstatic final RegistryKey<DamageType>DamageTypes.FIREBALLstatic final RegistryKey<DamageType>DamageTypes.FIREWORKSstatic final RegistryKey<DamageType>DamageTypes.FLY_INTO_WALLstatic final RegistryKey<DamageType>DamageTypes.FREEZEstatic final RegistryKey<DamageType>DamageTypes.GENERICstatic final RegistryKey<DamageType>DamageTypes.GENERIC_KILLstatic final RegistryKey<DamageType>DamageTypes.HOT_FLOORstatic final RegistryKey<DamageType>DamageTypes.IN_FIREstatic final RegistryKey<DamageType>DamageTypes.IN_WALLstatic final RegistryKey<DamageType>DamageTypes.INDIRECT_MAGICstatic final RegistryKey<DamageType>DamageTypes.LAVAstatic final RegistryKey<DamageType>DamageTypes.LIGHTNING_BOLTstatic final RegistryKey<DamageType>DamageTypes.MAGICstatic final RegistryKey<DamageType>DamageTypes.MOB_ATTACKstatic final RegistryKey<DamageType>DamageTypes.MOB_ATTACK_NO_AGGROstatic final RegistryKey<DamageType>DamageTypes.MOB_PROJECTILEstatic final RegistryKey<DamageType>DamageTypes.ON_FIREstatic final RegistryKey<DamageType>DamageTypes.OUT_OF_WORLDstatic final RegistryKey<DamageType>DamageTypes.OUTSIDE_BORDERstatic final RegistryKey<DamageType>DamageTypes.PLAYER_ATTACKstatic final RegistryKey<DamageType>DamageTypes.PLAYER_EXPLOSIONprivate final Registry<DamageType>DamageSources.registrystatic final RegistryKey<DamageType>DamageTypes.SONIC_BOOMstatic final RegistryKey<DamageType>DamageTypes.STALAGMITEstatic final RegistryKey<DamageType>DamageTypes.STARVEstatic final RegistryKey<DamageType>DamageTypes.STINGstatic final RegistryKey<DamageType>DamageTypes.SWEET_BERRY_BUSHstatic final RegistryKey<DamageType>DamageTypes.THORNSstatic final RegistryKey<DamageType>DamageTypes.THROWNstatic final RegistryKey<DamageType>DamageTypes.TRIDENTprivate final RegistryEntry<DamageType>DamageSource.typestatic final RegistryKey<DamageType>DamageTypes.UNATTRIBUTED_FIREBALLstatic final RegistryKey<DamageType>DamageTypes.WITHERstatic final RegistryKey<DamageType>DamageTypes.WITHER_SKULLMethods in net.minecraft.entity.damage that return DamageTypeMethods in net.minecraft.entity.damage that return types with arguments of type DamageTypeMethod parameters in net.minecraft.entity.damage with type arguments of type DamageTypeModifier and TypeMethodDescriptionstatic voidDamageTypes.bootstrap(Registerable<DamageType> damageTypeRegisterable) private DamageSourceDamageSources.create(RegistryKey<DamageType> key) private DamageSourceDamageSources.create(RegistryKey<DamageType> key, @Nullable Entity attacker) private DamageSourceDamageSources.create(RegistryKey<DamageType> key, @Nullable Entity source, @Nullable Entity attacker) booleanDamageSource.isIn(TagKey<DamageType> tag) booleanDamageSource.isOf(RegistryKey<DamageType> typeKey) Constructor parameters in net.minecraft.entity.damage with type arguments of type DamageTypeModifierConstructorDescriptionDamageSource(RegistryEntry<DamageType> type) DamageSource(RegistryEntry<DamageType> type, @Nullable Entity attacker) DamageSource(RegistryEntry<DamageType> type, @Nullable Entity source, @Nullable Entity attacker) privateDamageSource(RegistryEntry<DamageType> type, @Nullable Entity source, @Nullable Entity attacker, @Nullable Vec3d position) DamageSource(RegistryEntry<DamageType> type, Vec3d position) -
Uses of DamageType in net.minecraft.predicate.entity
Fields in net.minecraft.predicate.entity with type parameters of type DamageTypeModifier and TypeFieldDescriptionprivate final ImmutableList.Builder<TagPredicate<DamageType>>DamageSourcePredicate.Builder.tagPredicatesprivate final List<TagPredicate<DamageType>>DamageSourcePredicate.tagsThe field for thetagsrecord component.Methods in net.minecraft.predicate.entity that return types with arguments of type DamageTypeModifier and TypeMethodDescriptionDamageSourcePredicate.tags()Returns the value of thetagsrecord component.Method parameters in net.minecraft.predicate.entity with type arguments of type DamageTypeModifier and TypeMethodDescriptionDamageSourcePredicate.Builder.tag(TagPredicate<DamageType> tagPredicate) Constructor parameters in net.minecraft.predicate.entity with type arguments of type DamageTypeModifierConstructorDescriptionDamageSourcePredicate(List<TagPredicate<DamageType>> tagPredicates, Optional<EntityPredicate> optional, Optional<EntityPredicate> optional2) -
Uses of DamageType in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final RegistryKey<Registry<DamageType>>RegistryKeys.DAMAGE_TYPE -
Uses of DamageType in net.minecraft.registry.tag
Fields in net.minecraft.registry.tag with type parameters of type DamageTypeModifier and TypeFieldDescriptionstatic final TagKey<DamageType>DamageTypeTags.ALWAYS_HURTS_ENDER_DRAGONSstatic final TagKey<DamageType>DamageTypeTags.ALWAYS_KILLS_ARMOR_STANDSstatic final TagKey<DamageType>DamageTypeTags.ALWAYS_MOST_SIGNIFICANT_FALLstatic final TagKey<DamageType>DamageTypeTags.ALWAYS_TRIGGERS_SILVERFISHstatic final TagKey<DamageType>DamageTypeTags.AVOIDS_GUARDIAN_THORNSstatic final TagKey<DamageType>DamageTypeTags.BREEZE_IMMUNE_TOstatic final TagKey<DamageType>DamageTypeTags.BURNS_ARMOR_STANDSstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_ARMORstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_COOLDOWNstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_EFFECTSstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_ENCHANTMENTSstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_INVULNERABILITYstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_RESISTANCEstatic final TagKey<DamageType>DamageTypeTags.BYPASSES_SHIELDstatic final TagKey<DamageType>DamageTypeTags.CAN_BREAK_ARMOR_STANDstatic final TagKey<DamageType>DamageTypeTags.DAMAGES_HELMETstatic final TagKey<DamageType>DamageTypeTags.IGNITES_ARMOR_STANDSstatic final TagKey<DamageType>DamageTypeTags.IS_DROWNINGstatic final TagKey<DamageType>DamageTypeTags.IS_EXPLOSIONstatic final TagKey<DamageType>DamageTypeTags.IS_FALLstatic final TagKey<DamageType>DamageTypeTags.IS_FIREstatic final TagKey<DamageType>DamageTypeTags.IS_FREEZINGstatic final TagKey<DamageType>DamageTypeTags.IS_LIGHTNINGstatic final TagKey<DamageType>DamageTypeTags.IS_PROJECTILEstatic final TagKey<DamageType>DamageTypeTags.NO_ANGERstatic final TagKey<DamageType>DamageTypeTags.NO_IMPACTstatic final TagKey<DamageType>DamageTypeTags.NO_KNOCKBACKstatic final TagKey<DamageType>DamageTypeTags.WITCH_RESISTANT_TOstatic final TagKey<DamageType>DamageTypeTags.WITHER_IMMUNE_TOMethods in net.minecraft.registry.tag that return types with arguments of type DamageType