#need some help after upgrade to 1.19.2

9 messages · Page 1 of 1 (latest)

tender apex
#

hi all
my server script recipes broke and i dont know how to fix it after the upgrade to mc 1.19.2 and the matching kubejs
here is a piece of the server script , iof someone can tell em what to change i can fix the rest in the script myself

onEvent('recipes', event => {
event.remove({output: 'minecraft:barrel'})
event.shaped('blockus:charred_barrel', [
'SAS',
'S S',
'SAS'
], {
S: 'blockus:charred_planks',
A: 'blockus:charred_slab'
})

1.19.2
fabric

thanks in advance

cloud cipherBOT
#

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

brisk pecanBOT
#

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

```js :arrow_left:
onEvent('recipes', e => {
e.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
``` :arrow_left:

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

onEvent('recipes', e => {
  e.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
midnight folio
tender apex
#

and that is something i already read but didnt understand on the wiki , could someone just change that block of text i posted to how it SHOULD be, thanks

midnight folio
#
ServerEvents.recipes(event => {
  event.remove({output: 'minecraft:barrel'})
  event.shaped('blockus:charred_barrel', [
    'SAS',
    'S S',
    'SAS'
  ], {
    S: 'blockus:charred_planks',
    A: 'blockus:charred_slab'
  })
})
#

its just 2 words that changed

tender apex
#

😉 thanks

midnight folio