net.minecraft.world.level.block

public class LeverBlock

extends FaceAttachedHorizontalDirectionalBlock

All mapped superinterfaces:

ItemLike

bzd
net.minecraft.world.level.block.LeverBlock
net.minecraft.class_2401
net.minecraft.block.LeverBlock
net.minecraft.block.LeverBlock
net.minecraft.server.v1_16_R1.BlockLever

Field summary

Modifier and TypeField
public static final BooleanProperty
a
POWERED
field_11265
POWERED
field_176359_b
POWERED
protected static final VoxelShape
b
NORTH_AABB
field_11267
NORTH_WALL_SHAPE
field_185692_c
protected static final VoxelShape
c
SOUTH_AABB
field_11263
SOUTH_WALL_SHAPE
field_185693_d
protected static final VoxelShape
d
WEST_AABB
field_11260
WEST_WALL_SHAPE
field_185694_e
protected static final VoxelShape
e
EAST_AABB
field_11262
EAST_WALL_SHAPE
field_185695_f
protected static final VoxelShape
f
UP_AABB_Z
field_11264
FLOOR_Z_AXIS_SHAPE
field_209348_r
protected static final VoxelShape
g
UP_AABB_X
field_11261
FLOOR_X_AXIS_SHAPE
field_209349_s
protected static final VoxelShape
h
DOWN_AABB_Z
field_11268
CEILING_Z_AXIS_SHAPE
field_209350_t
protected static final VoxelShape
i
DOWN_AABB_X
field_11266
CEILING_X_AXIS_SHAPE
field_209351_u

Constructor summary

ModifierConstructor
protected (BlockBehaviour$Properties arg0)

Method summary

Modifier and TypeMethod
public VoxelShape
b(cfj arg0, bpg arg1, fu arg2, der arg3)
getShape(BlockState arg0, BlockGetter arg1, BlockPos arg2, CollisionContext arg3)
method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3)
getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public InteractionResult
a(cfj arg0, bqb arg1, fu arg2, bec arg3, anf arg4, deh arg5)
use(BlockState arg0, Level arg1, BlockPos arg2, Player arg3, InteractionHand arg4, BlockHitResult arg5)
method_9534(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_1268 arg4, class_3965 arg5)
onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_225533_a_(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockRayTraceResult arg5)
interact(IBlockData arg0, World arg1, BlockPosition arg2, EntityHuman arg3, EnumHand arg4, MovingObjectPositionBlock arg5)
public BlockState
d(cfj arg0, bqb arg1, fu arg2)
pull(BlockState arg0, Level arg1, BlockPos arg2)
method_21846(class_2680 arg0, class_1937 arg1, class_2338 arg2)
method_21846(BlockState arg0, World arg1, BlockPos arg2)
func_226939_d_(BlockState arg0, World arg1, BlockPos arg2)
private static void
a(cfj arg0, bqc arg1, fu arg2, float arg3)
makeParticle(BlockState arg0, LevelAccessor arg1, BlockPos arg2, float arg3)
method_10308(class_2680 arg0, class_1936 arg1, class_2338 arg2, float arg3)
spawnParticles(BlockState state, WorldAccess world, BlockPos pos, float alpha)
func_196379_a(BlockState arg0, IWorld arg1, BlockPos arg2, float arg3)
public void
a(cfj arg0, bqb arg1, fu arg2, cfj arg3, boolean arg4)
onRemove(BlockState arg0, Level arg1, BlockPos arg2, BlockState arg3, boolean arg4)
method_9536(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_2680 arg3, boolean arg4)
onStateReplaced(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
func_196243_a(BlockState arg0, World arg1, BlockPos arg2, BlockState arg3, boolean arg4)
remove(IBlockData arg0, World arg1, BlockPosition arg2, IBlockData arg3, boolean arg4)
public int
a(cfj arg0, bpg arg1, fu arg2, fz arg3)
getSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9524(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getWeakRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_180656_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public int
b(cfj arg0, bpg arg1, fu arg2, fz arg3)
getDirectSignal(BlockState arg0, BlockGetter arg1, BlockPos arg2, Direction arg3)
method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3)
getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3)
func_176211_b(BlockState arg0, IBlockReader arg1, BlockPos arg2, Direction arg3)
public boolean
b_(cfj arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
func_149744_f(BlockState arg0)
isPowerSource(IBlockData arg0)
private void
e(cfj arg0, bqb arg1, fu arg2)
updateNeighbours(BlockState arg0, Level arg1, BlockPos arg2)
method_10309(class_2680 arg0, class_1937 arg1, class_2338 arg2)
updateNeighbors(BlockState state, World world, BlockPos pos)
func_196378_d(BlockState arg0, World arg1, BlockPos arg2)
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)
public void
a(cfj arg0, bqb arg1, fu arg2, Random arg3)
animateTick(BlockState arg0, Level arg1, BlockPos 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)
func_180655_c(BlockState arg0, World arg1, BlockPos arg2, Random arg3)