net.minecraft.world.level.block

public class PoweredRailBlock

extends BaseRailBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

dpo
net.minecraft.world.level.block.PoweredRailBlock
net.minecraft.class_2442
net.minecraft.block.PoweredRailBlock
net.minecraft.world.level.block.BlockPoweredRail

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<PoweredRailBlock>
d
CODEC
field_46417
CODEC
public static final EnumProperty<RailShape>
e
SHAPE
field_11365
SHAPE
public static final BooleanProperty
f
POWERED
field_11364
POWERED

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<PoweredRailBlock>
a()
codec()
method_53969()
getCodec()
protected boolean
a(dgj arg0, ji arg1, dwy 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)
protected boolean
a(dgj arg0, ji arg1, boolean arg2, int arg3, dyb 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)
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)