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. SHAPE
static EnumProperty<RailShape>
PoweredRailBlock. SHAPE
static EnumProperty<RailShape>
RailBlock. SHAPE
Methods 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 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
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 Modifier and Type Method Description static RailShape
RailShape. 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_SHAPE
Methods 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_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.