Class ModDamageTypes

java.lang.Object
net.minheur.mhm_bitsnbobs.util.ModDamageTypes

public class ModDamageTypes extends Object
Registers the damage types.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraft.resources.ResourceLocation
     
    static final net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.world.damagesource.DamageSource
    brainFreeze(net.minecraft.world.level.Level level)
     
    static net.minecraft.world.damagesource.DamageSource
    electrocuted(net.minecraft.world.level.Level level)
     

    Methods inherited from class java.lang.Object

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

    • BRAIN_FREEZE_ID

      public static final net.minecraft.resources.ResourceLocation BRAIN_FREEZE_ID
    • ELECTROCUTED_ID

      public static final net.minecraft.resources.ResourceLocation ELECTROCUTED_ID
  • Constructor Details

    • ModDamageTypes

      public ModDamageTypes()
  • Method Details

    • brainFreeze

      public static net.minecraft.world.damagesource.DamageSource brainFreeze(net.minecraft.world.level.Level level)
    • electrocuted

      public static net.minecraft.world.damagesource.DamageSource electrocuted(net.minecraft.world.level.Level level)