Class StatueEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
com.pixelmonmod.pixelmon.api.events.StatueEvent
- Direct Known Subclasses:
StatueEvent.CreateStatue
,StatueEvent.DestroyStatue
,StatueEvent.ModifyStatue
public abstract class StatueEvent
extends net.minecraftforge.eventbus.api.Event
Superclass event for all statue related actions. This includes
StatueEvent.CreateStatue
, StatueEvent.ModifyStatue
, and StatueEvent.DestroyStatue
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Subclass event ofStatueEvent
fired whenever a chisel is used to create a statue.static class
Subclass event ofStatueEvent
fired when a statue is attempted to be destroyedstatic class
Subclass event ofStatueEvent
fired when any of theStatueEntity
properties is changed.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
Modifier and TypeFieldDescriptionfinal net.minecraft.server.level.ServerPlayer
The player causing the statue event -
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
player
public final net.minecraft.server.level.ServerPlayer playerThe player causing the statue event
-
-
Constructor Details
-
StatueEvent
public StatueEvent(net.minecraft.server.level.ServerPlayer player)
-