net.minecraft.world.level.block

public class RailBlock

extends BaseRailBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dpr
net.minecraft.world.level.block.RailBlock
net.minecraft.class_2443
net.minecraft.block.RailBlock
net.minecraft.world.level.block.BlockMinecartTrack

Field summary

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

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<RailBlock>
a()
codec()
method_53969()
getCodec()
protected void
a(dwy arg0, dgj arg1, ji arg2, djn 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)
public Property<RailShape>
c()
getShapeProperty()
method_9474()
getShapeProperty()
protected BlockState
a(dwy arg0, dqf arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dwy arg0, dom arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dwz$a<djn, dwy> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)