Class ArmorMaterialEvents

java.lang.Object
com.github.thedeathlycow.thermoo.api.armor.material.ArmorMaterialEvents

@Deprecated public class ArmorMaterialEvents extends Object
Deprecated.
Removed in 1.21.2+, replaced with ModifyItemAttributeModifiersCallback
Events for getting the thermal resistances of various armor materials
  • Field Details

    • GET_HEAT_RESISTANCE

      public static final net.fabricmc.fabric.api.event.Event<ArmorMaterialEvents.GetResistance> GET_HEAT_RESISTANCE
      Deprecated.
      Gets the heat resistance for a particular armor material and armor type.

      If returns 0 or Double.NaN then no heat resistance is applied.

      It is recommended to base the resistance amount on the material tag.

      Known issue: using tags is not world-specific, so please do not use these tags in datapacks that aren't meant to be applied globally.

    • GET_FROST_RESISTANCE

      public static final net.fabricmc.fabric.api.event.Event<ArmorMaterialEvents.GetResistance> GET_FROST_RESISTANCE
      Deprecated.
      Gets the frost resistance for a particular armor material and armor type.

      If returns 0 or Double.NaN then no frost resistance is applied.

      It is recommended to base the resistance amount on the material tag.

      Known issue: using tags is not world-specific, so please do not use these tags in datapacks that aren't meant to be applied globally.

  • Constructor Details

    • ArmorMaterialEvents

      public ArmorMaterialEvents()
      Deprecated.