v2.0.1

Apothic Spawners

Silk Touch spawners and change them with items: delay, count, range, no AI, ignore light and more.

What it adds

Mine a spawner with Silk Touch to take it with you: it keeps its mob and every stat. The pickaxe takes extra wear, as in the original.

Use items on a spawner to change it: sugar and clocks for the delays, fermented spider eyes for the spawn count, pistons for the spawn range, a Nether Star to ignore players, a comparator for redstone control, and more. Each has an inverse in the off hand, and every stat has its limits.

Spawner-only stats: No AI, Silent, Youthful, Burning, Initial Health, Ignore Light, Ignore Conditions and Echoing.

The Capturing enchantment makes mobs drop their spawn egg; Echoing spawners roll their mobs' loot and experience again.

A spawner caught in an explosion turns unstable and bursts a few seconds later.

Fifteen advancements, the spawner item's stats in its tooltip, and banned mobs (the Warden) refused.

Optional: JEI shows every modifier, Jade shows a spawner's stats (hold Ctrl), and with the guideme library W over a spawner opens its guide.

The server checks every use; a client never decides a stat.

Release compatibility

The published v2.0.1 download targets Dev ba1f24e. The 814d486 port passes Linux checks with and without built-in JEI. In-game spawner checks are pending.

Performance

Earlier benchmark. Ten pig spawners next to the player (Nov 29). White line: the 0.1 ms budget.

Client, per framebelow noise
Server, per tickbelow noise

The mod's cost is below the noise of a shared test machine: frame CPU was 2.37 ms with the mod and 2.76 ms without it.

About

Early Access: everything works except two gaps that wait on Sunrise APIs: Ignore Light only lifts the light rule for animals on their ground block (sunrise#7203), and a spawner set to the Ender Dragon with /data spawns nothing (sunrise#6599).

Pick up spawners with Silk Touch and change how they work by using items on them.

A port of Apothic Spawners by Shadows_of_Fire to Sunrise (Minecraft Java 26.3), under the original's licence (MIT, in LICENSE). One native mod on Sunrise's mod API; the code is a rewrite that follows the original 2.0.1 release, and its recipes, advancements and language files are the original's.

Differences from the original: