Class PassiveHealingProxy
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.healing.PassiveHealingProxy
Static proxy class for the
PassiveHealingTicker
implementation
To change from the default WalkingPassiveHealingTicker
implementation then use the setInstance(PassiveHealingTicker)
method during initialization-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setInstance
(PassiveHealingTicker instance) Sets thePassiveHealingTicker
implementation used for logicstatic void
tick
(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party) Calls the tick method for thePassiveHealingTicker
implementation
-
Constructor Details
-
PassiveHealingProxy
public PassiveHealingProxy()
-
-
Method Details
-
setInstance
Sets thePassiveHealingTicker
implementation used for logic- Parameters:
instance
- The new instance
-
tick
Calls the tick method for thePassiveHealingTicker
implementation- Parameters:
player
- The player being tickedparty
- The player's party
-