搜索历史
清空
暂无搜索历史
论坛热搜
1
【MC整合包发布】乌托邦探险之旅3.2
热
3
[1.6.4]上古老物 冒险者传说 by WhiteSword
新
5
[转载]洛心斗罗-福利|公会据点战|武魂||抽奖|最终版
2
[1.12.2]Jenny — 有趣的模拟女友模组|珍妮模组
热
4
幻虚斗罗V1.5[炫酷魂环][高级魂技][全模型贴图覆盖][超吸金]
6
[1.7.10] [HQM] [Mercury landing]水星迫降——在未知的世界中挣扎
登陆 注册 QQ登陆
快捷导航
查看: 34|回复: 0

[模组分享] 交易站 (Trading Station)-MOD模组

[复制链接]

5017

主题

60

回帖

1万

积分

龙❁妻

Rank: 8Rank: 8

经验
10298 EP
金粒
5181 粒
绿宝石
20 块
爱心
0 点
发表于 2025-8-10 19:42:53 | 显示全部楼层 |阅读模式
交易站 (Trading Station)Github |相关wiki |源站链接支持: forge交易站是一个物品交易机器,专为模组包而设计,不添加任何配方。

*特点:*

- 无需电力的基本交易站。

- 需要RF电力的高级交易站。

- 自定义交易配方。

- 每种交易站都有不被摧毁的变体。

- 可配置的消耗和进度。

- 与机械(Create Addon)站结合使用。

交易配方

- `ingredients`(必需):一个包含1或2种原料的数组/列表。

- `result`(必需):单个输出物品/方块。

- `processingTime`(可选):处理所需的刻。默认为1。高级机器速度为5倍。

- `biome`(可选):配方的生物群系要求。默认为任意。

- `exclusiveTo`(可选):所需的交易站。默认为任意。可能的值:`basic`(基本)、`powered`(高级)、`mechanical`(机械)。

例子(基本输入与输出)

{

  \"type\": \"trading_station:trading\",

  \"ingredients\": [

    {\"item\": \"minecraft:emerald\", \"count\": 5}

  ],

  \"result\": {

    \"item\": \"minecraft:diamond\",

    \"count\": 5

  },

  \"processingTime\": 500

}

例子(带NBT的输出物品)

{

  \"type\": \"trading_station:trading\",

  \"ingredients\": [

    {\"item\": \"minecraft:diamond\", \"count\": 5}

  ],

  \"result\": {

    \"item\": \"minecraft:enchanted_book\",

    \"nbt\": \"{StoredEnchantments: [{id:\\\"looting\\\",lvl:3s}]}\"

  },

  \"processingTime\": 100

}

例子(生物群系要求)

{

        \"type\": \"trading_station:trading\",

        \"result\": {

                \"item\": \"minecraft:diamond_sword\",

                \"count\": 1,

                \"nbt\": \"{Damage:0,Enchantments:[{id:\\\"mending\\\",lvl:1s}]}\"

        },

        \"ingredients\": [

                {

                        \"item\": \"minecraft:diamond\",

                        \"count\": 5

                }

        ],

        \"processingTime\": 100,

        \"biome\": {

                \"name\": \"minecraft:plains\"

        }

}

例子(exclusiveTo)

{

        \"type\": \"trading_station:trading\",

        \"result\": {

                \"item\": \"minecraft:diamond_sword\",

                \"count\": 1,

                \"nbt\": \"{Damage:0,Enchantments:[{id:\\\"sharpness\\\",lvl:1s}]}\"

        },

        \"ingredients\": [

                {

                        \"item\": \"minecraft:diamond\",

                        \"count\": 5

                }

        ],

        \"processingTime\": 100,

        \"exclusiveTo\": [

                \"powered\"

        ]

}

KubeJS 6.1 整合

