Class PassiveHealingProxy

java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.healing.PassiveHealingProxy

public class PassiveHealingProxy extends Object
Static proxy class for the PassiveHealingTicker implementation To change from the default WalkingPassiveHealingTicker implementation then use the setInstance(PassiveHealingTicker) method during initialization
  • Constructor Details

    • PassiveHealingProxy

      public PassiveHealingProxy()
  • Method Details

    • setInstance

      public static void setInstance(PassiveHealingTicker instance)
      Sets the PassiveHealingTicker implementation used for logic
      Parameters:
      instance - The new instance
    • tick

      public static void tick(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party)
      Calls the tick method for the PassiveHealingTicker implementation
      Parameters:
      player - The player being ticked
      party - The player's party