Class StructureEvent

java.lang.Object
cpw.mods.fml.common.eventhandler.Event
com.gtnewhorizon.structurelib.StructureEvent
Direct Known Subclasses:
StructureEvent.StructureElementVisitedEvent

public abstract class StructureEvent extends Event
Subscribers are required to not keep reference to these events, nor to depend on values of these events after the method call returns.

All of these events will be fired on the MinecraftForge.EVENT_BUS, if they are enabled by StructureLibAPI.enableInstrument(Object).

All public stuff in this class and its enclosed classes are considered part of the public API. Backwards compatibility is maintained to the maximum extend possible.

  • Method Details

    • getInstrumentIdentifier

      public Object getInstrumentIdentifier()
      The instrument identifier. Subscribers should filter by these identifiers to prevent listening to a structure event for other people.