net.minecraft.world.level.block

public class PoweredRailBlock

extends BaseRailBlock

All mapped superinterfaces:

ItemLike

caa
net.minecraft.world.level.block.PoweredRailBlock
net.minecraft.class_2442
net.minecraft.block.PoweredRailBlock
net.minecraft.block.PoweredRailBlock
net.minecraft.server.v1_16_R1.BlockPoweredRail

Field summary

Modifier and TypeField
public static final EnumProperty<RailShape>
c
SHAPE
field_11365
SHAPE
field_176568_b
SHAPE
public static final BooleanProperty
d
POWERED
field_11364
POWERED
field_176569_M
POWERED

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
protected boolean
a(bqb arg0, fu arg1, cfj 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 boolean4, int distance)
func_176566_a(World arg0, BlockPos arg1, BlockState arg2, boolean arg3, int arg4)
protected boolean
a(bqb arg0, fu arg1, boolean arg2, int arg3, cgm 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)
func_208071_a(World arg0, BlockPos arg1, boolean arg2, int arg3, RailShape arg4)
protected void
a(cfj arg0, bqb arg1, fu arg2, bvr 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)
func_189541_b(BlockState arg0, World arg1, BlockPos arg2, Block arg3)
public Property<RailShape>
d()
getShapeProperty()
method_9474()
getShapeProperty()
func_176560_l()
public BlockState
a(cfj arg0, cap arg1)
rotate(BlockState arg0, Rotation arg1)
method_9598(class_2680 arg0, class_2470 arg1)
rotate(BlockState arg0, BlockRotation arg1)
func_185499_a(BlockState arg0, Rotation arg1)
public BlockState
a(cfj arg0, bzj arg1)
mirror(BlockState arg0, Mirror arg1)
method_9569(class_2680 arg0, class_2415 arg1)
mirror(BlockState arg0, BlockMirror arg1)
func_185471_a(BlockState arg0, Mirror arg1)
protected void
a(cfk$a<bvr, cfj> arg0)
createBlockStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateManager$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)