#Code doesn't work but I have no errors
24 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!


ServerEvents.recipes(e => {
e.remove('create:crushing/netherrack')
e.recipes.createSplashing(['create:wet_cinder_flour'], ['create:cinder_flour'])
})
still no error but nothing works, the crushing recipe shows in JEI but the output does not
let C = (id) => `create:${id}`;
ServerEvents.recipes(e => {
e.remove('create:crushing/netherrack')
e.recipes.createCrushing([
'3x cinder_flour',
Item.of('2x cinder_flour').withChance(0.75), Item.of('cinder_flour').withChance(0.25)
], 'netherrack')
e.recipes.createSplashing(['create:wet_cinder_flour'], ['create:cinder_flour'])
e.recipes.createMixing(['wet_netherrack'], ['wet_cinder_flour', 'cobblestone'])
})```
dont ask about the cinder flour thing
u are not writting well any id
oh
you need JEIEvents to remove item from jei
He doesn't want to remove something from JEI actually
The Output of the crushing recipe doesn't Show cause yourl forgot the Mod namespace
So add create: Infront of every Item that's from create. In this Case only the cinder flour
Do I put it inside the '' or or before it?
its part of id, so, inside
k
the item id: 'modid:itemId'
Item.of('create:cinder_flour').withChance(0.25)```?
right
would that work
and if u create an item with kubejs and dont put anything apart of the item id, use kubejs:itemid
ohh thanks