Create Mechanical Spawner
一个机械刷怪箱方块。利用旋转动力生成生物。
专属维基
1.21.1-2.x 版本需要 Mechanicals Lib
版本支持与文档
- 1.21.1:支持。文档参考此版本。
- 1.20.1:仅修复关键问题:文档
特性
- 随机生成流体
- 依赖生物群系的随机生成
- 特定生物的液体
- 可配置项:
- 应力
- 最低速度
- 流体容量
- 生成点最大范围
- 处理时间倍率(或除数)。允许在不编辑配方本身的情况下修改所有配方的时间。
- 生成流体混合器配方。
- JEI 与 Jade 集成
- KubeJS 集成
- Ponder 场景
- 战利品收集器方块
- 可配置为允许任何容器或 Create Item Vault。
- 可以禁用。
- 刷怪箱可配置为仅与战利品收集器配合使用。
- 免疫凋灵与爆炸的玻璃与外壳。
- 凋灵配方。
生成配方
input必填。output可选。任意实体,如"minecraft:skeleton"。默认:来自生物群系的随机生物。processingTime可选。默认值:200customLoot可选。允许在与战利品收集器方块配合使用时生成自定义战利品。
随机生成(模组已内置)
{
"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 模组本身以及 Mrbysco
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
- 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
inputrequired.outputoptional. Any entity like"minecraft:skeleton". Default: random mob from biome.processingTimeoptional. Defaults: 200customLootoptional. 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
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
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Create Mechanical Spawner
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 更新了 Mechanicals lib
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
AE2:一款流行的自动化与存储模组
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
让你能够在世界中的任何位置定位结构。
模组
TerraFirmaCraft (TFC) 是一个全面转换模组,对生存模式进行了彻底的改造与重新设计。
模组
一堆修复
评论 0
登录后参与评分
还没有评论,来抢沙发吧