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

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Subclass event of StatueEvent fired whenever a chisel is used to create a statue.
    static class 
    Subclass event of StatueEvent fired when a statue is attempted to be destroyed
    static class 
    Subclass event of StatueEvent fired when any of the StatueEntity 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

    Fields
    Modifier and Type
    Field
    Description
    final net.minecraft.server.level.ServerPlayer
    The player causing the statue event
  • Constructor Summary

    Constructors
    Constructor
    Description
    StatueEvent(net.minecraft.server.level.ServerPlayer player)
     
  • Method Summary

    Methods inherited from class net.minecraftforge.eventbus.api.Event

    getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • player

      public final net.minecraft.server.level.ServerPlayer player
      The player causing the statue event
  • Constructor Details

    • StatueEvent

      public StatueEvent(net.minecraft.server.level.ServerPlayer player)