Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void onRenderingBrightness(
- GuiScreenEvent.InitGuiEvent.Pre event) {
- if (event.getGui() instanceof GuiVideoSettings) {
- GuiVideoSettings gui = (GuiVideoSettings) event.getGui();
- GuiListExtended optionsRowList = ReflectionHelper
- .getPrivateValue(GuiVideoSettings.class, gui,
- "field_146501_h", "optionsRowList");
- System.out.println(optionsRowList); // still null
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement