HomeJavaModsItemCleaner
ItemCleaner
ItemCleaner — screenshot 1

ItemCleaner - Minecraft Item Cleanup Mod

ItemCleaner is a Fabric-based Minecraft mod designed to provide flexible and configurable item entity cleanup. It features scheduled automatic cleanup, customizable cleanup ranges, item whitelist management, and intuitive chat feedback. Suitable for both servers and single-player worlds.

Features

Core Cleanup Features

Flexible Configuration System

Clear User Feedback

Installation

Place the downloaded mod JAR file into your mods folder.

Installation Steps

  1. Download the mod JAR file for your Minecraft version
  2. Place the JAR file into the mods folder:
    • Client: Place in the client's mods folder; supports single-player
    • Server: Place in the server's mods folder; all players share the same cleanup rules
  3. Launch the game/server; the mod will generate a default config file automatically

Commands

Configuration

Config file path: ./config/itemcleaner.json (generated automatically on first launch)

Core Configuration Parameters

{
  "enableAutoCleanup": true, // Enable automatic cleanup (true = on, false = off)
  "enableThresholdCheck": true, // Enable item count threshold check (true = on, false = off)
  "cleanupInterval": 12000, // Auto-cleanup interval (in ticks)
  "thresholdCheckInterval": 100, // Item threshold check interval (in ticks)
  "warningCooldown": 1200, // Cooldown for pre-cleanup warnings (in ticks)
  "cleanRadius": 48, // Horizontal cleanup radius (in blocks)
  "yMin": -64, // Minimum Y-level for cleanup
  "yMax": 320, // Maximum Y-level for cleanup
  "itemThreshold": 100, // Item count threshold to trigger cleanup warnings
  "language": "en_us", // Display language (e.g., "en_us" for English)
  "currentCleanupList": "default", // Currently active cleanup list
  "cleanupLists": { // Stores multiple independent cleanup lists (key = list name, value = array of item IDs)
    "NowClean": [
      "minecraft:gravel",
      "minecraft:sand"
    ],
    "default": [
      "minecraft:cobblestone",
      "minecraft:dirt",
      "minecraft:bone",
      "minecraft:rotten_flesh",
      "minecraft:spider_eye",
      "minecraft:string",
      "minecraft:feather",
      "minecraft:gunpowder",
      "minecraft:flint",
      "minecraft:gravel",
      "minecraft:sand",
      "minecraft:clay_ball",
      "minecraft:snowball",
      "minecraft:egg",
      "minecraft:cod",
      "minecraft:salmon",
      "minecraft:pufferfish",
      "minecraft:tropical_fish",
      "minecraft:beef",
      "minecraft:porkchop",
      "minecraft:chicken",
      "minecraft:rabbit",
      "minecraft:mutton",
      "minecraft:leather",
      "minecraft:wool",
      "minecraft:stick",
      "minecraft:stone",
      "minecraft:cobblestone",
      "minecraft:grass_block",
      "minecraft:dead_bush",
      "minecraft:brown_mushroom",
      "minecraft:red_mushroom",
      "minecraft:lily_pad",
      "minecraft:seagrass",
      "minecraft:kelp"
    ]
  }
}
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more