Class 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 Detail

      • getInstrumentIdentifier

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