Jozufozu / ExNihiloOmnia

A reboot of the original Ex Nihilo by ErasmusCrowley
7 stars 14 forks source link

Add ability to disable default rewards #138

Closed WesTroy closed 7 years ago

WesTroy commented 7 years ago

Apologies if this exists in the registries already.

I spent all morning trying to disable glowstone from the sieve rewards, and cannot figure out how to override defaults. I enabled the default.json files, etc., and played around with those, as well as creating new jsons. You can ADD rewards, but I can't see how to REMOVE rewards.

Am I missing something? Or is the feature not quite in place yet? Thanks!

Jozufozu commented 7 years ago

You can not remove individual rewards, but you can disable all default rewards for each registry. You can then copy the registry dump file and remove any recipes you don't want.

Jozufozu commented 7 years ago

The registry dump files have to be enabled through the config

WesTroy commented 7 years ago

Thanks for the reply - it's a low-priority issue, so whenever you have a free moment, please explain fully how to "disable all default rewards" for a particular registry. I must be missing a step somewhere.

In testing, I used just ExNihiloOmnia 1.2.5 and JEI 1.10.2-3.14.3.403. The only config change was "transfer all registries to json files"=true.

I copy a defaults.json file to test.json. No changes are made to defaults.json (those files reset their values upon game launch, which is the expected behavior).

If I change any/all values in test.json, however, BOTH files load their registry entries in-game. This means you see double entries of materials - one with defaults.json values, and one with test.json's modified values.

I'm doing something wrong... at your convenience, any specific help is greatly appreciated. Thank you again!

Jozufozu commented 7 years ago

You want to change "load default ... recipes" to false for everything you want to change. Then it won't double load the registries.

WesTroy commented 7 years ago

That's perfect - and so damn obvious in hindsight. Awesome answer - thanks. Closed!