Class CustomDamageTypes

java.lang.Object
com.bleudev.nine_lifes.custom.CustomDamageTypes

public class CustomDamageTypes extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.entity.damage.DamageSource
    of(net.minecraft.entity.Entity entity, net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> key)
     
    static net.minecraft.entity.damage.DamageSource
    of(net.minecraft.world.World world, net.minecraft.registry.RegistryKey<net.minecraft.entity.damage.DamageType> key)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)