net.minecraft.block

public class PoweredRailBlock

extends AbstractRailBlock

apr
net.minecraft.class_1454
net.minecraft.block.PoweredRailBlock
net.minecraft.block.BlockRailPowered

Field summary

Modifier and TypeField
public static final EnumProperty<AbstractRailBlock$Shape>
d
field_9582
SHAPE
SHAPE
public static final BooleanProperty
e
field_9581
POWERED
POWERED

Constructor summary

ModifierConstructor
protected ()

Method summary

Modifier and TypeMethod
protected boolean
a(ajs arg0, co arg1, atl arg2, boolean arg3, int arg4)
method_8854(class_1150 arg0, class_2552 arg1, class_2232 arg2, boolean arg3, int arg4)
isPoweredByConnectedRails(World world, BlockPos pos, BlockState state, boolean forward, int depth)
findPoweredRailSignal(World worldIn, BlockPos pos, IBlockState state, boolean arg3, int arg4)
protected boolean
a(ajs arg0, co arg1, boolean arg2, int arg3, alq$b arg4)
method_8855(class_1150 arg0, class_2552 arg1, boolean arg2, int arg3, class_1446$class_2175 arg4)
isPoweredByRail(World world, BlockPos pos, boolean forward, int depth, AbstractRailBlock$Shape shape)
isSameRailWithPower(World worldIn, BlockPos pos, boolean arg2, int distance, BlockRailBase$EnumRailDirection arg4)
protected void
a(atl arg0, ajs arg1, co arg2, alu arg3)
method_8613(class_2232 arg0, class_1150 arg1, class_2552 arg2, class_197 arg3)
updateState(BlockState arg0, World arg1, BlockPos arg2, Block arg3)
updateState(IBlockState arg0, World arg1, BlockPos arg2, Block arg3)
public Property<AbstractRailBlock$Shape>
g()
method_8616()
getShapeProperty()
getShapeProperty()
public BlockState
a(int arg0)
method_8635(int arg0)
getStateFromMetadata(int arg0)
getStateFromMeta(int arg0)
public int
e(atl arg0)
method_8671(class_2232 arg0)
getMetadataFromState(BlockState arg0)
getMetaFromState(IBlockState arg0)
public BlockState
a(atl arg0, aqi arg1)
method_11556(class_2232 arg0, class_2734 arg1)
rotate(BlockState arg0, BlockRotation arg1)
withRotation(IBlockState arg0, Rotation arg1)
public BlockState
a(atl arg0, aou arg1)
method_11555(class_2232 arg0, class_2727 arg1)
mirror(BlockState arg0, BlockMirror arg1)
withMirror(IBlockState arg0, Mirror arg1)
protected StateDefinition
b()
method_8676()
createStateDefinition()
createBlockState()