Incompatibility with "Set Bonus" : Game freezes when a Item that has a set bonus is equipped
Arthurcrs opened this issue ยท 1 comments
When equiping and unequipping items that have a set bonus from the mod "Set Bonus" the game freezes for a while. The more items in the modpack, the longer is the freezing.
Environment
- Minecraft 1.12.2
- Modpack with HEI, Set Bonus, and a bunch of dimension mods to increase the number of items in the game (the higher the number of items in the game, the longer the freeze)
- Replicated in both Forge versions 14.23.5.2859 and 14.23.5.2860
- All mods with default config (except Set Bonus)
Steps to Reproduce
- Create a set bonus in the "Set Bonus" config (the one attached in this issue can be used, it requires Ice and Fire and Spartan Weaponry)
1.12.2.009+.txt - Launch the game and join a world
- Equip a item that has a set bonus
- Notice a freezing
- Close the game
- Remove HEI
- Launch the game and join a world
- Equip a item that has a set bonus
- Game does not freeze
Notes:
- It is only noticiable in modpacks with many items, the larger the modpack, the longer the freezing
- It happens in both JEI and HEI
- When equiping and unequipping items that have a "Set Bonus", the log message appears "JEI Plugin is Registering subtypes" in the log, so it might be due to this.
It uses some hideous reflection into JEI. This isn't something for me to fix in HadEnoughItems. Some reloading API may come soon. The mod dev can consult GroovyScript on how to correctly reload JEI.

