Class LureExpiringProxy

java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.lure.LureExpiringProxy

public class LureExpiringProxy extends Object
Static proxy class for the LureExpiring implementation To change from the default SteadyLureExpiring implementation then use the setInstance(LureExpiring) method during initialization
  • Constructor Details

    • LureExpiringProxy

      public LureExpiringProxy()
  • Method Details

    • setInstance

      public static void setInstance(LureExpiring instance)
      Sets the LureExpiring 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 the PassiveHealingTicker implementation
      Parameters:
      player - The player being ticked
      party - The player's party
      lure - The lure item