Class InitialSoakChangeResult

java.lang.Object
com.github.thedeathlycow.thermoo.api.temperature.event.InitialEnvironmentChangeResult<Soakable>
com.github.thedeathlycow.thermoo.api.temperature.event.InitialSoakChangeResult

public class InitialSoakChangeResult extends InitialEnvironmentChangeResult<Soakable>
Initial Environment Change result for Soakables
  • Constructor Details

    • InitialSoakChangeResult

      public InitialSoakChangeResult(Soakable soakable, int initialChange)
      Creates a soak change result with a soakable affectee and an initial change value
      Parameters:
      soakable - The soakable to affect
      initialChange - The initial value of the change
  • Method Details

    • applyChange

      protected void applyChange(Soakable affectee, int amount)
      Increases the wet ticks of the affectee by the specified amount
      Specified by:
      applyChange in class InitialEnvironmentChangeResult<Soakable>
      Parameters:
      affectee - The affectee of the change
      amount - The amount of change to apply