-
Notifications
You must be signed in to change notification settings - Fork 153
Description
Describe the bug
Hello. I know this repo is mostly dead, but I thought I would share this for anyone programming for GTCE and encountering issues with removing some fluid extractor recipes.
Unfortunately, it appears as though some recipes get registered at the very end of the recipe registration sequence, i.e. with very low priority. This includes glass and its derivatives.
Outcome
Removal with Crafttweaker for those recipes fails because they would not be found by the CT handler which runs prior to the registration sequence of these recipes. Moreover, mods subscribing to a Forge event with normal priority will not be able to override or remove those recipes either. The current solution I've found was to register an event with the lowest priority (see this for more information).
Unfortunately, as I am barely experienced with Forge programming, I cannot suggest a fix at this time.
Most likely, RecyclingRecipes class has to be initialized with a higher priority (it is currently initialized with the lowest priority); however, this will have side effects of failing to register recipes for late handlers which might add content (such as Crafttweaker itself).