net.minecraft.block

public class LeverBlock

extends WallMountedBlock

All mapped superinterfaces:

ItemConvertible

bpu
net.minecraft.class_2401
net.minecraft.block.LeverBlock
net.minecraft.block.LeverBlock
net.minecraft.block.LeverBlock
net.minecraft.block.LeverBlock

Field summary

Modifier and TypeField
public static final BooleanProperty
a
field_11265
POWERED
POWERED
field_176359_b
POWERED
protected static final VoxelShape
b
field_11267
NORTH_WALL_SHAPE
NORTH_SHAPE
field_185692_c
LEVER_NORTH_AABB
protected static final VoxelShape
c
field_11263
SOUTH_WALL_SHAPE
SOUTH_SHAPE
field_185693_d
LEVER_SOUTH_AABB
protected static final VoxelShape
d
field_11260
WEST_WALL_SHAPE
WEST_SHAPE
field_185694_e
LEVER_WEST_AABB
protected static final VoxelShape
e
field_11262
EAST_WALL_SHAPE
EAST_SHAPE
field_185695_f
LEVER_EAST_AABB
protected static final VoxelShape
f
field_11264
FLOOR_Z_AXIS_SHAPE
FLOOR_SHAPE_Z
field_209348_r
FLOOR_Z_SHAPE
protected static final VoxelShape
g
field_11261
FLOOR_X_AXIS_SHAPE
FLOOR_SHAPE_X
field_209349_s
FLOOR_X_SHAPE
protected static final VoxelShape
h
field_11268
CEILING_Z_AXIS_SHAPE
CEILING_SHAPE_Z
field_209350_t
CEILING_Z_SHAPE
protected static final VoxelShape
i
field_11266
CEILING_X_AXIS_SHAPE
CEILING_SHAPE_X
field_209351_u
CEILING_X_SHAPE

Constructor summary

ModifierConstructor
protected (Block$Settings arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
a(bvo arg0, bgw arg1, ev arg2, csg arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, EntityContext arg3)
getShape(BlockState arg0, BlockView arg1, BlockPos arg2, CollisionContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
getShape(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(bvo arg0, bhm arg1, ev arg2, awb arg3, ahf arg4, crx arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
activate(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
use(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, InteractionHand arg4, BlockHitResult arg5)
func_220051_a(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
onBlockActivated(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
private static void
a(bvo arg0, bhn arg1, ev arg2, float arg3)
method_10308(class_2680 arg0, class_1936 arg1, class_2338 arg2, float arg3)
spawnParticles(BlockState arg0, IWorld arg1, BlockPos arg2, float arg3)
spawnParticle(BlockState state, WorldAccess world, BlockPos pos, float scale)
func_196379_a(BlockState arg0, IWorld arg1, BlockPos arg2, float arg3)
addParticles(BlockState state, IWorld worldIn, BlockPos pos, float alpha)
public void
a(bvo arg0, bhm arg1, ev arg2, bvo arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onBlockRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onRemoved(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
onReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
public int
a(bvo arg0, bgw arg1, ev arg2, fa arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getSignal(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
getWeakPower(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public int
b(bvo arg0, bgw arg1, ev arg2, fa arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
getDirectSignal(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_176211_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
getStrongPower(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public boolean
h(bvo arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
isSignalSource(BlockState arg0)
func_149744_f(BlockState arg0)
canProvidePower(BlockState arg0)
private void
d(bvo arg0, bhm arg1, ev arg2)
method_10309(class_2680 arg0, class_1937 arg1, class_2338 arg2)
updateNeighbors(BlockState arg0, World arg1, BlockPos arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
func_196378_d(BlockState arg0, World arg1, BlockPos arg2)
updateNeighbors(BlockState arg0, World arg1, BlockPos arg2)
protected void
a(bvp$a<bmq, bvo> arg0)
method_9515(class_2689$class_2690<class_2248, class_2680> arg0)
appendProperties(StateFactory$Builder<Block, BlockState> arg0)
buildStateDefinition(StateDefinition$Builder<Block, BlockState> arg0)
func_206840_a(StateContainer$Builder<Block, BlockState> arg0)
fillStateContainer(StateContainer$Builder<Block, BlockState> arg0)
public void
a(bvo arg0, bhm arg1, ev arg2, Random arg3)
method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
func_180655_c(BlockState arg0, World arg1, BlockPos arg2, Random arg3)
animateTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3)