Class LureActivateEvent.Pre

java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.lures.LureActivateEvent
com.pixelmonmod.pixelmon.api.events.lures.LureActivateEvent.Pre
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
LureActivateEvent

public static class LureActivateEvent.Pre extends LureActivateEvent implements net.neoforged.bus.api.ICancellableEvent
Fired before the lure is activated.
Canceling this event will prevent the lure from being activated.
  • Constructor Details

    • Pre

      public Pre(@Nonnull net.minecraft.server.level.ServerPlayer player, net.minecraft.world.item.ItemStack lureStack)
  • Method Details

    • setLureStack

      public void setLureStack(net.minecraft.world.item.ItemStack lureStack)