Class BannerRenderer

java.lang.Object
net.mcexpanded.fancytabsections.creativetab.BannerRenderer

public class BannerRenderer extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static int
     
    static net.minecraft.resources.ResourceLocation
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    isInToggle(net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen screen, Section section, double mouseX, double mouseY)
     
    static void
    render(net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen screen, net.minecraft.client.gui.GuiGraphics guiGraphics, List<Section> sections, int mouseX, int mouseY)
     

    Methods inherited from class java.lang.Object

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

    • CURRENT_ROW

      public static int CURRENT_ROW
    • CURRENT_TAB

      public static net.minecraft.resources.ResourceLocation CURRENT_TAB
  • Constructor Details

    • BannerRenderer

      public BannerRenderer()
  • Method Details

    • render

      public static void render(net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen screen, net.minecraft.client.gui.GuiGraphics guiGraphics, List<Section> sections, int mouseX, int mouseY)
    • isInToggle

      public static boolean isInToggle(net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen screen, Section section, double mouseX, double mouseY)
      Returns:
      true if the given screen-space coordinate falls within the (visible) toggle control of a collapsible section.