ServerEvents.recipes(event => {

  /**

  *  event.recipes.tradingStationTrading(Result Item, Input Ingredients[])

  *  .processingTime(Int) [optional]

  *  .biome(Biome|BiomeTag) [optional]

  *  .exclusiveTo(String) [optional]

  *  .exclusiveTo(String[]) [optional]

  **/

    // 基本例子

    event.recipes.tradingStationTrading(Item.of(\'minecraft:emerald\', 5),[Item.of(\"5x minecraft:diamond\")]);

    event.recipes.tradingStationTrading(Item.of(\'minecraft:emerald\', 5),[Item.of(\"5x minecraft:oak_log\"),Item.of(\"10x minecraft:birch_log\")]).processingTime(100);

    event.recipes.tradingStationTrading(Item.of(\'minecraft:emerald\', 5),[Item.of(\"5x minecraft:diamond\")]).processingTime(100);

    event.recipes.tradingStationTrading(Item.of(\'minecraft:andesite\',2),[Item.of(\"2x minecraft:cobblestone\")]).processingTime(100);

    // 带附魔书的输出

    event.recipes.tradingStationTrading(Item.of(\'minecraft:enchanted_book\', \'{StoredEnchantments:[{id:\"power\",lvl:5s}]}\').strongNBT(),[Item.of(\"minecraft:stone\")]).processingTime(100)

    // 带生物群系要求的例子

    event.recipes.tradingStationTrading(Item.of(\'minecraft:diamond_sword\', \'{Enchantments:[{id:\"power\",lvl:5s}]}\').strongNBT(),[Item.of(\"5x minecraft:diamond\")]).processingTime(100).biome(\'#minecraft:is_beach\');

    event.recipes.tradingStationTrading(Item.of(\'minecraft:diamond_sword\', \'{Enchantments:[{id:\"mending\",lvl:1s}]}\').strongNBT(),[Item.of(\"5x minecraft:diamond\")]).processingTime(100).biome(\'minecraft:plains\');

    //

来自Modrinth所有游戏版本1.21.11.19.2所有类型neoforgeforgeTrading Station 1.0.5 for mc1.21.1trading_station-1.21.1-1.0.5.jar下载1.21.1-1.0.5#Beta- Lib updates.展开版本: 1.21.1-1.0.5支持游戏: 1.21.1类型:NeoForgeBeta下载次数: 161Trading Station 1.0.3 for mc1.21.1trading_station-1.21.1-1.0.3.jar下载1.21.1-1.0.3#Beta- Fixed Item capabilities. #3展开版本: 1.21.1-1.0.3支持游戏: 1.21.1类型:NeoForgeBeta下载次数: 165Trading Station 1.0.2 for mc1.21.1trading_station-1.21.1-1.0.2.jar下载1.21.1-1.0.2#Beta- License updated for mods.toml so it\'s consistent with the source.- ru_ru language by @mpustovoi展开版本: 1.21.1-1.0.2支持游戏: 1.21.1类型:NeoForgeBeta下载次数: 91Trading Station 1.0.1 for mc1.21.1trading_station-1.21.1-1.0.1.jar下载1.21.1-1.0.1#Beta- Update for mc1.21.1展开版本: 1.21.1-1.0.1支持游戏: 1.21.1类型:NeoForgeBeta下载次数: 64Trading Station - v0.1.2 for Minecraft 1.19.2trading_station-1.19.2-0.1.2.jar下载1.19.2-0.1.2#Release- CraftTweaker support.展开版本: 1.19.2-0.1.2支持游戏: 1.19.2类型:ForgeRelease下载次数: 557Trading Station - v0.1.1 for Minecraft 1.19.2trading_station-1.19.2-0.1.1.jar下载0.1.1#Release- Fixed recipe filtering.- Added examples to documentation.展开版本: 0.1.1支持游戏: 1.19.2类型:ForgeRelease下载次数: 74Trading station 1.19.2-0.1.0trading_station-1.19.2-0.1.0.jar下载1.19.2-0.1.0#Release- First public release.展开版本: 1.19.2-0.1.0支持游戏: 1.19.2类型:ForgeRelease下载次数: 80全部版本

markdown_parsed

文章类型:收录

layui.use([\'form\'], function(){
var form = layui.form;
});

游客,如果您要查看本帖隐藏内容请回复
交易站
楼主 2025-8-10 19:42:53 回复 收起回复
小僵尸论坛感谢有你~
回复 论坛版权

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 手机动态码快速登录

本版积分规则



介绍

我的世界(Minecraft)小僵尸论坛
收录了来自各地的我的世界(MC)爱好者们的各种资源

须知: 切勿滥用举报,任何与举报相关的信息必须属实!

"Minecraft"以及"我的世界"为Mojang Synergies AB的商标 本站与Mojang以及微软公司没有从属关系

官方

新浪微博 腾讯微博 微信公众号 投稿规则 版权声明 捐助我们

官方QQ①群: 291907844 (点击加群)
官方QQ②群: 421312192
官方QQ③群: 528726532

我的世界(Minecraft)小僵尸论坛

新会员

QQ|Archiver|手机版|小黑屋|Minecraft(我的世界)小僵尸论坛 |网站地图

GMT+8, 2025-9-25 10:26 , Processed in 0.249167 second(s), 52 queries .

快速回复 返回顶部 返回列表