Uses of Enum Class
net.minecraft.world.level.block.state.properties.RailShape
Package
Description
-
Uses of RailShape in net.minecraft.world.entity.vehicle
-
Uses of RailShape in net.minecraft.world.level.block
Modifier and TypeFieldDescriptionstatic final EnumProperty<RailShape>
DetectorRailBlock.SHAPE
static final EnumProperty<RailShape>
PoweredRailBlock.SHAPE
static final EnumProperty<RailShape>
RailBlock.SHAPE
Modifier and TypeMethodDescriptionBaseRailBlock.getRailDirection
(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart) Modifier and TypeMethodDescriptionBaseRailBlock.getShapeProperty()
Deprecated.DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Modifier and TypeMethodDescriptionprotected boolean
PoweredRailBlock.isSameRailWithPower
(Level p_55226_, BlockPos p_55227_, boolean p_55228_, int p_55229_, RailShape p_55230_) private static boolean
BaseRailBlock.shouldBeRemoved
(BlockPos p_49399_, Level p_49400_, RailShape p_49401_) private void
RailState.updateConnections
(RailShape p_55428_) -
Uses of RailShape in net.minecraft.world.level.block.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 TypeMethodDescriptionIForgeBaseRailBlock.getRailDirection
(BlockState state, BlockGetter level, BlockPos pos, AbstractMinecart cart) Return the rail's direction.Modifier and TypeMethodDescriptiondefault boolean
IForgeBaseRailBlock.isValidRailShape
(RailShape shape) Returns true if the givenRailShape
is valid for this rail block. -
Uses of RailShape in net.minecraftforge.debug.block
Modifier and TypeFieldDescriptionprivate static final EnumProperty<RailShape>
ValidRailShapeTest.RailSlopeBlock.ASCENDING_RAIL_SHAPE
Modifier and TypeMethodDescriptionboolean
ValidRailShapeTest.RailSlopeBlock.isValidRailShape
(RailShape shape)
BaseRailBlock.getRailDirection(BlockState, BlockGetter, BlockPos, net.minecraft.world.entity.vehicle.AbstractMinecart)
for enhanced ability If you do change this property be aware that other functions in this/subclasses may break as they can make assumptions about this property