Package | Description |
---|---|
net.minecraft.block |
Modifier and Type | Field and Description |
---|---|
private static BlockRailBase.EnumRailDirection[] |
BlockRailBase.EnumRailDirection.META_LOOKUP |
Modifier and Type | Field and Description |
---|---|
static PropertyEnum<BlockRailBase.EnumRailDirection> |
BlockRail.SHAPE |
static PropertyEnum<BlockRailBase.EnumRailDirection> |
BlockRailPowered.SHAPE |
static PropertyEnum<BlockRailBase.EnumRailDirection> |
BlockRailDetector.SHAPE |
Modifier and Type | Method and Description |
---|---|
static BlockRailBase.EnumRailDirection |
BlockRailBase.EnumRailDirection.byMetadata(int meta) |
BlockRailBase.EnumRailDirection |
BlockRailBase.getRailDirection(IBlockAccess world,
BlockPos pos,
IBlockState state,
EntityMinecart cart)
Return the rail's direction.
|
static BlockRailBase.EnumRailDirection |
BlockRailBase.EnumRailDirection.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockRailBase.EnumRailDirection[] |
BlockRailBase.EnumRailDirection.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
abstract IProperty<BlockRailBase.EnumRailDirection> |
BlockRailBase.getShapeProperty() |
IProperty<BlockRailBase.EnumRailDirection> |
BlockRail.getShapeProperty() |
IProperty<BlockRailBase.EnumRailDirection> |
BlockRailPowered.getShapeProperty() |
IProperty<BlockRailBase.EnumRailDirection> |
BlockRailDetector.getShapeProperty() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BlockRailPowered.isSameRailWithPower(World worldIn,
BlockPos pos,
boolean p_176567_3_,
int distance,
BlockRailBase.EnumRailDirection p_176567_5_) |
private void |
BlockRailBase.Rail.updateConnectedRails(BlockRailBase.EnumRailDirection railDirection) |