public class AxisChain
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
connected |
int |
dir |
int |
lastLength |
int |
lastSpeed |
int |
length |
int |
maxLength |
double |
position |
int |
speed |
int[] |
tilePos |
| Constructor and Description |
|---|
AxisChain(int direction,
int maxL) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup(net.minecraft.world.World world,
int x,
int y,
int z) |
void |
fromNetworkNBT(net.minecraft.nbt.NBTTagCompound tag) |
net.minecraft.nbt.NBTTagCompound |
toNetworkNBT() |
boolean |
updateChain(IRotaryOutput output,
net.minecraft.world.World world,
int rotation,
int x,
int y,
int z) |
void |
updateChainBlocksToClients(net.minecraft.world.World world,
int x,
int y,
int z) |
void |
updateVisualPosition() |
public int dir
public int maxLength
public int[] tilePos
public boolean connected
public int length
public int speed
public double position
public int lastLength
public int lastSpeed
public void updateVisualPosition()
public boolean updateChain(IRotaryOutput output, net.minecraft.world.World world, int rotation, int x, int y, int z)
public void cleanup(net.minecraft.world.World world,
int x,
int y,
int z)
public void updateChainBlocksToClients(net.minecraft.world.World world,
int x,
int y,
int z)
public net.minecraft.nbt.NBTTagCompound toNetworkNBT()
public void fromNetworkNBT(net.minecraft.nbt.NBTTagCompound tag)