public class WireMatrix
extends java.lang.Object
| Constructor and Description |
|---|
WireMatrix() |
| Modifier and Type | Method and Description |
|---|---|
void |
clean() |
int |
getWireIconIndex(PipeWire color) |
boolean |
hasWire(PipeWire color) |
boolean |
isDirty() |
boolean |
isWireConnected(PipeWire color,
net.minecraftforge.common.util.ForgeDirection direction) |
void |
readData(io.netty.buffer.ByteBuf data) |
void |
setWire(PipeWire color,
boolean value) |
void |
setWireConnected(PipeWire color,
net.minecraftforge.common.util.ForgeDirection direction,
boolean value) |
void |
setWireIndex(PipeWire color,
int value) |
void |
writeData(io.netty.buffer.ByteBuf data) |
public boolean hasWire(PipeWire color)
public void setWire(PipeWire color, boolean value)
public boolean isWireConnected(PipeWire color, net.minecraftforge.common.util.ForgeDirection direction)
public void setWireConnected(PipeWire color, net.minecraftforge.common.util.ForgeDirection direction, boolean value)
public int getWireIconIndex(PipeWire color)
public void setWireIndex(PipeWire color, int value)
public boolean isDirty()
public void clean()
public void writeData(io.netty.buffer.ByteBuf data)
public void readData(io.netty.buffer.ByteBuf data)