Uses of Class
net.minecraft.state.properties.RailShape
-
Packages that use RailShape Package Description net.minecraft.block net.minecraft.entity.item.minecart net.minecraft.state.properties net.minecraftforge.common.extensions -
-
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 RailShape Modifier and Type Method Description RailShape
AbstractRailBlock. getRailDirection(BlockState state, IBlockReader world, BlockPos pos, AbstractMinecartEntity cart)
Methods in net.minecraft.block that return types with arguments of type RailShape Modifier and Type Method Description abstract Property<RailShape>
AbstractRailBlock. getShapeProperty()
Deprecated.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 protected boolean
PoweredRailBlock. isSameRailWithPower(World p_208071_1_, BlockPos p_208071_2_, boolean p_208071_3_, int p_208071_4_, RailShape p_208071_5_)
RailState
RailState. place(boolean p_226941_1_, boolean p_226941_2_, RailShape p_226941_3_)
private static boolean
AbstractRailBlock. shouldBeRemoved(BlockPos p_235328_0_, World p_235328_1_, RailShape p_235328_2_)
private void
RailState. updateConnections(RailShape p_208509_1_)
-
Uses of RailShape in net.minecraft.entity.item.minecart
Fields in net.minecraft.entity.item.minecart with type parameters of type RailShape Modifier and Type Field Description private static java.util.Map<RailShape,com.mojang.datafixers.util.Pair<Vector3i,Vector3i>>
AbstractMinecartEntity. EXITS
Methods in net.minecraft.entity.item.minecart with parameters of type RailShape Modifier and Type Method Description private static com.mojang.datafixers.util.Pair<Vector3i,Vector3i>
AbstractMinecartEntity. exits(RailShape p_226573_0_)
-
Uses of RailShape in net.minecraft.state.properties
Fields in net.minecraft.state.properties with type parameters of type RailShape Modifier and Type Field Description static EnumProperty<RailShape>
BlockStateProperties. RAIL_SHAPE
static EnumProperty<RailShape>
BlockStateProperties. RAIL_SHAPE_STRAIGHT
Methods in net.minecraft.state.properties that return RailShape Modifier and Type Method Description static RailShape
RailShape. valueOf(java.lang.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.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions that return RailShape Modifier and Type Method Description RailShape
IAbstractRailBlock. getRailDirection(BlockState state, IBlockReader world, BlockPos pos, AbstractMinecartEntity cart)
Return the rail's direction.
-