public interface IGridConnection
Messing with connection is generally completely unnecessary, you should be able to just use IGridNode.updateState() to have AE manage them for you.
Don't Implement.
Modifier and Type | Method and Description |
---|---|
IGridNode |
a() |
IGridNode |
b() |
void |
destroy()
by destroying a connection you may create new grids, and trigger un-expected behavior, you should only destroy
connections if you created them.
|
net.minecraftforge.common.util.ForgeDirection |
getDirection(IGridNode gridNode)
determine the direction of the connection based on your node.
|
IGridNode |
getOtherSide(IGridNode gridNode)
lets you get the opposing node of the connection by passing your own node.
|
int |
getUsedChannels() |
boolean |
hasDirection() |
IGridNode getOtherSide(IGridNode gridNode)
gridNode
- current grid nodenet.minecraftforge.common.util.ForgeDirection getDirection(IGridNode gridNode)
gridNode
- current grid nodevoid destroy()
IGridNode a()
IGridNode b()
boolean hasDirection()
int getUsedChannels()