A mechanical spawner block. Generates Mobs with rotation power. This mod it's meant to be used in modpacks.
A mechanical spawner block. Generates Mobs with rotation power.
input required.output optional. Any entity like "minecraft:skeleton". Default: random mob from biome.processingTime optional. Defaults: 200customLoot optional. Allows to generate custom loot when used with loot collector blocks.{
"type": "create_mechanical_spawner:spawner",
"input": {
"type": "fluid_stack",
"amount": 100,
"fluid": "create_mechanical_spawner:spawn_fluid_random"
},
"processingTime": 1500
}
Specific Mob example
{
"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 example
{
"type": "create_mechanical_spawner:spawner",
"customLoot": [
{
"id": "minecraft:nether_star"
},
{
"count": 16,
"id": "create:experience_nugget"
},
{
"chance": 0.5,
"count": 8,
"id": "create:experience_nugget"
}
],
"input": {
"type": "fluid_stack",
"amount": 300,
"fluid": "create_mechanical_spawner:spawn_fluid_wither"
},
"output": "minecraft:wither",
"processingTime": 5000
}
event.remove({ type: 'create_mechanical_spawner:spawner' })
event.remove({ output: 'minecraft:wolf'});
Output.of('minecraft:clay', 0.5)
//Random Mob (biome dependant)
event.recipes.createMechanicalSpawnerSpawner(Fluid.of('minecraft:water', 700)).processingTime(8000);
//Specific MOB
event.recipes.createMechanicalSpawnerSpawner(Fluid.of('minecraft:water', 700)).processingTime(8000).mob("minecraft:skeleton;
event.remove({ output: 'minecraft:wither_skeleton'}); //recommended
event.recipes.create_mechanical_spawner.spawner("minecraft:wither_skeleton", Fluid.of('minecraft:lava', 1000))
.customLoot(
[
Output.of("minecraft:redstone",0.5),Output.of("minecraft:iron_ingot",0.1),
Output.of("minecraft:redstone",0.5),Output.of("minecraft:iron_ingot",0.1),
]
)
.processingTime(2000);
Thanks to the Creators of Create.
Conversation