Class LureExpiringProxy
java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.lure.LureExpiringProxy
Static proxy class for the
LureExpiring
implementation
To change from the default SteadyLureExpiring
implementation then use the setInstance(LureExpiring)
method during initialization-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
setInstance
(LureExpiring instance) Sets theLureExpiring
implementation used for logicstatic void
tick
(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party, net.minecraft.world.item.ItemStack lure) Calls the tick method for thePassiveHealingTicker
implementation
-
Constructor Details
-
LureExpiringProxy
public LureExpiringProxy()
-
-
Method Details
-
setInstance
Sets theLureExpiring
implementation used for logic- Parameters:
instance
- The new instance
-
tick
public static void tick(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party, net.minecraft.world.item.ItemStack lure) Calls the tick method for thePassiveHealingTicker
implementation- Parameters:
player
- The player being tickedparty
- The player's partylure
- The lure item
-