Universal ClearLag
Lightweight multiversion server utility for automatic entity cleanup, mob spawn prevention, and lag control.
介绍
Universal ClearLag is a lightweight server utility for reducing unnecessary entity load and giving server owners direct control over cleanup and mob spawning across multiple Minecraft versions.
Supported versions currently include:
- Forge 1.6.4
- Forge 1.7.10
- Forge 1.8.9
- Forge 1.12.2
- Forge 1.16.5
- Forge 1.18.2
- Forge 1.20.1
- NeoForge 1.21.11
Originally focused on dropped-item cleanup, ClearLag now includes configurable mob cleanup, live configuration reloading, spawn prevention, administrative cleanup commands, and in-game spawn-control tools.
Features
- Automatic dropped-item cleanup
- Automatic configurable mob cleanup
- Cleanup countdown warnings
- Configurable cleanup intervals
- Manual cleanup commands
- Configurable mob spawn prevention
- Vanilla and modded entity support
- Live JSON configuration reloading
/clearlag reloadfor manual configuration reloads- Spawn Control Tool for quickly blocking or allowing future spawning of targeted mobs
- Saved mobs are protected from spawn-prevention rules when loaded back from disk
- Low-overhead runtime entity and spawn checks
Spawn prevention affects future spawn attempts rather than deleting existing mobs. Existing entities remain in the world unless removed through a cleanup command or scheduled cleanup policy.
ClearLag is designed to keep its own overhead low. Configuration is validated and compiled when loaded, runtime spawn checks use cached entity rules, and loaded entities are only scanned when an actual cleanup occurs.
Manual Entity Cleanup
On Minecraft 1.6.4 through 1.12.2, ClearLag provides an administrative entity-removal command:
/clearlag clear entities
Specific entity types can also be targeted.
Examples:
/clearlag clear entities Slime
/clearlag clear entities Zombie Skeleton
Minecraft 1.12.2 uses namespaced registry IDs:
/clearlag clear entities minecraft:slime
The legacy /clearlag entities clear command spelling is also supported.
Manual entity clearing is intentionally separate from scheduled cleanup rules and can remove loaded non-player living entities including slimes, villagers, golems, named mobs, tamed mobs, bosses, and supported modded entities.
Players, armor stands, dropped items, projectiles, and nonliving utility entities are excluded.
On Minecraft 1.16.5 and newer, manual entity clearing is deprecated in favor of Minecraft’s more powerful vanilla /kill selectors. Automatic ClearLag cleanup remains fully supported.
Server-Side Use
Universal ClearLag is designed to remain server-side-only by default.
The Spawn Control Tool is disabled by default, meaning clients do not normally need ClearLag installed.
All cleanup, spawn prevention, commands, countdowns, and configuration features continue to work entirely server-side.
If the Spawn Control Tool is enabled:
- Most supported versions use a marked vanilla item and remain compatible with server-only installation.
- Minecraft 1.7.10 retains the original registered ClearLag tool for compatibility, which requires matching clients and a server restart when enabled.
Configuration
ClearLag uses JSON configuration files and supports live reloading.
Most configuration changes can be applied without restarting the server using:
/clearlag reload
Existing explicit settings are preserved during upgrades, including spawn-control tool settings and entity policies.
常见问题
Universal ClearLag 支持哪些 Minecraft 版本?
Universal ClearLag 支持 Minecraft Java 版 1.6.4–1.21.11,共 8 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Universal ClearLag 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Trollionaire 的其他作品
查看全部 →
Mcheli-O
Mcheli Overdrive aims to be as realistic as possible while providing players with an immersive and exciting Military Technology Minecraft experience. It is a modified version of the original Mcheli mod, which includes significant changes and improvements.
Mcheli Overdrive
Loader mod for Mcheli Overdrive the overhaul to the vehicle mod Mchelicopter
Handmade-Guns Overdrive
An overhaul of "HandmadeGuns" that seeks to take this open source gun mod to the next level. All assets have also been translated to English for ease of use.
Ragex’s Nuclear Tech
A sci-fi chemistry learning tool about space, science, immersion and of course Nuclear Tech.
评论
登录后评论和评分