Class ScreenHooksImpl

java.lang.Object
me.shedaniel.architectury.hooks.forge.ScreenHooksImpl

public class ScreenHooksImpl extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T extends net.minecraft.client.gui.components.AbstractWidget>
    T
    addButton(net.minecraft.client.gui.screens.Screen screen, T t)
     
    static <T extends net.minecraft.client.gui.components.events.GuiEventListener>
    T
    addChild(net.minecraft.client.gui.screens.Screen screen, T t)
     
    static List<net.minecraft.client.gui.components.AbstractWidget>
    getButtons(net.minecraft.client.gui.screens.Screen screen)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ScreenHooksImpl

      public ScreenHooksImpl()
  • Method Details

    • getButtons

      public static List<net.minecraft.client.gui.components.AbstractWidget> getButtons(net.minecraft.client.gui.screens.Screen screen)
    • addButton

      public static <T extends net.minecraft.client.gui.components.AbstractWidget> T addButton(net.minecraft.client.gui.screens.Screen screen, T t)
    • addChild

      public static <T extends net.minecraft.client.gui.components.events.GuiEventListener> T addChild(net.minecraft.client.gui.screens.Screen screen, T t)