Stargate Network

Stargate Network

3M Downloads

BUG unable to remove recipe with crafttweaker

collwee opened this issue ยท 7 comments

commented

i can remove recipe from other mods with crafttweaker without problem but with sg craft the recipe cannot be removed

forge 14.23.2.2613
crafttweaker2-1.12-4.1.5
SGCraft-1.14.3-mc1.12.2

would it by possible to fix or at-least make possible to disable the default recipe to make possible the creation of custom recipe

commented

Should be able to do this actually. Recipe is done in code right now and not json.

commented

report to crafttweaker instead.

commented

@liach why?

commented

in theory it modifies the registry; thus it can remove hardcoded recipes.

commented

Yea @liach is right, in theory it can remove hardcoded recipes, provided you register them before postinit...

https://github.com/AlmuraDev/SGCraft/blob/1.12.2/src/base/gcewing/sg/BaseMod.java#L207

Honestly, JSON is better for me, since I then know when they are being registered.

commented

Fixed and pushed here. Each recipe can now be disabled via config.
https://ore.spongepowered.org/Dockter/SGCraft/pages/Home

commented

I also moved the registration to init so if you really want to use crafttweaker to remove them you can.