net.minecraft.world.level.block

public class PoweredRailBlock

extends BaseRailBlock

All mapped superinterfaces:

ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

civ
net.minecraft.world.level.block.PoweredRailBlock
net.minecraft.class_2442
net.minecraft.block.PoweredRailBlock
net.minecraft.src.C_1857_
net.minecraft.world.level.block.BlockPoweredRail

Field summary

Modifier and TypeField
public static final EnumProperty<RailShape>
d
SHAPE
field_11365
SHAPE
f_55214_
public static final BooleanProperty
e
POWERED
field_11364
POWERED
f_55215_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected boolean
a(cav arg0, gj arg1, cov arg2, boolean arg3, int arg4)
findPoweredRailSignal(Level arg0, BlockPos arg1, BlockState arg2, boolean arg3, int arg4)
method_10413(class_1937 arg0, class_2338 arg1, class_2680 arg2, boolean arg3, int arg4)
isPoweredByOtherRails(World world, BlockPos pos, BlockState state, boolean arg3, int distance)
m_55219_(C_1596_ p_55221_, C_4675_ p_55222_, C_2064_ p_55223_, boolean p_55224_, int arg4)
protected boolean
a(cav arg0, gj arg1, boolean arg2, int arg3, cpz arg4)
isSameRailWithPower(Level arg0, BlockPos arg1, boolean arg2, int arg3, RailShape arg4)
method_10414(class_1937 arg0, class_2338 arg1, boolean arg2, int arg3, class_2768 arg4)
isPoweredByOtherRails(World world, BlockPos pos, boolean arg2, int distance, RailShape shape)
m_55225_(C_1596_ p_55227_, C_4675_ p_55228_, boolean p_55229_, int p_55230_, C_2100_ arg4)
protected void
a(cov arg0, cav arg1, gj arg2, cdq 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_55233_, C_1596_ p_55234_, C_4675_ p_55235_, C_1706_ arg3)
public Property<RailShape>
d()
getShapeProperty()
method_9474()
getShapeProperty()
m_7978_()
public BlockState
a(cov arg0, cjm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
m_6843_(C_2064_ p_55241_, C_1886_ arg1)
public BlockState
a(cov arg0, chz arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
m_6943_(C_2064_ p_55238_, C_1838_ arg1)
protected void
a(cow$a<cdq, cov> 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)