Documentation

Learn how to install and use LiquidBounce with our comprehensive guides

InventoryCleaner

InventoryCleaner sorts your inventory for you. It puts the items you choose into each hotbar slot and your offhand, merges half-full stacks, and throws away items you don't need.

Pick an item type for each hotbar slot with the SlotItem settings. The Maximum settings decide how much of something to keep, and anything over that gets dropped. Set one to 0 to throw all of that item away. Items in ItemsBlacklist are always thrown out. Your armor is left alone (use AutoArmor for that), and so is your offhand while Offhand is running.

Category: Player Enabled by default: No

Settings

SettingTypeDefaultRangeDescription
ConstraintsSetting GroupSee Inventory Constraints.
MaximumBlocksInteger5120..2500Most blocks to keep.
MaximumArrowsInteger1280..2500Most arrows to keep, all kinds together.
MaximumThrowablesInteger640..600Most throwable items (snowballs, eggs, wind charges) to keep.
MaximumFoodPointsInteger2000..2000Most food to keep, counted in hunger points it fills.
MaximumWaterBucketsInteger20..16Most water buckets to keep.
MaximumLavaBucketsInteger20..16Most lava buckets to keep.
MaximumMilkBucketsInteger20..16Most milk buckets to keep.
MaximumTotemsInteger370..37Most totems of undying to keep.
ItemsBlacklistRegistry ListNoneItems that are always thrown out.
GreedyToggleOnSwaps an item in a slot for a better one of the same type from your inventory.
OffHandItemChoiceShieldItem type for your offhand.
SlotItem-1ChoiceWeaponItem type for hotbar slot 1.
SlotItem-2ChoiceBowItem type for hotbar slot 2.
SlotItem-3ChoicePickaxeItem type for hotbar slot 3.
SlotItem-4ChoiceAxeItem type for hotbar slot 4.
SlotItem-5ChoiceNoneItem type for hotbar slot 5.
SlotItem-6ChoicePotionItem type for hotbar slot 6.
SlotItem-7ChoiceFoodItem type for hotbar slot 7.
SlotItem-8ChoiceBlockItem type for hotbar slot 8.
SlotItem-9ChoiceBlockItem type for hotbar slot 9.

Item types for the slot and offhand settings: Sword, Weapon, Spear, Mace, BestKnockback, Bow, Crossbow, Axe, Pickaxe, Shovel, Hoe, Rod, Shield, Water, Lava, Milk, Pearl, Gapple, Food, Potion, Block, Throwables, Ignore (leave the slot alone) and None (any item can go there).

An axe with Sharpness V or higher counts as a weapon. Other axes count as tools.

BestKnockback keeps your best Knockback item, like a knockback stick, in its own slot. It only takes items with more Knockback than your best weapon.


Last updated: 2026-11-11, based on source code