下载量
550,521
关注数
152
数据来源
Modrinth
模组详细介绍
Create Mechanical Spawner
一个机械刷怪笼方块。使用转动力生成生物。
专用 Wiki
1.21.1-2.x 版本需要 Mechanicals Lib
- [Modrinth](https://modrinth.com/mod/mechanicals-lib "Modrinth")
版本支持与文档
- 1.21.1:受支持。文档基于此版本。
- 1.20.1:仅修复严重问题:[Documentation](https://github.com/oierbravo/create-mechanical-spawner/tree/mc1.20.1/dev "Documentation")
特性
- 随机生成流体
- 基于生物群系的随机生成
- 用于特定生物的专属液体
- 可配置:
- 应力
- 最低转速
- 流体容量
- 生成点最大范围
- 处理时间倍率(或除数)。允许在不编辑配方的情况下修改所有配方的时间。
- 刷怪流体混合配方。
- JEI 与 Jade 集成
- KubeJS 集成
- Ponder 演示场景
- 战利品收集器方块
- 可配置为允许任意容器或 Create Item Vault。
- 可禁用。
- 可将刷怪笼配置为仅与战利品收集器一起工作。
- 免疫凋灵与爆炸的玻璃和外壳。
- 凋灵配方。
生成配方
-
input为必需。 -
output为可选。可以是任意实体,例如"minecraft:skeleton"。默认:来自当前生物群系的随机生物。 -
processingTime为可选。默认值:200 -
customLoot为可选。与战利品收集器方块一起使用时,可生成自定义战利品。
随机生成(模组内已自带)
{
"type": "create_mechanical_spawner:spawner",
"input": {
"type": "fluid_stack",
"amount": 100,
"fluid": "create_mechanical_spawner:spawn_fluid_random"
},
"processingTime": 1500
}
特定生物示例
{
"type": "create_mechanical_spawner:spawner",
"input": {
"type": "fluid_stack",
"amount": 100,
"fluid": "create_mechanical_spawner:spawn_fluid_pigling"
},
"output": "minecraft:pig",
"processingTime": 2500
}
自定义战利品示例
{
"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 支持(服务器脚本)
禁用所有默认配方:
event.remove({ type: 'create_mechanical_spawner:spawner' })
禁用特定生物配方:
event.remove({ output: 'minecraft:wolf'});
绑定
- 概率产出
Output.of('minecraft:clay', 0.5)
添加随机生成配方:
//随机生物(基于生物群系)
event.recipes.createMechanicalSpawnerSpawner(Fluid.of('minecraft:water', 700)).processingTime(8000);
添加特定生物配方:
//特定生物
event.recipes.createMechanicalSpawnerSpawner(Fluid.of('minecraft:water', 700)).processingTime(8000).mob("minecraft:skeleton;
添加带有自定义战利品的配方:
event.remove({ output: 'minecraft:wither_skeleton'}); //推荐
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);
- 建议在添加带有自定义战利品的配方之前先禁用默认配方。
感谢 Create 的创作者们。
代码灵感来自 Create](https://www.curseforge.com/minecraft/mc-mods/create "Create") 模组本身以及 [Mrbysco
基本信息
模组名称Create Mechanical Spawner
作者oierbravo
下载量550,521
关注数152
支持版本1.19.2 - 1.21.1
加载器forge / neoforge
客户端required
服务端required