Class EBDamageSources

java.lang.Object
com.binaris.wizardry.setup.registries.EBDamageSources

public final class EBDamageSources 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>
     
    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 Type
    Method
    Description
    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
    static void
     
    static boolean
    isMagic(net.minecraft.world.damagesource.DamageSource source)
     

    Methods inherited from class java.lang.Object

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