net.minecraft.world.level.block

public class RailBlock

extends BaseRailBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dly
net.minecraft.world.level.block.RailBlock
net.minecraft.class_2443
net.minecraft.block.RailBlock
net.minecraft.src.C_1868_
net.minecraft.world.level.block.BlockMinecartTrack

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<RailBlock>
d
CODEC
field_46420
CODEC
f_303744_
public static final EnumProperty<RailShape>
e
SHAPE
field_11369
SHAPE
f_55392_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<RailBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected void
a(dtc arg0, dcw arg1, jd arg2, dfy arg3)
updateState(BlockState arg0, Level arg1, BlockPos arg2, Block arg3)
method_9477(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2248 arg3)
updateBlockState(BlockState arg0, World arg1, BlockPos arg2, Block arg3)
m_6360_(C_2064_ p_55398_, C_1596_ p_55399_, C_4675_ p_55400_, C_1706_ arg3)
public Property<RailShape>
c()
getShapeProperty()
method_9474()
getShapeProperty()
m_7978_()
protected BlockState
a(dtc arg0, dmm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_55406_, C_1886_ arg1)
protected BlockState
a(dtc arg0, dkv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_55403_, C_1838_ arg1)
protected void
a(dtd$a<dfy, dtc> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
m_7926_(C_2065_$C_2066_<C_1706_, C_2064_> arg0)