| public com.mojang.serialization.MapCodec<LeverBlock> | | codec() | | codec() | | method_53969() | | getCodec() |
|
| private Function<BlockState, VoxelShape> | | makeShapes() | | makeShapes() | | method_66447() | | createShapeFunction() |
|
| protected VoxelShape | | getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) | | getShape(BlockState state, BlockGetter level, BlockPos pos, CollisionContext context) | | method_9530(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_3726 arg3) | | getOutlineShape(BlockState arg0, BlockView arg1, BlockPos arg2, ShapeContext arg3) |
|
| protected ActionResult | | useWithoutItem(BlockState stateBefore, Level level, BlockPos pos, Player player, BlockHitResult hitResult) | | useWithoutItem(BlockState stateBefore, Level level, BlockPos pos, Player player, BlockHitResult hitResult) | | method_55766(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3, class_3965 arg4) | | onUse(BlockState arg0, World arg1, BlockPos arg2, PlayerEntity arg3, BlockHitResult arg4) |
|
| protected void | | onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) | | onExplosionHit(BlockState state, ServerLevel level, BlockPos pos, Explosion explosion, BiConsumer<ItemStack, BlockPos> onHit) | | method_55124(class_2680 arg0, class_3218 arg1, class_2338 arg2, class_1927 arg3, BiConsumer<class_1799, class_2338> arg4) | | onExploded(BlockState arg0, ServerWorld arg1, BlockPos arg2, Explosion arg3, BiConsumer<ItemStack, BlockPos> arg4) |
|
| public void | | pull(BlockState state, Level level, BlockPos pos, Player player) | | pull(BlockState state, Level level, BlockPos pos, Player player) | | method_21846(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_1657 arg3) | | togglePower(BlockState state, World world, BlockPos pos, PlayerEntity player) |
|
| protected static void | | playSound(Player player, LevelAccessor level, BlockPos pos, BlockState stateAfter) | | playSound(Player player, LevelAccessor level, BlockPos pos, BlockState stateAfter) | | method_60283(class_1657 arg0, class_1936 arg1, class_2338 arg2, class_2680 arg3) | | playClickSound(PlayerEntity player, WorldAccess world, BlockPos pos, BlockState state) |
|
| private static void | | makeParticle(BlockState state, LevelAccessor level, BlockPos pos, float scale) | | makeParticle(BlockState state, LevelAccessor level, BlockPos pos, float scale) | | method_10308(class_2680 arg0, class_1936 arg1, class_2338 arg2, float arg3) | | spawnParticles(BlockState state, WorldAccess world, BlockPos pos, float alpha) |
|
| public void | | animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) | | animateTick(BlockState state, Level level, BlockPos pos, RandomSource random) | | method_9496(class_2680 arg0, class_1937 arg1, class_2338 arg2, class_5819 arg3) | | randomDisplayTick(BlockState arg0, World arg1, BlockPos arg2, Random arg3) |
|
| protected void | | affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) | | affectNeighborsAfterRemoval(BlockState state, ServerLevel level, BlockPos pos, boolean movedByPiston) | | method_66388(class_2680 arg0, class_3218 arg1, class_2338 arg2, boolean arg3) | | onStateReplaced(BlockState arg0, ServerWorld arg1, BlockPos arg2, boolean arg3) |
|
| protected int | | getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) | | getDirectSignal(BlockState state, BlockGetter level, BlockPos pos, Direction direction) | | method_9603(class_2680 arg0, class_1922 arg1, class_2338 arg2, class_2350 arg3) | | getStrongRedstonePower(BlockState arg0, BlockView arg1, BlockPos arg2, Direction arg3) |
|
| protected boolean | |
| protected int | |
| private void | |
| protected void | |