Community listing page, reviews here may not be monitored by the author.
Trading station
No reviews yet
Basic items to item trading machines
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Must be installed on both the client and the server.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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
- 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"])
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers