HomeJavaModsCreate Mechanical Spawner
Create Mechanical Spawner
ModsJava

Create Mechanical Spawner

by oierbravo · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.20.1 · NeoForge⬇ Download for 1.20.1 · Forge⬇ Download for 1.19.2 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Create Mechanical Spawner — screenshot 1

Create Mechanical Spawner

A mechanical spawner block. Generates Mobs with rotation power.

Dedicated wiki

1.21.1-2.x Version Requires Mechanicals Lib

Version support & documentation

Features

Spawn recipes

Random generation (already in the mod)

{
  "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
}

KubeJS support (Server script)

Disable all default recipes:

event.remove({ type: 'create_mechanical_spawner:spawner' })

Disable specific mob recipes:

event.remove({ output: 'minecraft:wolf'});

Bindings

Output.of('minecraft:clay', 0.5)

Add random generation recipe:

//Random Mob (biome dependant)
event.recipes.createMechanicalSpawnerSpawner(Fluid.of('minecraft:water', 700)).processingTime(8000);

Add specific mob recipe:

//Specific MOB
event.recipes.createMechanicalSpawnerSpawner(Fluid.of('minecraft:water', 700)).processingTime(8000).mob("minecraft:skeleton;

Add recipe with custom loot:

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.

Code inspiration from the Create mod itself & Mrbysco

Quick facts

Install steps are the general flow for this file type — see the MC Java Mods guides for the full walkthrough.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more