Uses of Enum Class
net.minecraft.world.level.block.state.properties.RailShape
Packages that use RailShape
Package
Description
-
Uses of RailShape in net.minecraft.world.entity.vehicle
Fields in net.minecraft.world.entity.vehicle with type parameters of type RailShapeMethods in net.minecraft.world.entity.vehicle with parameters of type RailShape -
Uses of RailShape in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block with type parameters of type RailShapeModifier and TypeFieldDescriptionstatic EnumProperty<RailShape>
DetectorRailBlock.SHAPE
static EnumProperty<RailShape>
PoweredRailBlock.SHAPE
static EnumProperty<RailShape>
RailBlock.SHAPE
Methods in net.minecraft.world.level.block that return RailShapeModifier and TypeMethodDescriptionBaseRailBlock.getRailDirection(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart)
Methods in net.minecraft.world.level.block that return types with arguments of type RailShapeModifier and TypeMethodDescriptionBaseRailBlock.getShapeProperty()
Deprecated.DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Methods in net.minecraft.world.level.block with parameters of type RailShapeModifier 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
Fields in net.minecraft.world.level.block.state.properties with type parameters of type RailShapeModifier and TypeFieldDescriptionstatic EnumProperty<RailShape>
BlockStateProperties.RAIL_SHAPE
static EnumProperty<RailShape>
BlockStateProperties.RAIL_SHAPE_STRAIGHT
Methods in net.minecraft.world.level.block.state.properties that return RailShape -
Uses of RailShape in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return RailShapeModifier and TypeMethodDescriptionIForgeBaseRailBlock.getRailDirection(BlockState state, BlockGetter world, BlockPos pos, AbstractMinecart cart)
Return the rail's direction.