public class BlockRailBase.Rail
extends java.lang.Object
Constructor and Description |
---|
Rail(World worldIn,
BlockPos pos,
IBlockState state) |
Modifier and Type | Method and Description |
---|---|
protected int |
countAdjacentRails() |
IBlockState |
getBlockState() |
java.util.List<BlockPos> |
getConnectedRails() |
BlockRailBase.Rail |
place(boolean powered,
boolean initialPlacement) |
public Rail(World worldIn, BlockPos pos, IBlockState state)
public java.util.List<BlockPos> getConnectedRails()
protected int countAdjacentRails()
public BlockRailBase.Rail place(boolean powered, boolean initialPlacement)
public IBlockState getBlockState()