Uses of Enum Class
net.minecraft.state.properties.RailShape
Package
Description
-
Uses of RailShape in net.minecraft.block
Modifier and TypeFieldDescriptionstatic final EnumProperty<RailShape>
DetectorRailBlock.SHAPE
static final EnumProperty<RailShape>
PoweredRailBlock.SHAPE
static final EnumProperty<RailShape>
RailBlock.SHAPE
Modifier and TypeMethodDescriptionAbstractRailBlock.getRailDirection
(BlockState state, IBlockReader world, BlockPos pos, AbstractMinecartEntity cart) Modifier and TypeMethodDescriptionAbstractRailBlock.getShapeProperty()
Deprecated.DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Modifier and TypeMethodDescriptionprotected boolean
PoweredRailBlock.isSameRailWithPower
(World p_208071_1_, BlockPos p_208071_2_, boolean p_208071_3_, int p_208071_4_, RailShape p_208071_5_) private static boolean
AbstractRailBlock.shouldBeRemoved
(BlockPos p_235328_0_, World p_235328_1_, RailShape p_235328_2_) private void
RailState.updateConnections
(RailShape p_208509_1_) -
Uses of RailShape in net.minecraft.entity.item.minecart
-
Uses of RailShape in net.minecraft.state.properties
Modifier and TypeFieldDescriptionstatic final EnumProperty<RailShape>
BlockStateProperties.RAIL_SHAPE
static final EnumProperty<RailShape>
BlockStateProperties.RAIL_SHAPE_STRAIGHT
-
Uses of RailShape in net.minecraftforge.common.extensions
Modifier and TypeMethodDescriptionIAbstractRailBlock.getRailDirection
(BlockState state, IBlockReader world, BlockPos pos, AbstractMinecartEntity cart) Return the rail's direction.