Class DamageSourceRegistry

java.lang.Object
com.idark.valoria.registries.DamageSourceRegistry

public class DamageSourceRegistry extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>
     
    static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.damagesource.DamageSource
    source(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> key)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • BLEEDING

      public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> BLEEDING
    • QUICKSAND_SUFFOCATING

      public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> QUICKSAND_SUFFOCATING
  • Constructor Details

    • DamageSourceRegistry

      public DamageSourceRegistry()
  • Method Details

    • source

      public static net.minecraft.world.damagesource.DamageSource source(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> key)