net.minecraft.world.level.block

public class LeverBlock

extends FaceAttachedHorizontalDirectionalBlock

All mapped superinterfaces:

ItemLike

bpz
net.minecraft.world.level.block.LeverBlock
net.minecraft.class_2401
net.minecraft.block.LeverBlock
net.minecraft.block.LeverBlock
net.minecraft.server.v1_14_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 (Block$Properties settings)

Method summary

Modifier and TypeMethod
public VoxelShape
a(bvt arg0, bhb arg1, ew arg2, csn 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, EntityContext arg3)
func_220053_a(BlockState arg0, IBlockReader arg1, BlockPos arg2, ISelectionContext arg3)
public boolean
a(bvt arg0, bhr arg1, ew arg2, awg arg3, ahi arg4, csd 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)
activate(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, Hand arg4, BlockHitResult arg5)
func_220051_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)
private static void
a(bvt arg0, bhs arg1, ew 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, IWorld world, BlockPos pos, float alpha)
func_196379_a(BlockState arg0, IWorld arg1, BlockPos arg2, float arg3)
public void
a(bvt arg0, bhr arg1, ew arg2, bvt 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)
onBlockRemoved(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(bvt arg0, bhb arg1, ew arg2, fb 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(bvt arg0, bhb arg1, ew arg2, fb 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
h(bvt arg0)
isSignalSource(BlockState arg0)
method_9506(class_2680 arg0)
emitsRedstonePower(BlockState arg0)
func_149744_f(BlockState arg0)
isPowerSource(IBlockData arg0)
private void
d(bvt arg0, bhr arg1, ew 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(bvu$a<bmv, bvt> 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(bvt arg0, bhr arg1, ew 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)