net.minecraft.world.level.block

public class PoweredRailBlock

extends BaseRailBlock

All mapped superinterfaces:

FeatureElement, ItemLike, SimpleWaterloggedBlock, BucketPickup, LiquidBlockContainer

drv
net.minecraft.world.level.block.PoweredRailBlock
net.minecraft.class_2442
net.minecraft.block.PoweredRailBlock

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<PoweredRailBlock>
b
CODEC
field_46417
CODEC
public static final EnumProperty<RailShape>
c
SHAPE
field_11365
SHAPE
public static final BooleanProperty
d
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(dip arg0, iu arg1, dzo 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(dip arg0, iu arg1, boolean arg2, int arg3, eas 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(dzo arg0, dip arg1, iu arg2, dlu 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(dzo arg0, dsm arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
protected BlockState
a(dzo arg0, dqv arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
protected void
a(dzp$a<dlu, dzo> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)