#Removing rope from farmer's delight

8 messages · Page 1 of 1 (latest)

solid dirge
#

Trying to remove rope from farmers delight with this script and it wont work. Still drops from grass and recipe still works:
ServerEvents.recipes(event => {
[
'farmersdelight:rope',
'farmersdelight:rope',
'farmersdelight:straw'

    ].forEach((ingredientID) => event.remove({input: ingredientID}));
    
})
lavish totemBOT
#

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

tall dome
#

that script only removes recipes that have rope as an input

#

also there's no need to put "farmersdelight:rope" twice in the same array

gaunt runeBOT
#

You can write your code in a codeblock by typing it between the codeblock delimiters:
Note that these are backticks, not apostrophes

```js :arrow_left:

ServerEvents.recipes(event => {
event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})

``` :arrow_left:

This example will look like this:

ServerEvents.recipes(event => {
  event.smelting('minecraft:glass', '#forge:sand').xp(.1)
})
solid dirge
tall dome
#

start by putting that in a codeblock so you can see what the difference is when someone posts the correct code.

solid dirge
#

Ok I managed to stop the rope recipe from working but how do I remove the rest of the rope related stuff like straws dropping from grass, being able to make straw stacks, making rope netting