Uses of Enum Class
net.minecraft.block.enums.RailShape
Packages that use RailShape
Package
Description
-
Uses of RailShape in net.minecraft.block
Fields in net.minecraft.block with type parameters of type RailShapeModifier and TypeFieldDescriptionstatic final EnumProperty<RailShape>
DetectorRailBlock.SHAPE
static final EnumProperty<RailShape>
PoweredRailBlock.SHAPE
static final EnumProperty<RailShape>
RailBlock.SHAPE
Methods in net.minecraft.block that return types with arguments of type RailShapeModifier and TypeMethodDescriptionAbstractRailBlock.getShapeProperty()
DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Methods in net.minecraft.block with parameters of type RailShapeModifier and TypeMethodDescriptionprivate void
RailPlacementHelper.computeNeighbors
(RailShape shape) protected boolean
PoweredRailBlock.isPoweredByOtherRails
(World world, BlockPos pos, boolean bool, int distance, RailShape shape) private static boolean
AbstractRailBlock.shouldDropRail
(BlockPos pos, World world, RailShape shape) Checks if this rail should be dropped.RailPlacementHelper.updateBlockState
(boolean powered, boolean forceUpdate, RailShape railShape) -
Uses of RailShape in net.minecraft.block.enums
Methods in net.minecraft.block.enums that return RailShape -
Uses of RailShape in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle with type parameters of type RailShapeMethods in net.minecraft.entity.vehicle with parameters of type RailShapeModifier and TypeMethodDescriptionAbstractMinecartEntity.getAdjacentRailPositionsByShape
(RailShape shape) -
Uses of RailShape in net.minecraft.state.property
Fields in net.minecraft.state.property with type parameters of type RailShapeModifier and TypeFieldDescriptionstatic final EnumProperty<RailShape>
Properties.RAIL_SHAPE
A property that specifies the two directions a rail connects to.static final EnumProperty<RailShape>
Properties.STRAIGHT_RAIL_SHAPE
A property that specifies the two directions a rail connects to.