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.SHAPEstatic final EnumProperty<RailShape> PoweredRailBlock.SHAPEstatic final EnumProperty<RailShape> RailBlock.SHAPEMethods 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 voidRailPlacementHelper.computeNeighbors(RailShape shape) protected booleanPoweredRailBlock.isPoweredByOtherRails(World world, BlockPos pos, boolean bool, int distance, RailShape shape) private static booleanAbstractRailBlock.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_SHAPEA property that specifies the two directions a rail connects to.static final EnumProperty<RailShape> Properties.STRAIGHT_RAIL_SHAPEA property that specifies the two directions a rail connects to.