#Did i do something wrong??

27 messages · Page 1 of 1 (latest)

flat groveBOT
#

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

acoustic etherBOT
#

You can write your code in a codeblock by typing it between the codeblock delimiters:

```js :arrow_left:

ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})

``` :arrow_left:

As an example, :arrow_up: will look like this:

ServerEvents.recipes(event => {
  event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
cursive forge
#
ServerEvents.recipes(event => {
event.custom(
{
    "type": "create:haunting",
    "ingredients": [
      {
        "tag": "minecraft:raw_iron"
      }
    ],
    "results": [
      {
        "item": "mekanism:raw_uranium"
      }
        ]
    }
)
})
open panther
#

is minecraft:raw_iron a tag?

#

cuz it doesnt really sound like a tag

cursive forge
#

the tag

#

ohh...wait a min...

open panther
#

thats ID

cursive forge
#
ServerEvents.recipes(event => {
event.custom(
{
    "type": "create:haunting",
    "ingredients": [
      {
        "item": "minecraft:raw_iron"
      }
    ],
    "results": [
      {
        "item": "mekanism:raw_uranium"
      }
        ]
    }
)
})
#

like this?

open panther
#

yes

#

assuming the custom recipe is correct

cursive forge
#

it still doestnt work....its the same layout

acoustic etherBOT
#

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

cursive forge
acoustic etherBOT
#

Paste version of server.log from @cursive forge

open panther
#

Loaded 0/0 KubeJS server scripts

cursive forge
#

but....the script is there....

open panther
#

hold on, ive seen this issue before

cursive forge
#

yay

#

found a fix?

open panther
#

i mentioned it in a private channel we have, hopefully Lat will know more

cursive forge
#

thank you

open panther
#

#1163981057826230384