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
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
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.api.events.StatueEvent
player
-
Constructor Summary
ConstructorDescriptionDestroyStatue
(net.minecraft.server.level.ServerPlayer player, StatueEntity statue) -
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
statue
The statue being destroyed
-
-
Constructor Details
-
DestroyStatue
-