Class StatueEvent.DestroyStatue

java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.StatueEvent
com.pixelmonmod.pixelmon.api.events.StatueEvent.DestroyStatue
Enclosing class:
StatueEvent

public static class StatueEvent.DestroyStatue extends StatueEvent
Subclass event of StatueEvent fired when a statue is attempted to be destroyed

Canceling this event will prevent the statue from being destroyed

  • Field Details

    • statue

      public final StatueEntity statue
      The statue being destroyed
  • Constructor Details

    • DestroyStatue

      public DestroyStatue(net.minecraft.server.level.ServerPlayer player, StatueEntity statue)