介绍
中文介绍正在准备中,下面暂时显示原文。
Trading Station
- Item trading machine.
- Made for modpacks. It doesn’t add any recipe.
Dedicated wiki
1.21.1-1.x Version Requires Mechanicals Lib
Features
- Basic station with no power requirements.
- Powered station with RF power requirements.
- Custom Trading recipe
- Custom recipe requirements per recipe.
- Indestructible variant for each station.
- Configurable consumption & progress.
- Mechanical (Create Addon) station available with companion mod.Link
Trading recipe
"type": "trading_station:trading"result:Output item. Itemcomponentsallowed.ingredients: Required items.processingTime: Required time in ticks.recipeRequirements: Custom recipe requirements. WIKI
Example (One ingredient)
{
"type": "trading_station:trading",
"result": {
"id": "minecraft:diamond",
"count": 5
},
"ingredients": [
{
"ingredient": {
"item": "minecraft:emerald"
},
"count": 5
}
]
}
Example (Two ingredients)
{
"type": "trading_station:trading",
"result": {
"id": "minecraft:gold_block",
"count": 5
},
"ingredients": [
{
"ingredient": {
"item": "minecraft:oak_log"
},
"count": 5
},
{
"ingredient": {
"item": "minecraft:birch_log"
},
"count": 10
}
],
"processingTime": 250
}
Example (Enchanted book)
{
"type": "trading_station:trading",
"result": {
"id": "minecraft:enchanted_book",
"count": 1,
"components": {
"minecraft:stored_enchantments": {
"levels": {
"minecraft:density": 3
}
}
}
},
"ingredients": [
{
"ingredient": {
"item": "minecraft:diamond"
},
"count": 5
}
],
"processingTime": 100
}
Example (Machine Requirement)
{
"type": "trading_station:trading",
"result": {
"id": "minecraft:emerald_block",
"count": 1
},
"ingredients": [
{
"ingredient": {
"item": "minecraft:diamond"
},
"count": 5
}
],
"processingTime": 100,
"requirements": [
{
"value": [
"powered",
"mechanical"
],
"type": "trading_station:machine_id"
}
]
}
KubeJS
Some examples
// Processing time
event.recipes.trading_station.trading(Item.of('minecraft:gold_block', 5),[Item.of("5x minecraft:oak_log"),Item.of("10x minecraft:birch_log")]).processingTime(250);
//Enchanted book result
event.recipes.trading_station.trading(Item.of('minecraft:enchanted_book[stored_enchantments={levels:{"minecraft:unbreaking":3}}]', 1),[Item.of("minecraft:diamond", 5)]).processingTime(100);
//With machine requirement
event.recipes.trading_station.trading(Item.of('minecraft:emerald_block'),[Item.of("5x minecraft:diamond")]).processingTime(100).requirements(MachineId.of(["powered","mechanical"]));
Machine ID (binding)
MachineId.of(["powered","mechanical"])
常见问题
Trading station 支持哪些 Minecraft 版本?
Trading station 支持 Minecraft Java 版 1.19.2–1.21.1,共 2 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。
Trading station 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。
oierbravo 的其他作品
查看全部 →Create Sifting
by oierbravo
为超棒的机械动力模组添加的筛子方块
1007万
3 个月前
Modrinth · CurseForge
Create Mechanical Extruder
by oierbravo
一个机械挤出机方块。可用于从相邻的方块/流体中生成任意方块或物品。
926.8万
3 个月前
Modrinth · CurseForge
Mechanicals Lib
by oierbravo
模组前置库
424.1万
3 个月前
Modrinth · CurseForge
Create Mechanical Spawner
by oierbravo
一种机械刷怪笼方块。通过旋转动力生成生物。该模组主要面向整合包。
290万
3 个月前
Modrinth · CurseForge
评论
登录后评论和评分