Shadows-of-Fire / Foundry

Minecraft mod that adds liquid metals
GNU Lesser General Public License v3.0
5 stars 3 forks source link

Request: Ability to remove all recipes from a machine. #30

Closed pyure closed 6 years ago

pyure commented 6 years ago

Possible example: mods.foundry.Casting.removeAll()

pyure commented 6 years ago

Can confirm fixed by https://github.com/Shadows-of-Fire/Foundry/commit/b17bb57651f87090f1ae869584b4c2d60d11ec9f

pyure commented 6 years ago

@Shadows-of-Fire did you apply this to mods.foundry.Casting? I couldn't find it in the commit, and I'm getting an error when I do mods.foundry.Casting.clear();

It works fine for "Melting".

Shadows-of-Fire commented 6 years ago

Castinf#clearRecipes/Casting#clearMolds

pyure commented 6 years ago

I don't understand your reply, sorry :(

Shadows-of-Fire commented 6 years ago

https://github.com/Shadows-of-Fire/Foundry/blob/1.12.2/src/main/java/exter/foundry/integration/minetweaker/MTCastingHandler.java#L158