Uses of Class
net.minecraft.block.enums.RailShape
| Package | Description |
|---|---|
| net.minecraft.block | |
| net.minecraft.block.enums | |
| net.minecraft.entity.vehicle | |
| net.minecraft.state.property |
-
Uses of RailShape in net.minecraft.block
Fields in net.minecraft.block with type parameters of type RailShape Modifier and Type Field Description static EnumProperty<RailShape>DetectorRailBlock. SHAPEstatic EnumProperty<RailShape>PoweredRailBlock. SHAPEstatic EnumProperty<RailShape>RailBlock. SHAPEMethods in net.minecraft.block that return types with arguments of type RailShape Modifier and Type Method Description abstract Property<RailShape>AbstractRailBlock. getShapeProperty()Property<RailShape>DetectorRailBlock. getShapeProperty()Property<RailShape>PoweredRailBlock. getShapeProperty()Property<RailShape>RailBlock. getShapeProperty()Methods in net.minecraft.block with parameters of type RailShape Modifier and Type Method Description private 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.RailPlacementHelperRailPlacementHelper. updateBlockState(boolean powered, boolean forceUpdate, RailShape railShape) -
Uses of RailShape in net.minecraft.block.enums
Methods in net.minecraft.block.enums that return RailShape Modifier and Type Method Description static RailShapeRailShape. valueOf(String name)Returns the enum constant of this type with the specified name.static RailShape[]RailShape. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of RailShape in net.minecraft.entity.vehicle
Fields in net.minecraft.entity.vehicle with type parameters of type RailShape Modifier and Type Field Description private static Map<RailShape,com.mojang.datafixers.util.Pair<Vec3i,Vec3i>>AbstractMinecartEntity. ADJACENT_RAIL_POSITIONS_BY_SHAPEMethods in net.minecraft.entity.vehicle with parameters of type RailShape Modifier and Type Method Description private static com.mojang.datafixers.util.Pair<Vec3i,Vec3i>AbstractMinecartEntity. getAdjacentRailPositionsByShape(RailShape shape) -
Uses of RailShape in net.minecraft.state.property
Fields in net.minecraft.state.property with type parameters of type RailShape Modifier and Type Field Description static EnumProperty<RailShape>Properties. RAIL_SHAPEA property that specifies the two directions a rail connects to.static EnumProperty<RailShape>Properties. STRAIGHT_RAIL_SHAPEA property that specifies the two directions a rail connects to.