HomeJavaDatapacksItem Sweep
Item Sweep
DatapacksJava

Item Sweep

by Qiufeng · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.15.2–1.21.11 · Data pack⬇ Download for 1.21.8–1.21.11 · Fabric
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

🧹 Item Sweep

Automatic item clearing for Minecraft. Choose your format. Minecraft 自动清理工具,提供两种形式。


✨ Features / 特点


🚀 Installation & Configuration / 安装与配置

For the Fabric Mod / 安装模组版

  1. Install / 安装: Get the .jar from "Files" tab, put it in mods folder. 从 “Files” 标签页获取 .jar 文件,放入 mods 文件夹。
  2. Configure (Optional) / 配置 (可选)
    • In your world, run: /gamerule sweepintervalseconds <seconds> 在你的世界中运行:/gamerule sweepintervalseconds <秒数>
    • Example: /gamerule sweepintervalseconds 300 for 5-minute intervals. 例如:/gamerule sweepintervalseconds 300 设置5分钟间隔。

For the Vanilla Datapack / 安装数据包版

  1. Install / 安装: Get the .zip from "Files" tab, put it in your world's datapacks folder. 从 “Files” 标签页获取 .zip 文件,放入世界存档的 datapacks 文件夹。
  2. Configure (Optional) / 配置 (可选)
    • Locate the file / 找到文件: Inside the datapack, open data/item_sweep/functions/load.mcfunction. 在数据包内,打开 data/item_sweep/functions/load.mcfunction 文件。
    • Edit / 编辑: Find the line scoreboard players set @a INTERVALSWEEP 120 and change 120 to your desired interval (in seconds). 找到 scoreboard players set @a INTERVALSWEEP 120 这一行,将 120 改为你想要的间隔秒数。
    • Reload / 重载: Run /reload in-game. 在游戏中运行 /reload

❓ Support / 支持

Report issues or view source code on GitHub. 在 GitHub 报告问题或查看源代码。

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

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

Explore more