Class InitialSoakChangeResult
java.lang.Object
com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult<Soakable>
com.github.thedeathlycow.thermoo.api.temperature.event.InitialSoakChangeResult
Initial Environment Change result for
Soakables-
Constructor Summary
ConstructorsConstructorDescriptionInitialSoakChangeResult(Soakable soakable, int initialChange) Creates a soak change result with a soakable affectee and an initial change value -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyChange(Soakable affectee, int amount) Increases the wet ticks of the affectee by the specified amountMethods inherited from class com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult
applyInitialChange, getInitialChange, isInitialChangeApplied, onEventComplete, setInitialChange
-
Constructor Details
-
InitialSoakChangeResult
Creates a soak change result with a soakable affectee and an initial change value- Parameters:
soakable- The soakable to affectinitialChange- The initial value of the change
-
-
Method Details
-
applyChange
Increases the wet ticks of the affectee by the specified amount- Specified by:
applyChangein classInitialEnvironmentChangeResult<Soakable>- Parameters:
affectee- The affectee of the changeamount- The amount of change to apply
-