Mrbysco / Spoiled

Spoiling the end of your food supply since 2020
https://www.curseforge.com/minecraft/mc-mods/spoiled
MIT License
7 stars 5 forks source link

[Bug]: Removing spoilage not working #22

Closed pwigary closed 2 years ago

pwigary commented 2 years ago

General Info

Forge version

36.2.20

Mod version

1.16.5 - 1.4.3

Java version

Java 11

Issue Description

Hi mod creator, I am unable to remove an item from spoilage using the syntax provided in the wiki. I have tried the following:

spoiling.removeRecipeByInput(item:minecraft:spider_eye input); spoiling.removeRecipeByInput(item:minecraft:spider_eye); spoiling.removeByName(minecraft:spider_eye); ...

It always return "Parser Exception" when the scripts are reloaded.

Additional Information

No response

Mrbysco commented 2 years ago

Have you checked the wiki page and it's example? https://github.com/Mrbysco/Spoiled/wiki/Post-1.4

pwigary commented 2 years ago

I have checked it, and there isn't an example for the removal, could you provide one here?

Mrbysco commented 2 years ago

I've updated the wiki and introduced a new example

pwigary commented 2 years ago

It still doesn't work :/ is the example you provide for 1.16? Cause I'm reporting this as 1.16.

pwigary commented 2 years ago

I have wrote one again for 1.16, but this time it says not such member. Maybe you should try it.

Mrbysco commented 2 years ago

In 1.16 it's removeRecipeByInput

pwigary commented 2 years ago

Okay, but the wiki stated something else, just letting you know.

Mrbysco commented 2 years ago

The wiki was going off the names in 1.18, but apparently it was different in 1.16