Class EBDamageSources
java.lang.Object
com.binaris.wizardry.setup.registries.EBDamageSources
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>static ArrayList<net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>>static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>createType(net.minecraft.resources.ResourceLocation location) TODO (Check addon compatibility) Could be used for addons, add a custom magic damage type to the mod liststatic voidinit()static booleanisMagic(net.minecraft.world.damagesource.DamageSource source)
-
Field Details
-
TYPES
public static ArrayList<net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType>> TYPES -
MAGIC
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> MAGIC -
SORCERY
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> SORCERY -
FIRE
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> FIRE -
FROST
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> FROST -
SHOCK
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> SHOCK -
WITHER
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> WITHER -
POISON
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> POISON -
FORCE
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> FORCE -
BLAST
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> BLAST -
RADIANT
public static final net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> RADIANT
-
-
Method Details
-
init
public static void init() -
createType
public static net.minecraft.resources.ResourceKey<net.minecraft.world.damagesource.DamageType> createType(net.minecraft.resources.ResourceLocation location) TODO (Check addon compatibility) Could be used for addons, add a custom magic damage type to the mod list -
isMagic
public static boolean isMagic(net.minecraft.world.damagesource.DamageSource source)
-