NuclearCraft

NuclearCraft

31M Downloads

JEI doesn't load Geiger Counter recipe if client doesn't enable radiation and restart

sirdigbot opened this issue ยท 3 comments

commented

Minecraft: 1.12.2
Forge: 14.23.5.2836
NuclearCraft: 2.16f-1.12.2
JEI: 1.12.2-4.15.0.268 (and also tested on 1.12.2-4.15.0.279)

Exactly as the title says: If a client doesn't have radiation enabled client-side, they cannot see all of the radiation related recipes in JEI on any server that does have radiation enabled, though they will still be craftable.
This includes some other radiation related items such as Rad-X and Radiation Shielding, and probably more but I'm not sure what to look for.

Enabling and restarting the game seems to fix the issue.

commented

Unfortunately this is a bit of a win-lose problem, as this was implemented because people asked for those items to be hidden when radiation was disabled to avoid confusion :P

The problem is that hiding items from JEI is not dynamic, so once they're chosen to be hidden or not, that won't change until a restart. Pretty much the only option I can think of is to have a config option for whether or not to hide those items if radiation is disabled - would that do?

commented

I think having another config option for it just moves the issue since you'd still presumably have it disabled by default.

I can only really think of 2 things:

  • Documenting in the configs (or somewhere) that certain items wont be visible in JEI until radiation is enabled and the game is restarted. Maybe on or around the radiation enabled option itself? Maybe rewording the text to something like "Enable Radiation and Radiation Items" to clarify its effects?
  • Notifying a client when their radiation enabled setting doesn't match the server's, so certain item recipes wont be visible (probably don't need to notify if it's enabled client-side but not server-side). Even though the recipes still work regardless, people will at least know why they can't see them. I don't really know enough about minecraft mods to know if that's possible.

At the very least those might help people solve the issue on their own without much trouble, in both singleplayer and multiplayer.

commented

Godd suggestions! Both added for the next version ;)