Class BannerRenderer
java.lang.Object
net.mcexpanded.fancytabsections.creativetab.BannerRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic intstatic net.minecraft.resources.ResourceLocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisInToggle(net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen screen, Section section, double mouseX, double mouseY) static voidrender(net.minecraft.client.gui.screens.inventory.CreativeModeInventoryScreen screen, net.minecraft.client.gui.GuiGraphics guiGraphics, List<Section> sections, int mouseX, int mouseY)
-
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
-
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.
-