COWMODSКаталог модов

Better /summon

Adds a number argument for multiple summons at one go, and a random number function.

Автор: aGamingGod12343931обновлён 16 апр. 2026 г.
Механики игрыОптимизацияУтилиты

Описание

Better /summon is a lightweight, server-side Fabric mod for Minecraft 1.21.11 (Java 21) that extends the vanilla /summon command with repeat counts and an optional random count range. It's built for testing, mapmaking, command workflows, and anyone tired of copy-pasting the same /summon line ten thousand times.

The mod doesn't re-implement summoning — it wraps Minecraft's own SummonCommand.summon(...) in a small, safe batching layer. That means vanilla validation, NBT parsing, mob-cap rules, and side effects (raids, boss bars, etc.) all still apply. The only thing it changes is how many times that vanilla call is made.

What it adds

Better /summon keeps normal /summon behaviour and adds, on top of each existing form, either:

  • a fixed repeat count (<count>), or
  • a random count in a range (random <min> <max>, inclusive).

Both modes work with the three vanilla branches you already know:

  • entity only
  • entity + position
  • entity + position + NBT

Command formats

/summon <entity> <count>
/summon <entity> random <min> <max>

/summon <entity> <pos> <count>
/summon <entity> <pos> random <min> <max>

/summon <entity> <pos> <nbt> <count>
/summon <entity> <pos> <nbt> random <min> <max>

Галерея

Summon mobs with a random number argumentSummon multiple mobs at once with a number argument

Последние версии

Все версии →
release

Better /summon 1.1.1

1.1.1
16 апр. 2026 г.264Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
Скачать
Что нового
## Better /summon 1.1.1 Hardening pass on the batched-spawn path. No new commands, no syntax changes — everything you already type still works, it just behaves better under stress. ### Fixed - **Queue overflow.** The batched-spawn queue could grow without bound if a command block or RCON client fired long `/summon … <count>` calls rapidly. The queue is now capped at **20 pending batched tasks** and returns a clear command error when full instead of silently consuming memory. - **Stale task carry-over between single-player sessions.** Pending tasks from a previous integrated-server session could point at a world that no longer exists. The queue is now reset on `SERVER_STARTING` (not only on stop), and every batch re-verifies the source server is still running before processing the next tick. - **Redundant empty-NBT clones.** When no `<nbt>` argument was given, the mod was still deep-copying an empty NBT compound for every entity — 100 throwaway allocations per tick at full batch speed. It now reuses a shared empty compound on the common path. ### Changed - Documented the `ACTIVE_TASKS` thread-safety contract (server-thread only) so future refactors preserve the invariant. - Rewrote `README.md` with a full command reference, a description of how batching works, and the guardrails applied to every argument. - Corrected a docs bug: the earlier README claimed `random` used `SecureRandom`. It does not — it uses `ThreadLocalRandom` (uniform, non-cryptographic). Same behaviour, accurate description. ### Unchanged - All six command overloads (`/summon <entity> <count>`, `… random <min> <max>`, the `<pos>` and `<nbt>` variants) behave exactly as before for valid input. - Permission level, `1..10_000` bounds, and `min > max` error behaviour are identical. - Server-side only; clients do not need the mod.
release

Better /summon 1.0.1

1.0.1
9 мар. 2026 г.81Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
Скачать
Что нового
Updated security and performace, see github for more information.
beta

Better /summon 1.0.0

1.0.0
27 февр. 2026 г.48Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11fabric
Скачать
Что нового
Initial release in testing phase