ModMIT
Item Sweep
This project adds a feature to Minecraft that automatically clears dropped items at set intervals.
50
Downloads
0
Followers
2 months ago
Updated
📦
2
Versions
📖About Item Sweep
🧹 Item Sweep
Automatic item clearing for Minecraft. Choose your format.
Minecraft 自动清理工具,提供两种形式。
✨ Features / 特点
- Two Formats / 两种形式:
- Fabric Mod / 模组版: Configure the cleanup interval in-game with
/gamerule sweepintervalseconds <秒数>. / 可在游戏内用/gamerule sweepintervalseconds <秒数>配置清理间隔。 - Vanilla Datapack / 数据包版: No mod loader needed. Configure by editing a number in a file. / 无需模组加载器,通过编辑文件中的一个数字来配置。
- Fabric Mod / 模组版: Configure the cleanup interval in-game with
- Automatic / 自动: Cleans up item entities every 120 seconds by default. / 默认每120秒清理一次掉落物。
- Lightweight / 轻量: Minimal performance impact. / 对性能影响极小。
🚀 Installation & Configuration / 安装与配置
For the Fabric Mod / 安装模组版
- Install / 安装: Get the
.jarfrom "Files" tab, put it inmodsfolder.
从 “Files” 标签页获取.jar文件,放入mods文件夹。 - Configure (Optional) / 配置 (可选):
- In your world, run:
/gamerule sweepintervalseconds <seconds>
在你的世界中运行:/gamerule sweepintervalseconds <秒数> - Example:
/gamerule sweepintervalseconds 300for 5-minute intervals.
例如:/gamerule sweepintervalseconds 300设置5分钟间隔。
- In your world, run:
For the Vanilla Datapack / 安装数据包版
- Install / 安装: Get the
.zipfrom "Files" tab, put it in your world'sdatapacksfolder.
从 “Files” 标签页获取.zip文件,放入世界存档的datapacks文件夹。 - 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 120and change120to your desired interval (in seconds).
找到scoreboard players set @a INTERVALSWEEP 120这一行,将120改为你想要的间隔秒数。 - Reload / 重载: Run
/reloadin-game.
在游戏中运行/reload。
- Locate the file / 找到文件: Inside the datapack, open
❓ Support / 支持
Report issues or view source code on GitHub.
在 GitHub 报告问题或查看源代码。