Uses of Enum Class
net.minecraft.block.enums.RailShape
Package
Description
-
Uses of RailShape in net.minecraft.block
Modifier and TypeFieldDescriptionstatic EnumProperty<RailShape>
DetectorRailBlock.SHAPE
static EnumProperty<RailShape>
PoweredRailBlock.SHAPE
static EnumProperty<RailShape>
RailBlock.SHAPE
Modifier and TypeMethodDescriptionAbstractRailBlock.getShapeProperty()
DetectorRailBlock.getShapeProperty()
PoweredRailBlock.getShapeProperty()
RailBlock.getShapeProperty()
Modifier 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
-
Uses of RailShape in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionAbstractMinecartEntity.getAdjacentRailPositionsByShape(RailShape shape)
-
Uses of RailShape in net.minecraft.state.property
Modifier and TypeFieldDescriptionstatic EnumProperty<RailShape>
Properties.RAIL_SHAPE
A property that specifies the two directions a rail connects to.static EnumProperty<RailShape>
Properties.STRAIGHT_RAIL_SHAPE
A property that specifies the two directions a rail connects to.