Class CustomDamageTypes
java.lang.Object
com.bleudev.nine_lifes.custom.CustomDamageTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> static final net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> static final net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.entity.damage.DamageSourceof(net.minecraft.entity.Entity entity, net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> key) static net.minecraft.entity.damage.DamageSourceof(net.minecraft.world.World world, net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> key)
-
Field Details
-
AMETHYSM_DAMAGE_TYPE
public static final net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> AMETHYSM_DAMAGE_TYPE -
CHARGED_AMETHYST_DAMAGE_TYPE
public static final net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> CHARGED_AMETHYST_DAMAGE_TYPE -
UNKNOWN_DAMAGE_TYPE
public static final net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> UNKNOWN_DAMAGE_TYPE
-
-
Constructor Details
-
CustomDamageTypes
public CustomDamageTypes()
-
-
Method Details
-
of
public static net.minecraft.entity.damage.DamageSource of(net.minecraft.world.World world, net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> key) -
of
public static net.minecraft.entity.damage.DamageSource of(net.minecraft.entity.Entity entity, net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> key)
-