Workstation Recipes

An item's recipe goes in an item.recipes section. Set type in there to choose where it's made - a crafting table by default, or a furnace, smithing table, stonecutter, anvil, or brewing stand.

The recipe formats themselves are shared across eco plugins and documented in full on the Recipes page. This page covers how EcoItems uses them.

Quick start

  1. Open your item's config in /plugins/EcoItems/items/.

  2. Add a recipes: section inside item:.

  3. Set type: and that workstation's ingredient keys - for a furnace, just input.

  4. Run /ecoitems reload.

  5. Put the ingredient into the workstation in-game and confirm your item comes out.

item:
  item: iron_ingot
  name: "&bPurified Iron"
  recipes:
    type: furnace
    input: raw_iron
    experience: 0.7
    cook-time: 200

The workstations

Everything goes in the item's item.recipes section, and the result is always the item itself. Ingredients are Item Lookup strings, so EcoItems, other eco plugins, and vanilla items all work.

typeIngredient keysExtra keys
crafting_table (default)recipe (9 slots)shapeless
furnaceinputexperience, cook-time
blast_furnaceinputexperience, cook-time
smokerinputexperience, cook-time
campfireinputexperience, cook-time
stonecutterinput
smithing_tabletemplate, base, addition
anvilbase, material (optional)repair-cost
brewing_standbase, ingredientbrew-time

give-amount and permission work on every type. What each key does is covered on the Recipes page.

# Crafting table - the default, so type can be left out
item:
  recipes:
    type: crafting_table
    shapeless: false # Optional; defaults to false
    permission: ecoitems.craft.mithril_sword # Optional
    give-amount: 1 # Optional; defaults to 1
    recipe: # Read left to right, top to bottom; "" is an empty slot
      - ""
      - ecoitems:mithril 2
      - ""
      - ""
      - ecoitems:mithril 2
      - ""
      - ""
      - stick
      - ""
# Furnace, blast furnace, smoker, or campfire
item:
  recipes:
    type: blast_furnace
    input: raw_iron
    experience: 0.7 # Optional; XP dropped, defaults to 0
    cook-time: 100 # Optional; in ticks, defaults to the vanilla speed
# Stonecutter
item:
  recipes:
    type: stonecutter
    input: ecoitems:marble_block
# Smithing table - all three slots are required
item:
  recipes:
    type: smithing_table
    template: netherite_upgrade_smithing_template
    base: diamond_sword
    addition: ecoitems:mithril
# Anvil - material is optional
item:
  recipes:
    type: anvil
    base: diamond_sword
    material: ecoitems:mithril # Optional
    repair-cost: 5 # Optional; in levels, defaults to 1
# Brewing stand
item:
  recipes:
    type: brewing_stand
    base: potion
    ingredient: ecoitems:mithril
    brew-time: 400 # Optional; in ticks, defaults to 400

Permissions

permission stops players without that node from taking the item out of the workstation:

item:
  recipes:
    type: furnace
    input: raw_iron
    permission: ecoitems.craft.purified_iron

Where to go next

  • Recipe formats: Recipes for the full reference on every workstation and option.

  • Make an item: How to make an Item for everything else in the item: section.