
SU Addon - Silk Spawners
This addon extends the functionality of Server Utilities mod and provides a flexible system for collecting and placing mob spawners.
Main Features
The modification adds a finely customizable ability to harvest spawners while preserving their contents. During the first launch, configuration files for all creatures in the game are automatically created — including the Ender Dragon and the Wither. You can easily remove from the configuration those spawners that should not be available to players.
Operation Mechanics
Most spawners are initially unavailable in world generation. Standard spawners (zombies, skeletons, blazes, and others) can be harvested by players when two conditions are met: having the "serverutils.spawners.pickup" permission and a pickaxe with the "Silk Touch" enchantment. If a player attempts to collect a spawner without the necessary access rights, the system will notify them of the impossibility of this action and suggest crouching to destroy the block.
This protection prevents accidental destruction of valuable spawners during regular gameplay.
Special Category of Spawners
Special spawners that do not generate naturally in the world require additional actions to obtain. They can be given to players directly or placed in the world using the /spawner command added by this modification.
Configuration
All settings are located in the "config/serverutils/spawners/" folder. Each mob has its own configuration file with detailed parameters. The Greeter.json file demonstrates advanced configuration capabilities, including settings for villager information.
Basic configuration example:
dragon.json — standard configuration
Extended configuration:
greeter.json — demonstration of configuration capabilities for villagers
Note: The ability to configure villager trade offers is currently not available but is planned for future updates.