#I can't delete recipes from the Create mod
17 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
show the code you tried
ServerEvents.recipes(event => {
event.remove({output: 'create:electron_tube'})
To find a recipe's ID, turn on advanced tooltips (F3 + H) then hover over the RECIPE OUTPUT in JEI, or the exclamation mark in REI.
You can then use this in any recipe filter:
{id: 'recipe ID here'}
You can use this, for example, to remove specific recipes:
event.remove({id: 'recipe ID here'})
ServerEvents.recipes(event => {
event.remove({ID: ' create:crafting/materials/electron_tube'})
})
1 hour and nothing 😫
Did you /reload after saving the code?
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)
})
Yes
Recipe removal is working fine for me though
The problema is only with mod recipes
I was referring to modded recipes btw
Here's what I did and it is perfectly fine, works in-game.
ServerEvents.recipes(event => {
event.remove({id: 'create:crushing/gravel'})
event.remove({id: 'create:crushing/netherrack'})
})
And are your scripts actually inside the server_script folder?
._.
How is it not working wtf
i don't know