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.dispenser
Methods in net.minecraft.block.dispenser that return RailShapeModifier and TypeMethodDescriptionprivate static RailShapeMinecartDispenserBehavior.getRailShape(BlockState state) -
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 TypeMethodDescriptionprivate Vec3dExperimentalMinecartController.applySlopeVelocity(Vec3d horizontalVelocity, RailShape railShape) private booleanprivate Vec3dExperimentalMinecartController.calcNewHorizontalVelocity(ServerWorld world, Vec3d horizontalVelocity, ExperimentalMinecartController.MoveIteration iteration, BlockPos pos, BlockState railState, RailShape railShape) AbstractMinecartEntity.getAdjacentRailPositionsByShape(RailShape shape) protected doubleAbstractMinecartEntity.moveAlongTrack(BlockPos pos, RailShape shape, double remainingMovement) doubleDefaultMinecartController.moveAlongTrack(BlockPos blockPos, RailShape railShape, double remainingMovement) doubleExperimentalMinecartController.moveAlongTrack(BlockPos blockPos, RailShape railShape, double remainingMovement) protected doubleHopperMinecartEntity.moveAlongTrack(BlockPos pos, RailShape shape, double remainingMovement) abstract doubleMinecartController.moveAlongTrack(BlockPos blockPos, RailShape railShape, double remainingMovement) private booleanExperimentalMinecartController.restOnVShapedTrack(RailShape currentRailShape, RailShape newRailShape) Prevents otherwise stationary minecart from going back and forth on a V-shaped track. -
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.