#hello, can anyone help? I typed this in a script, in startup_scripts, but the recepie is still there

99 messages · Page 1 of 1 (latest)

lament bough
sudden crystalBOT
#

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

hot hemlock
#

also send server.log

sterile iris
# lament bough

try putting it in server scripts, also, it needs to be inside of an event

#

are you positive that's the right recipe id btw..?

#
ServerEvents.recipes(event => {
  event.remove({id: 'minecraft:dirt'})
})
#

anyway here

#

replace minecraft dirt with your recipe id

lament bough
hot hemlock
sterile iris
sterile iris
# lament bough ok, thanks

ALSO ALSO! you can do multiple things inside that server event, no need to create a new one everytime you wanna change something

#

if you wanted to remove 4 things all you'd have to do is basically copy and past and add commands after each one

lament bough
sterile iris
#
ServerEvents.recipes(event => {
 event.remove({id: 'minecraft:grass'}),
 event.remove({id: 'minecraft:bone'}),
 event.remove({id: 'minecraft:dirt'}),
 event.remove({id: 'minecraft:fart'}),
})
#

i wouldn't remove those..

#

but yeah

lament bough
#

I did everything like you asked

#

put it in server scripts

#

and changed it like you said

sterile iris
#

probably because you're removing one id

#

instead of removing all of the iron output from furnaces

#

is that what you want?

#
event.remove({
  type: 'minecraft:smelting',
  output: "minecraft:iron_ingot"
})
#

this would remove all recipes in the smelting category

lament bough
#

okay, thanks

sterile iris
#

you'd still be able to blast stuff though,

#

so if you wanna remove iron from blasting too

#

just replace smelting with blasting

#

you'd have to copy and paste it and then replace it but yeah

lament bough
#

so, I cant just delete one specific recepie?

sterile iris
#

sure can you just have to delete multiple if you wanna do it that way,

lament bough
#

okey

sterile iris
#

just removing ONE iron recipe isn't gonna remove it from furnaces

#

so you'd have to remove them all

#

or remove them each one by one

#

event.remove({id: 'minecraft:netherite_ingot'})

lament bough
#

also, just to test it, I removed the bucket recepie, and its still there as well

sterile iris
#

okay

#

one second

#

show me your code please/

#

i have a feeling it's user error again.. no offense

#

:P

lament bough
#

okay

sterile iris
#

do you have

#

jei or emi installed

lament bough
#

yes

#

whats emi again?

sterile iris
#

which one?

lament bough
#

I do have jei

sterile iris
#

same thing just better

#

uhh

#

okay

#

i don't know how to do it for jei

#

there might be a setting that lets you see the recipe ID

lament bough
#

yes]

#

there is

#

I dont know whats wrong

sterile iris
#

you saved it, and reloaded, right?

lament bough
#

I think?

#

I reloaded it

#

I dunno how to save yet...

sterile iris
#

like

#

the code

#

?

#

that's why

#

LOL

lament bough
#

sorry, I downloaded kube js for the first time yesterday

lament bough
sterile iris
#

hit save

#

and then reload again

lament bough
#

okey

sterile iris
#

this will teach you other stuff about making items and whatnot

#

i would give it a watch

lament bough
#

IT WOOOOORKED!!!

#

THANK YOU!!!!

#

YOU ARE MY SAVIOR

sterile iris
#

make sure to like

#

save from now on

#

LOL

lament bough
#

I OWE YOU MY LAAAAAIIIFFEEEEEE

#

!!!!!!

#

I liked

sterile iris
#

anyways make sure to /ticket close whenever you think this is resolved, and if you have anymore issues just make another ticket and someone else, or me will end up helpin ya

lament bough
sudden crystalBOT
#

Ticket re-opened!