public interface IGridHost
TileEntity
or IPart
must
be implemented for a part, or tile entity to become part of a grid.Modifier and Type | Method and Description |
---|---|
AECableType |
getCableConnectionType(net.minecraftforge.common.util.ForgeDirection dir)
Determines how cables render when they connect to this block.
|
IGridNode |
getGridNode(net.minecraftforge.common.util.ForgeDirection dir)
get the grid node for a particular side of a block, you can return null,
by returning a valid node later and calling updateState, you can join the
Grid when your block is ready.
|
void |
securityBreak()
break this host, its violating security rules, just break your block, or part.
|
IGridNode getGridNode(net.minecraftforge.common.util.ForgeDirection dir)
dir
- feel free to ignore this, most blocks will use the same node
for every side.AECableType getCableConnectionType(net.minecraftforge.common.util.ForgeDirection dir)
dir
- directionvoid securityBreak()