You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using an enum of all screens is overly verbose, requires an update every Minecraft update, and if maintained could cause compatibility issues. It also makes mod compatibility hard if not impossible.
Feature
Replace the enum of screens and the accompanying switch statement with a JSON file — which may be altered with resource packs for mod support.
Alternatives
Simply removing all screens that do the same thing as Screens.OTHER or are redundant due to inheritance would help and might be a good idea in the short term but this doesn't address the problem of compatibility with older Minecraft versions after a new screen that needs to be handled is added or mod compatibility.
Additional Context
Using screen names will be problematic due to names being obfuscated. A similar system should be used for #2 and potentially for #10.
The text was updated successfully, but these errors were encountered:
Problem/Use Cases
Using an enum of all screens is overly verbose, requires an update every Minecraft update, and if maintained could cause compatibility issues. It also makes mod compatibility hard if not impossible.
Feature
Replace the enum of screens and the accompanying switch statement with a JSON file — which may be altered with resource packs for mod support.
Alternatives
Simply removing all screens that do the same thing as
Screens.OTHER
or are redundant due to inheritance would help and might be a good idea in the short term but this doesn't address the problem of compatibility with older Minecraft versions after a new screen that needs to be handled is added or mod compatibility.Additional Context
Using screen names will be problematic due to names being obfuscated. A similar system should be used for #2 and potentially for #10.
The text was updated successfully, but these errors were encountered: