Custom Machinery
实现你梦想中的机器
你是否曾遇到过这样的情况:在制作你的精彩整合包时,想要添加一个自定义配方,但整合包中没有任何现成的机器能满足你的需求?
比如:“我想要一台能接收 3 种物品、5 种不同流体和一些能量来合成另一种物品的机器”,但没有机器能做到这一点。
或者当你找到一个添加了符合你需求的机器的模组,但该模组还添加了大量你不希望出现在整合包中的其他内容。
那么,这个模组允许你使用数据包创建自己的机器并将其添加到游戏中。
你可以自定义自定义机器的各个方面,从外观(模型、纹理、声音、光照、自定义 GUI)到功能(输入和输出的数量、类型及容量),当然,你还可以添加由该机器处理的自定义配方。
目前自定义机器可以:
- 拥有你想要的样子(物品、方块,甚至自定义模型)。
- 根据状态(空闲/运行中/错误/暂停)显示不同的外观。
- 在处理配方时发光。
- 在处理配方时播放声音。
- 包含 FE(Forge Energy,兼容 RF)。
- 包含任意流体,你可以决定内部流体槽的数量、容量以及最大输入和输出量。
- 包含任意物品,你可以决定内部物品栏位的数量。
- 点击机器时显示自定义 GUI,你可以在其中查看机器内容和配方进度。
- 基于红石信号暂停(可在机器 JSON 中配置)。
- 根据其状态发射红石信号(也可在机器 JSON 中配置)。
- 接收自定义定义的升级,以改变配方的处理(输入/输出/速度)。
- 配置为允许每个侧面的每个槽位/流体槽/缓冲区单独进行能量、物品和流体的输入或输出。
目前自定义机器配方可以:
- 按每秒刻或一次性消耗或产生 FE(Forge Energy,兼容 RF)。
- 按每秒刻或一次性消耗或产生任意流体,支持流体标签。
- 消耗或产生任意物品,支持物品标签。支持 NBT 数据和耐久度。
- 仅在 Minecraft 世界一天的特定时间处理配方。
- 仅在特定的世界位置、生物群系或维度处理配方。
- 当配方开始、处理中或结束时执行命令。
- 需要消耗燃料物品进行燃烧(类似熔炉)。
- 以一定概率(被消耗/产生的几率)消耗或产生 FE、流体、物品并使用命令。
- 对附近的生物施加效果。
- 仅在特定的天气条件下处理配方。
- 仅在机器接收到特定红石信号时处理配方。
- 检查附近的实体,消耗其生命值或直接击杀。
- 检查特定的天空/方块光照等级。
- 检查/放置/替换/破坏/销毁附近的方块。
- 要求机器周围形成复杂的结构。
- 基于战利品表文件输出物品。
- 在地面掉落或消耗物品。
- 处理 Crafttweaker 和 KubeJS 脚本。
你可以在这里找到一些工作正常的自定义机器示例,或者下载Test Datapack。
你可以下载Test Resourcepack 来查看如何将自定义 JSON 模型应用到机器上(本例中的“石头发电机”)。
所有这些都可以使用数据包中的 JSON 文件完成,并且通过 /reload 命令可以在游戏内应用对此文件的所有更改,无需重启游戏。
此模组完全兼容 JEI 和 The One Probe,强烈建议使用这些模组以获得使用 Custom Machinery 的最佳体验。
此模组包含完整的 Crafttweaker 和 KubeJS 支持,用于创建配方和升级。
Fabric 版本需要 Reborn Core
Wiki:你可能需要的所有关于制作自定义机器的信息都可以在 Wiki 中找到:
Issues:如果发现任何错误或想建议新功能或功能:
Discord:如有疑问或寻求支持,请加入 Discord 服务器:
License:此模组遵循 GNU LESSER GENERAL PUBLIC LICENSE 许可,你可以自由地在任何整合包中使用此模组。
Custom Machinery
make your dream machine come true
Did you ever been in the situation where, when creating your awesome modpack, you wanted to add a custom recipe but no available machine in your pack match what you want ?
Like "I want a machine that takes 3 items, 5 differents fluids and some energy to create another item" but no machine can do that.
Or the case when you found a mod that add a machine that can fit your needs but the mod also add tons of stuff that you don't want in your pack.
Well this mod let you create your own machines using datapacks and add them in the game.
You can customise everything about your custom machine, from the appearance (model, textures, sounds, lightning, custom gui) to the functionality (how many inputs and outputs, their type and capacity) and of course you can add your own recipes that will be processed by the machine.
Currently a custom machine can :
- Have the appearance you want (item, block, or even a custom model).
- Have differents appearances based on it's status (idle/running/errored/paused).
- Emit light based on if the machine is processing a recipe.
- Play a sound when the machine is processing a recipe.
- Contains FE (Forge Energy, compatible with RF)
- Contains any fluid, you decide the number of internal fluid tanks, their capacity and max input and output.
- Contains any item, you decide the number of internal item slots.
- Have a custom GUI when you click on the machine, where you can see the contents of the machine and the progress of the recipe.
- Pause based on a redstone signal (configurable in the machine json)
- Emit a redstone signal based on it's status (also configurable in the machine json)
- Receive custom defined upgrades that change the processing of recipes (inputs/outputs/speed)
- Be configured to allow input or outputs of energy, items and fluid for each slot/tank/buffer for each side separately.
Currently a custom machine recipe can :
- Consume or produce FE (Forge Energy, compatible with RF) on a per-tick basis or in one time.
- Consume or produce any fluid on a per-tick basis or in one time, works with fluid tags.
- Consume or produce any item, works with item tags. Support NBT and durability.
- Process a recipe only at a certain time of the Minecraft world day.
- Process a recipe only at a certain world position, biome or dimension.
- Use a command when a recipe start, is processing or finish.
- Require the usage of a fuel item to burn (like the furnace).
- Consume or produce FE, fluids, items and use commands with a probablity (chance to be consumed/produced).
- Give effects to nearby mobs.
- Process a recipe only under a specific weather.
- Process a recipe only when the machine receive a specific redstone signal.
- Check for nearby entities, consume their health points or kill them.
- Check for a specific sky/block light level.
- Check/place/replace/break/destroy nearby blocks.
- Require a complex structure to be formed around the machine.
- Output items based on a loot table file.
- Drop or consume items on ground.
- Process Crafttweaker and KubeJS scripts.
You can find some examples of working custom machines here or download the Test Datapack.
You can download the Test Resourcepack to see how a custom json model can be applied to a machine (the "stone generator" in this example)
All of this can be made using a json file in a datapack, and all changes to this file can ba applied in-game with the /reload command, no reboot of the game are needed.
This mod comes with a full compatibility with JEI and The One Probe and the usage of these mods are heavily advised to use Custom Machinery in the best conditions.
This mod include complete Crafttweaker and KubeJS support for creating recipes and upgrades.
The Fabric version requires Reborn Core
Wiki : All info you may need to make your custom machines can be found on the wiki :
Issues : If you find any bugs or if you want to suggest a new feature or functionality :
Discord : For questions or support, join the Discord Server :
License : This mod is licensed under the GNU LESSER GENERAL PUBLIC LICENSE you are free to use this mod in any modpack.
下载 Custom Machinery
下载 Custom Machinery
下载 Custom Machinery
下载 Custom Machinery
下载 Custom Machinery
下载 Custom Machinery
下载 Custom Machinery
下载 Custom Machinery
下载 Custom Machinery
下载 Custom Machinery
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
Custom Machinery 1.21.1-0.10.78
新增内容:
- 为方块需求添加了“最近”和“最远”排序选项。
- 最近:优先处理紧邻机器的方块的破坏/放置。
- 最远:优先处理远离机器的方块的破坏/放置。
Custom Machinery 1.21.1-0.10.77
BugFix :
- 修复升级提示顺序不一致的问题。
- 修复在 keep_inventory 为 true 时,机器被销毁后耐久组件清空机器库存的问题。
- 修复流体槽显示为空,即使其中含有极少量流体的问题。
- 修复可能出现的机器错误消息问题。
Custom Machinery 1.21.1-0.10.76
新增内容:
- 添加了新的机器耐久组件
- 默认情况下,机器仍然没有耐久度。
- 此组件为机器提供最大耐久值,可以通过配方和 KubeJS 脚本来造成损坏或修复。
- 当机器被拾取为物品并稍后放置时,耐久度会被保留,允许玩家例如在铁砧上修理机器。
- 耐久度会在 TheOneProbe 和 Jade 中显示。
- 当机器耐久度降至 0 时,机器可以选择被破坏、销毁、替换或没有任何反应(默认行为)。
- 添加了新的机器耐久度需求,用于对机器耐久度进行损坏或修复。
- 仅适用于设置了耐久度组件的机器。
- 添加了 KubeJS 集成以支持机器耐久度需求。
- 当机器状态从暂停变为空闲时,立即检查配方。
错误修复:
- 修复了升级组件在世界加载时失去升级效果的问题。
- 修复了 Jade 不显示制作进度的问题。
Custom Machinery 1.21.1-0.10.75
BugFix :
- 修复机器组件无法同时被多个升级修改的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