Create Mechanical Spawner
Adds a unique mechanical spawner to Minecraft that activates with rotational energy to create mobs. This block fits perfectly into technological modpacks and offers a flexible customization system.
Main Features
The mod provides an advanced creature generation system using special fluids. You can create random mobs depending on the biome or specific creatures using appropriate fluids. The system is fully customizable: you can adjust mechanism stress, minimum operating speed, fluid capacity, and maximum spawn distance.
Integration with popular mods includes JEI support for viewing recipes, Jade for displaying information, and KubeJS for creating custom scripts. Ponder tutorial scenes are also available for learning the mechanics.
Loot Collection
A special collector block automatically picks up dropped items. It can be configured to work with any containers or Create storage. If needed, the collector can be disabled, and the spawner can be set to work only when a collector is present.
Protective elements include durable glass and casing that are immune to explosions and wither skeletons. A special recipe for creating the wither is also added.
Spawn Recipes
The recipe system uses JSON format with mandatory input fluid and optional parameters:
{
"type": "create_mechanical_spawner:spawner",
"input": {
"type": "fluid_stack",
"amount": 100,
"fluid": "create_mechanical_spawner:spawn_fluid_random"
},
"processingTime": 1500
}
For specific mobs:
{
"type": "create_mechanical_spawner:spawner",
"input": {
"type": "fluid_stack",
"amount": 100,
"fluid": "create_mechanical_spawner:spawn_fluid_pigling"
},
"output": "minecraft:pig",
"processingTime": 2500
}
Custom loot:
{
"type": "create_mechanical_spawner:spawner",
"customLoot": [
{
"id": "minecraft:nether_star"
},
{
"count": 16,
"id": "create:experience_nugget"
}
],
"input": {
"type": "fluid_stack",
"amount": 300,
"fluid": "create_mechanical_spawner:spawn_fluid_wither"
},
"output": "minecraft:wither",
"processingTime": 5000
}
KubeJS Support
Various functions are available for server scripts:
Removing all default recipes:
event.remove({ type: 'create_mechanical_spawner:spawner' })
Removing specific recipes:
event.remove({ output: 'minecraft:wolf'});
Random output with probability:
Output.of('minecraft:clay', 0.5)
Creating recipes with random generation:
event.recipes.createMechanicalSpawnerSpawner(Fluid.of('minecraft:water', 700)).processingTime(8000);
Creating recipes with specific mobs:
event.recipes.createMechanicalSpawnerSpawner(Fluid.of('minecraft:water', 700)).processingTime(8000).mob("minecraft:skeleton");