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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetInstance(PassiveHealingTicker instance) Sets thePassiveHealingTickerimplementation used for logicstatic voidtick(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party) Calls the tick method for thePassiveHealingTickerimplementation
-
Constructor Details
-
PassiveHealingProxy
public PassiveHealingProxy()
-
-
Method Details
-
setInstance
Sets thePassiveHealingTickerimplementation used for logic- Parameters:
instance- The new instance
-
tick
Calls the tick method for thePassiveHealingTickerimplementation- Parameters:
player- The player being tickedparty- The player's party
-