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