Class TemperatureChangeEvents
java.lang.Object
com.github.thedeathlycow.thermoo.api.core.v1.event.TemperatureChangeEvents
Events that allow for finer grained control over all temperature changes.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic interface -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.fabricmc.fabric.api.event.Event<TemperatureChangeEvents.AfterChange> Invoked after a temperature change is applied.static final net.fabricmc.fabric.api.event.Event<TemperatureChangeEvents.AllowChange> Checks if a given temperature change should be allowed to proceed. -
Method Summary
-
Field Details
-
ALLOW_TEMPERATURE_CHANGE
public static final net.fabricmc.fabric.api.event.Event<TemperatureChangeEvents.AllowChange> ALLOW_TEMPERATURE_CHANGEChecks if a given temperature change should be allowed to proceed. Hooked in after basic checks likeTemperatureAware.thermoo$canFreeze()andTemperatureAware.thermoo$canOverheat(). -
AFTER_TEMPERATURE_CHANGE
public static final net.fabricmc.fabric.api.event.Event<TemperatureChangeEvents.AfterChange> AFTER_TEMPERATURE_CHANGEInvoked after a temperature change is applied.
-