public static final class StructureEvent.StructureElementVisitedEvent extends StructureEvent
StructureEvent.StructureElementVisitedEventEvent.HasResult, Event.Result| Modifier and Type | Method and Description |
|---|---|
static void |
fireEvent(World world,
int x,
int y,
int z,
int a,
int b,
int c,
IStructureElement<?> element)
Fire this event on
MinecraftForge.EVENT_BUS by populating it with given arguments. |
int |
getA()
A position in ABC coordinate, relative to (0,0,0) in the piece, i.e.
|
int |
getB()
B position in ABC coordinate, relative to (0,0,0) in the piece, i.e.
|
int |
getC()
C position in ABC coordinate, relative to (0,0,0) in the piece, i.e.
|
IStructureElement<?> |
getElement()
Element being visited.
|
World |
getWorld()
Location of this event.
|
int |
getX()
Location of this event.
|
int |
getY()
Location of this event.
|
int |
getZ()
Location of this event.
|
String |
toString() |
getInstrumentIdentifiergetListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setuppublic static void fireEvent(World world, int x, int y, int z, int a, int b, int c, IStructureElement<?> element)
public int getA()
Submit a feature request if you need the baseOffset.
public int getB()
Submit a feature request if you need the baseOffset.
public int getC()
Submit a feature request if you need the baseOffset.
public IStructureElement<?> getElement()
public World getWorld()
public int getX()
public int getY()
public int getZ()