public class PassiveHealingProxy
extends java.lang.Object
PassiveHealingTicker
implementation
To change from the default WalkingPassiveHealingTicker
implementation then use the setInstance(PassiveHealingTicker)
method during initializationConstructor and Description |
---|
PassiveHealingProxy() |
Modifier and Type | Method and Description |
---|---|
static void |
setInstance(PassiveHealingTicker instance)
Sets the
PassiveHealingTicker implementation used for logic |
static void |
tick(net.minecraft.entity.player.ServerPlayerEntity player,
PlayerPartyStorage party)
Calls the tick method for the
PassiveHealingTicker implementation |
public static void setInstance(PassiveHealingTicker instance)
PassiveHealingTicker
implementation used for logicinstance
- The new instancepublic static void tick(net.minecraft.entity.player.ServerPlayerEntity player, PlayerPartyStorage party)
PassiveHealingTicker
implementationplayer
- The player being tickedparty
- The player's party