Create Mechanical Spawner

A mechanical spawner block. Generates Mobs with rotation power. This mod it's meant to be used in modpacks.

608,03k

Quick challenge

How far can you run before the mobs catch you?

Create Mechanical Spawner

Create Mechanical Spawner

A mechanical spawner block. Generates Mobs with rotation power.

Dedicated wiki

1.21.1-2.x Version Requires Mechanicals Lib

- Modrinth

Version support & documentation

- 1.21.1: Supported. Documentation refers to this version. - 1.20.1: Only critical issues: Documentation

Features

- Random Spawn fluid - Biome dependant random generation - Specific liquid for Mobs - Configurable: - Stress - Minimum speed - Fluid capacity - Spawn point max range - Processing time multiplier (or dividier). Allows to modify the time for all recipes without editing them. - Spawn fluid mixer recipes. - JEI & Jade integration - KubeJS integration - Ponder scene - Loot collector block - Configurable to allow any container or Create Item Vault. - Can be disabled. - The spawner can be configured to work only with loot collectors. - Wither & explosion immune glass & casing. - Wither recipe.

Spawn recipes

- `input` required. - `output` optional. Any entity like `"minecraft:skeleton"`. Default: random mob from biome. - `processingTime` optional. Defaults: 200 - `customLoot` optional. Allows to generate custom loot when used with loot collector blocks.

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

- Chanced output ```js 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); ``` - It's recommended to disable the default recipe before adding the recipe with custom loot.

Thanks to the Creators of Create.

Code inspiration from the Create mod itself & Mrbysco

ADS