public class WalkingPassiveHealingTicker extends java.lang.Object implements PassiveHealingTicker
Constructor and Description |
---|
WalkingPassiveHealingTicker() |
Modifier and Type | Method and Description |
---|---|
int |
doWalkHealing(net.minecraft.entity.player.ServerPlayerEntity player,
PlayerPartyStorage party)
Does the calculations for how much the party should heal based on how far they have walked.
|
void |
tick(net.minecraft.entity.player.ServerPlayerEntity player,
PlayerPartyStorage party) |
public void tick(net.minecraft.entity.player.ServerPlayerEntity player, PlayerPartyStorage party)
tick
in interface PassiveHealingTicker
public int doWalkHealing(net.minecraft.entity.player.ServerPlayerEntity player, PlayerPartyStorage party)
player
- - The player whose party is being processed.party
- - The party of the player.