#Smelting recipe doesn't work

17 messages · Page 1 of 1 (latest)

fringe veldt
#

Hi, I wanted to add the recipe for smelting, but it just doesn't work. I doesn't show in JEI, nor am I able to use it.

I have code in typescript file

ServerEvents.recipes(event => {
    event.shaped(
        Item.of('xycraft_world:kivi', 3), // arg 1: output
        [
          'BAB',
          'A A', // arg 2: the shape (array of strings)
          'BAB'
        ],
        {
          A: 'minecraft:obsidian',
          B: 'minecraft:stone', 
        }
      )
    
    event.smelting(
       'minecraft:prismarine_shard', 'xycraft_world:xychorium_gem_blue'
    )
  })
teal lionBOT
#

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

zinc reefBOT
#

Paste version of latest.log from @fringe veldt

clever storm
#

You need a js file, not ts

fringe veldt
zinc reefBOT
#

You can find your KubeJS server log in /minecraft/logs/kubejs/server.log.
If you are on 1.18 or 1.16 it will be called server.txt.
Please send it if asked, as it contains helpful information.

fringe veldt
zinc reefBOT
#

Paste version of server.log from @fringe veldt

clever storm
#

Wha

#

The log says both recipes are added and working

clever storm
#

You set the prismarine to be the output, not input

fringe veldt
#

Ah, ok

#

ty

clever storm
zinc reefBOT
#

Please close your ticket (with </ticket close:1054771505520717835> or the button atop this thread) once you resolved your issue!
This also helps others that would like to help out, as they don't have to look into this thread to check if it has been resolved by now.

Do you have any other questions regarding your issue? Feel free to ask!
Note: You should generally create a new post for unrelated issues.