#can i make some thing like this

67 messages · Page 1 of 1 (latest)

short gazelleBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

cerulean plinthBOT
#

You can add, remove and modify recipes with KubeJS, and the wiki has a page on that!

steady light
#

so i can ?

#

it not using normal crafting table

visual prawn
#

yeah you can

#

on the wiki theres a section for custom recipes using json

frank aurora
#

I think he was referring to needing multiple items in a singular input slot
(ex 8 iron ingot)

iirc thats done with a custom mod, but yea, you can make custom recipes like that via
event.custom

I could provide more help if i knew what mod that added

frank aurora
#

I could provide more help if i knew what mod that added

steady light
#

its called

#

medevel saige machines

steady light
frank aurora
#

Look at the recipes how the mod does it and use that datapack format inside an event.custom

#

??kjswiki

cerulean plinthBOT
steady light
frank aurora
#
 onEvent("recipes", event => {
   event.custom({
     "type": "siegemachines:siege_workbench",
     "pattern": [
       "i i",
       "ioi",
       " s "
     ],
     "key": {
       "s": {
         "item": "minecraft:string",
         "count": 1
       },
       "i": {
         "tag": "forge:ingots/iron",
         "count": 2
       },
       "o": {
         "tag": "forge:ingots/iron",
         "count": 1
       }
     },
     "result": {
       "item": "siegemachines:barrel",
       "count": 1
     }
   })
 })```
#

Should be something like this

steady light
frank aurora
#

That's the barrel recipe

#

Yeah, recipes goes into server scripts

steady light
#

ok thx

#

if i want to add more i will just copy the code and best it ender the ) right ?

#

from even.custom to ) right ?

frank aurora
#

I'm not at home so I can't help u with that atm

cerulean plinthBOT
#

Paste version of giant_arrow.json, mortar.json, trebuchet.json, turret_base.json, wheel.json from @steady light

steady light
#

this is the items i want to add crafting recpis of it

#

// priority: 0

settings.logAddedRecipes = true
settings.logRemovedRecipes = true
settings.logSkippedRecipes = false
settings.logErroringRecipes = true

console.info('Hello, World! (You will see this line every time server resources reload)')

onEvent('recipes', event => {
// Change recipes here
})

onEvent('item.tags', event => {
// Get the #forge:cobblestone tag collection and add Diamond Ore to it
// event.get('forge:cobblestone').add('minecraft:diamond_ore')

// Get the #forge:cobblestone tag collection and remove Mossy Cobblestone from it
// event.get('forge:cobblestone').remove('minecraft:mossy_cobblestone')

})

steady light
steady light
frank aurora
#

I dont know what u need help with, i already told you everything

#

heres another example on how u could do it

#

onEvent('recipes', event => {
    event.remove({id: 'minecraft:furnace'})
    event.custom(
        {
            "type": "siegemachines:siege_workbench",
            "pattern": [
              "CCC",
              "C C",
              "CCC"
            ],
            "key": {
              "C": {
                "item": "minecraft:cobblestone",
                "count": 8
              }
            },
            "result": {
              "item": "minecraft:furnace",
              "count": 1
            }
          }
    )
})

steady light
#

if i want to add one more recpis

#

what should i do

frank aurora
steady light
cerulean plinthBOT
#

Paste version of message.txt from @steady light

steady light
cerulean plinthBOT
#

Paste version of message.txt from @steady light

steady light
#

i think the error came from the siage bensh it self so can you give me a mod that add me a crafting table that can add more then one item in it ?

frank aurora
steady light
#

iam using Medieval Siege Machines 1.18.2

#

and they turn off the crafting recpis

frank aurora
steady light
#

what ? 1.18.2 ?

#

can you give me the Medieval Siege Machines ver

#

1.10 ?

#

when

#

lol i didn't find this ver can you plz upload it to me ?

steady light
frank aurora
#

No, its on curseforge

#

aight, im outta here peperun

steady light
#

ok thx

short gazelleBOT
#

@steady light Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

short gazelleBOT
#

@steady light Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

short gazelleBOT
#

@steady light Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!

short gazelleBOT
#

@steady light Unresolved thread still hasn't been closed! If your question was answered, please close this post with </ticket close:1054771505520717835> command!