Home›Java›Mods›Trading station
Trading station
ModsJava

Trading station

Java mod listed for Minecraft 1.19–1.21. Downloads from the MC Java Mods app on Android.

by oierbravo · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.19.2 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Trading Station

Dedicated wiki

1.21.1-1.x Version Requires Mechanicals Lib

Features

Trading recipe

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"])
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more