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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidsetInstance(LureExpiring instance) Sets theLureExpiringimplementation used for logicstatic voidtick(net.minecraft.server.level.ServerPlayer player, PlayerPartyStorage party, net.minecraft.world.item.ItemStack lure) Calls the tick method for thePassiveHealingTickerimplementation
-
Constructor Details
-
LureExpiringProxy
public LureExpiringProxy()
-
-
Method Details
-
setInstance
Sets theLureExpiringimplementation 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 thePassiveHealingTickerimplementation- Parameters:
player- The player being tickedparty- The player's partylure- The lure item
-