Package | Description |
---|---|
net.minecraft.block | |
net.minecraft.entity.item.minecart | |
net.minecraft.state.properties |
Modifier and Type | Field and Description |
---|---|
static EnumProperty<RailShape> |
PoweredRailBlock.SHAPE |
static EnumProperty<RailShape> |
RailBlock.SHAPE |
static EnumProperty<RailShape> |
DetectorRailBlock.SHAPE |
Modifier and Type | Method and Description |
---|---|
RailShape |
AbstractRailBlock.getRailDirection(BlockState state,
IBlockReader world,
BlockPos pos,
AbstractMinecartEntity cart)
Return the rail's direction.
|
Modifier and Type | Method and Description |
---|---|
abstract IProperty<RailShape> |
AbstractRailBlock.getShapeProperty() |
IProperty<RailShape> |
PoweredRailBlock.getShapeProperty() |
IProperty<RailShape> |
RailBlock.getShapeProperty() |
IProperty<RailShape> |
DetectorRailBlock.getShapeProperty() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
PoweredRailBlock.func_208071_a(World p_208071_1_,
BlockPos p_208071_2_,
boolean p_208071_3_,
int p_208071_4_,
RailShape p_208071_5_) |
RailState |
RailState.func_226941_a_(boolean p_226941_1_,
boolean p_226941_2_,
RailShape p_226941_3_) |
private void |
RailState.reset(RailShape shape) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<RailShape,com.mojang.datafixers.util.Pair<Vec3i,Vec3i>> |
AbstractMinecartEntity.MATRIX |
Modifier and Type | Method and Description |
---|---|
private static com.mojang.datafixers.util.Pair<Vec3i,Vec3i> |
AbstractMinecartEntity.func_226573_a_(RailShape p_226573_0_) |
Modifier and Type | Field and Description |
---|---|
static EnumProperty<RailShape> |
BlockStateProperties.RAIL_SHAPE |
static EnumProperty<RailShape> |
BlockStateProperties.RAIL_SHAPE_STRAIGHT |
Modifier and Type | Method and 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.
|