Class EmiScreenManager

java.lang.Object
emi.dev.emi.emi.screen.EmiScreenManager

public class EmiScreenManager extends Object
  • Field Details

  • Constructor Details

    • EmiScreenManager

      public EmiScreenManager()
  • Method Details

    • isDisabled

      public static boolean isDisabled()
    • recalculate

      public static void recalculate()
    • forceRecalculate

      public static void forceRecalculate()
    • focusSearchSidebarType

      public static void focusSearchSidebarType(SidebarType type)
    • focusSidebarType

      public static void focusSidebarType(SidebarType type)
    • getPanelFor

      @Nullable public static @Nullable EmiScreenManager.SidebarPanel getPanelFor(SidebarSide side)
    • getPanelFor

      @Nullable public static @Nullable EmiScreenManager.SidebarPanel getPanelFor(SidebarType type)
    • getHoveredPanel

      @Nullable public static @Nullable EmiScreenManager.SidebarPanel getHoveredPanel(int mouseX, int mouseY)
    • getHoveredSpace

      @Nullable public static @Nullable EmiScreenManager.ScreenSpace getHoveredSpace(int mouseX, int mouseY)
    • hasSidebarAvailable

      public static boolean hasSidebarAvailable(SidebarType type)
    • repopulatePanels

      public static void repopulatePanels(SidebarType type)
    • getSearchPanel

      public static EmiScreenManager.SidebarPanel getSearchPanel()
    • toggleSidebarType

      public static void toggleSidebarType(SidebarType type)
    • getSearchSource

      public static List<? extends EmiIngredient> getSearchSource()
    • getHoveredStack

      public static EmiStackInteraction getHoveredStack(int mouseX, int mouseY, boolean notClick)
    • getHoveredStack

      public static EmiStackInteraction getHoveredStack(int mouseX, int mouseY, boolean notClick, boolean ignoreLastHoveredCraftable)
    • drawBackground

      public static void drawBackground(EmiDrawContext context, int mouseX, int mouseY, float delta)
    • render

      public static void render(EmiDrawContext context, int mouseX, int mouseY, float delta)
    • drawForeground

      public static void drawForeground(EmiDrawContext context, int mouseX, int mouseY, float delta)
    • addWidgets

      public static void addWidgets(GuiScreen screen)
    • mouseScrolled

      public static boolean mouseScrolled(double mouseX, double mouseY, double amount)
    • mouseClicked

      public static boolean mouseClicked(double mouseX, double mouseY, int button)
    • mouseReleased

      public static boolean mouseReleased(double mouseX, double mouseY, int button)
    • mouseDragged

      public static boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY)
    • keyPressed

      public static boolean keyPressed(int keyCode, int scanCode, int modifiers)
    • genericInteraction

      public static boolean genericInteraction(Function<EmiBind,Boolean> function)
    • stackInteraction

      public static boolean stackInteraction(EmiStackInteraction stack, Function<EmiBind,Boolean> function)
    • toggleVisibility

      public static void toggleVisibility(boolean notify)