Class WalkingPassiveHealingTicker
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.healing.WalkingPassiveHealingTicker
- All Implemented Interfaces:
- PassiveHealingTicker
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
WalkingPassiveHealingTickerpublic WalkingPassiveHealingTicker()
 
- 
- 
Method Details- 
tick- Specified by:
- tickin interface- PassiveHealingTicker
 
- 
doWalkHealingDoes 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.
 
 
-