Class StatueEvent.DestroyStatue
java.lang.Object
net.neoforged.bus.api.Event
com.pixelmonmod.pixelmon.api.events.StatueEvent
com.pixelmonmod.pixelmon.api.events.StatueEvent.DestroyStatue
- All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
- Enclosing class:
StatueEvent
public static class StatueEvent.DestroyStatue
extends StatueEvent
implements net.neoforged.bus.api.ICancellableEvent
Subclass event of
StatueEvent fired when a statue is attempted to be destroyed
Canceling this event will prevent the statue from being destroyed
-
Nested Class Summary
Nested classes/interfaces inherited from class com.pixelmonmod.pixelmon.api.events.StatueEvent
StatueEvent.CreateStatue, StatueEvent.DestroyStatue, StatueEvent.ModifyStatue -
Field Summary
FieldsFields inherited from class com.pixelmonmod.pixelmon.api.events.StatueEvent
player -
Constructor Summary
ConstructorsConstructorDescriptionDestroyStatue(net.minecraft.server.level.ServerPlayer player, StatueEntity statue) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.bus.api.ICancellableEvent
isCanceled, setCanceled
-
Field Details
-
statue
The statue being destroyed
-
-
Constructor Details
-
DestroyStatue
-