Class StructurePieceAddedEvent

java.lang.Object
net.minecraftforge.eventbus.internal.MutableEventInternals
net.minecraftforge.eventbus.api.event.MutableEvent
com.stereowalker.unionlib.event.StructurePieceAddedEvent
All Implemented Interfaces:
net.minecraftforge.eventbus.internal.Event

public class StructurePieceAddedEvent extends net.minecraftforge.eventbus.api.event.MutableEvent
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final net.minecraftforge.eventbus.api.bus.EventBus<StructurePieceAddedEvent>
     

    Fields inherited from class net.minecraftforge.eventbus.internal.MutableEventInternals

    isMonitoring
  • Constructor Summary

    Constructors
    Constructor
    Description
    StructurePieceAddedEvent(net.minecraft.world.level.levelgen.structure.StructurePiece structurePiece, net.minecraft.server.level.ServerLevel world)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.level.levelgen.structure.StructurePiece
     
    net.minecraft.server.level.ServerLevel
     

    Methods inherited from class Object

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

  • Constructor Details

    • StructurePieceAddedEvent

      public StructurePieceAddedEvent(net.minecraft.world.level.levelgen.structure.StructurePiece structurePiece, net.minecraft.server.level.ServerLevel world)
  • Method Details

    • getStructurePiece

      public net.minecraft.world.level.levelgen.structure.StructurePiece getStructurePiece()
    • getWorld

      public net.minecraft.server.level.ServerLevel getWorld()