Package com.idark.valoria.registries
Class DamageSourceRegistry
java.lang.Object
com.idark.valoria.registries.DamageSourceRegistry
-
Field Summary
Modifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>
static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.world.damagesource.DamageSource
source
(net.minecraft.world.level.Level level, net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> key)
-
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)
-