#Shaped Crafting on a Server

14 messages · Page 1 of 1 (latest)

violet cipher
#

I'm trying to add shaped crafting recipes to a server. No errors were given when loading, and I cannot craft them. It was put into the server scripts folder.
Here's my code:

    event.shaped('minecraft:skeleton_skull', [
      'SAS',
      'FSF',
      'BFB'
    ], {
      S: 'minecraft:quartz',
      A: 'immersiveengineering:ingot_hop_graphite',
      F: 'mekanism:block_fluorite',
      B: 'minecraft:bone'
    })
    event.shaped('minecraft:netherite_upgrade_smithing_template', [
        'SNS',
        'NDN',
        'ENE'
      ], {
        S: 'ae2:fluix_upgrade_smithing_template',
        N: 'minecraft:netherite_ingot',
        D: 'minecraft:diamond',
        E: 'minecraft:netherrack'
      })
  })```
west kayakBOT
#

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

fresh bay
#

??senditanyway

rugged remnantBOT
# fresh bay ??senditanyway

The log doesn't have any errors

Send it anyway

You sometimes might not notice some errors (for example, recipes might not show an error but a warning instead). This is why you should send it, even if it might not have any errors

fresh bay
#

??log server

rugged remnantBOT
# fresh bay ??log server

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 the file directly, without links or snippets.

jaunty plover
#

You used the old syntax. the Syntax above 1.18.2 are a other

fresh bay
#

oh right, the event syntax is wrong

#

yeah I just noticed that

#

??wiki recipes

rugged remnantBOT
# fresh bay ??wiki recipes

You can add, remove, and modify recipes with KubeJS. The wiki has a page on that!
If you want to learn how to add recipes to any mod, click the Custom button.

violet cipher
#

thank you!

fresh bay
#

np