net.minecraft.world.level.block

public class PoweredRailBlock

extends BaseRailBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dkx
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 com.mojang.serialization.MapCodec<PoweredRailBlock>
d
CODEC
field_46417
CODEC
f_302411_
public static final EnumProperty<RailShape>
e
SHAPE
field_11365
SHAPE
f_55214_
public static final BooleanProperty
f
POWERED
field_11364
POWERED
f_55215_

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<PoweredRailBlock>
a()
codec()
method_53969()
getCodec()
m_304657_()
protected boolean
a(dca arg0, iz arg1, dse 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(dca arg0, iz arg1, boolean arg2, int arg3, dti 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(dse arg0, dca arg1, iz arg2, dfb 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>
c()
getShapeProperty()
method_9474()
getShapeProperty()
m_7978_()
protected BlockState
a(dse arg0, dlo 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)
protected BlockState
a(dse arg0, djy 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(dsf$a<dfb, dse> 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)