Class WalkingPassiveHealingTicker
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.healing.WalkingPassiveHealingTicker
- All Implemented Interfaces:
PassiveHealingTicker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoWalkHealing(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party) Does the calculations for how much the party should heal based on how far they have walked.voidtick(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party)
-
Constructor Details
-
WalkingPassiveHealingTicker
public WalkingPassiveHealingTicker()
-
-
Method Details
-
tick
- Specified by:
tickin interfacePassiveHealingTicker
-
doWalkHealing
Does the calculations for how much the party should heal based on how far they have walked. Returns the calculated amount.- Parameters:
player- - The player whose party is being processed.party- - The party of the player.- Returns:
- The amount of steps determined.
-