Entity Culling v1.10
What's new
v1.10.0 Changelog:
New status effects preservation:
- Effects are saved: type, strength (amplifier) and remaining duration.
- Time is accounted for: effects are aged by the world time that passed while the mob was culled, instead of getting a fresh duration. An effect that ran out while the mob was culled is not re-applied.
- Health Boost works: effects are applied before health is restored, so a boosted mob keeps its full health.
- No stacking: effects a mob spawned with are cleaned up to match the original, including mobs that had no effects at all.
- Safe on retries: if a restore is retried after an interruption, matching effects aren't reset.
- Best-effort: an effect from a removed add-on is skipped with a console warning and can never block a restore.
New commands:
/cull:effects <on|off|status>: turn effect preservation on or off, or view its status./cull:effectparticles <on|off|status>: choose whether re-applied effects show particles.- Both settings are saved with your world and shown in
/cull:status.
Reliability:
- Mob records now have a size guard measured in real bytes, so a long or non-ASCII name tag can't overflow storage.
- If a record is too large, saved effects are trimmed one at a time with a warning. The mob itself is always still saved and restored.
- With
/cull:debugon, effect captures print the raw effect data, which helps with troubleshooting.
Known limitations:
- Ambient status and icon visibility can't be read from the game API, so they aren't preserved.
- Particles can't be read back either. All restored effects use the single setting from
/cull:effectparticles, on by default. - Absorption always returns at full strength, since its current amount isn't readable.
- World clock changes:
/time setand sleeping change the world clock, so they age saved effects accordingly.
Upgrading:
- Drop-in update. There is no data wipe and no manual migration.
- Mobs already culled by an older version restore exactly as before, and their existing effects are left untouched.
- Requires
@minecraft/server2.9.0 and Minecraft 1.26.0 or newer.
This mod has no additional files

