Item Sweep
This project adds a feature to Minecraft that automatically clears dropped items at set intervals.
介绍
🧹 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. / 无需模组加载器,通过编辑文件中的一个数字来配置。
- 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分钟间隔。
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。
❓ Support / 支持
Report issues or view source code on GitHub.
在 GitHub 报告问题或查看源代码。
常见问题
Item Sweep 支持哪些 Minecraft 版本?
Item Sweep 支持 Minecraft Java 版 1.13–1.21.11,共 46 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
Item Sweep 怎么安装?
新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。
Qiufeng 的其他作品
查看全部 →
Hourglass Sand
A simple item that lets you control time flow. Pause, slow down, speed up, or reset your world with a single click. / 一个简单的物品,让你掌控时间流速。只需一次点击,就能暂停、慢放、加速或恢复正常时间。
StudyMod
Now, when you answer correctly, you will receive high-quality rewards (with a 1% chance of getting the magical WuSan Sword!); if you answer incorrectly, you will be struck by lightning as punishment.
MineWatch
A watch that tells time and coordinates in Minecraft/在 Minecraft 里看时间和坐标的手表
GuessNumber
A simple number-guessing minigame. Guess the random number in the GUI—how many tries will it take? / 一个简单的猜数字小游戏。在GUI中猜随机数字——试试几次能猜中?
评论
登录后评论和评分