Mechanical Trading Station

Mechanical Trading Station

Mod

Trading Station with Create support.

Client and server EconomyGame MechanicsTechnologyUtility

398 downloads
8 followers
Created10 months ago
Updated10 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Mechanical Trading Station

Trading Station with Create support. Requires Trading station mod

Features

  • Kinetic machine, uses rotation to work.
  • Jade integration.
  • KubeJS support (via base mod)
  • Provides mechanical trading station type

Pending Features:

  • Configs.
  • Ponder scenes.
  • Gogles integration.
  • In world structure.
  • Display Link Source

KubeJS 6.1 Integration

ServerEvents.recipes(event => {
/**
*  event.recipes.tradingStationTrading(Result Item, Input Ingredients[])
*  .processingTime(Int) [optional]
*  .biome(Biome|BiomeTag) [optional]
*  .exclusiveTo(String) [optional]
*  .exclusiveTo(String[]) [optional]
   **/

    // Basic example
    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);

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

    // With biome requirement
    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');

    //With exclusive to requirement (mechanical)
    event.recipes.tradingStationTrading(Item.of('minecraft:diamond_sword', '{Enchantments:[{id:"looting",lvl:1s}]}').strongNBT(),[Item.of("5x minecraft:diamond")]).processingTime(100).exclusiveTo('mechanical');
    event.recipes.tradingStationTrading(Item.of('minecraft:diamond_sword', '{Enchantments:[{id:"sharpness",lvl:1s}]}').strongNBT(),[Item.of("5x minecraft:diamond")]).processingTime(100).exclusiveTo(['powered','mechanical']);

})

Project members

oierbravo

Owner


Technical information

License
MIT
Client side
required
Server side
required
Project ID