Class ArmorMaterialEvents
java.lang.Object
com.github.thedeathlycow.thermoo.api.armor.material.ArmorMaterialEvents
Deprecated.
Events for getting the thermal resistances of various armor materials
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.fabricmc.fabric.api.event.Event<ArmorMaterialEvents.GetResistance> Deprecated.Gets the frost resistance for a particular armor material and armor type.static final net.fabricmc.fabric.api.event.Event<ArmorMaterialEvents.GetResistance> Deprecated.Gets the heat resistance for a particular armor material and armor type. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
GET_HEAT_RESISTANCE
public static final net.fabricmc.fabric.api.event.Event<ArmorMaterialEvents.GetResistance> GET_HEAT_RESISTANCEDeprecated.Gets the heat resistance for a particular armor material and armor type.If returns 0 or
Double.NaNthen 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_RESISTANCEDeprecated.Gets the frost resistance for a particular armor material and armor type.If returns 0 or
Double.NaNthen 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.
-
ModifyItemAttributeModifiersCallback