Class CreativeInventoryScreen

All Implemented Interfaces:
Drawable, Element, Navigable, ParentElement, ScreenHandlerProvider<CreativeInventoryScreen.CreativeScreenHandler>

Mappings:
Namespace Name
official ezw
intermediary net/minecraft/class_481
named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen
  • Field Details

    • SCROLLER_TEXTURE

      private static final Identifier SCROLLER_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official x Lezw;x:Laew;
      intermediary field_45459 Lnet/minecraft/class_481;field_45459:Lnet/minecraft/class_2960;
      named SCROLLER_TEXTURE Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLER_TEXTURE:Lnet/minecraft/util/Identifier;
    • SCROLLER_DISABLED_TEXTURE

      private static final Identifier SCROLLER_DISABLED_TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official y Lezw;y:Laew;
      intermediary field_45460 Lnet/minecraft/class_481;field_45460:Lnet/minecraft/class_2960;
      named SCROLLER_DISABLED_TEXTURE Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLER_DISABLED_TEXTURE:Lnet/minecraft/util/Identifier;
    • TAB_TOP_UNSELECTED_TEXTURES

      private static final Identifier[] TAB_TOP_UNSELECTED_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official z Lezw;z:[Laew;
      intermediary field_45461 Lnet/minecraft/class_481;field_45461:[Lnet/minecraft/class_2960;
      named TAB_TOP_UNSELECTED_TEXTURES Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_TOP_UNSELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;
    • TAB_TOP_SELECTED_TEXTURES

      private static final Identifier[] TAB_TOP_SELECTED_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official A Lezw;A:[Laew;
      intermediary field_45456 Lnet/minecraft/class_481;field_45456:[Lnet/minecraft/class_2960;
      named TAB_TOP_SELECTED_TEXTURES Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_TOP_SELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;
    • TAB_BOTTOM_UNSELECTED_TEXTURES

      private static final Identifier[] TAB_BOTTOM_UNSELECTED_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official B Lezw;B:[Laew;
      intermediary field_45457 Lnet/minecraft/class_481;field_45457:[Lnet/minecraft/class_2960;
      named TAB_BOTTOM_UNSELECTED_TEXTURES Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_BOTTOM_UNSELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;
    • TAB_BOTTOM_SELECTED_TEXTURES

      private static final Identifier[] TAB_BOTTOM_SELECTED_TEXTURES
      Mappings:
      Namespace Name Mixin selector
      official C Lezw;C:[Laew;
      intermediary field_45458 Lnet/minecraft/class_481;field_45458:[Lnet/minecraft/class_2960;
      named TAB_BOTTOM_SELECTED_TEXTURES Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_BOTTOM_SELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;
    • TAB_TEXTURE_PREFIX

      private static final String TAB_TEXTURE_PREFIX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official D Lezw;D:Ljava/lang/String;
      intermediary field_32335 Lnet/minecraft/class_481;field_32335:Ljava/lang/String;
      named TAB_TEXTURE_PREFIX Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_TEXTURE_PREFIX:Ljava/lang/String;
    • CUSTOM_CREATIVE_LOCK_KEY

      private static final String CUSTOM_CREATIVE_LOCK_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official E Lezw;E:Ljava/lang/String;
      intermediary field_32336 Lnet/minecraft/class_481;field_32336:Ljava/lang/String;
      named CUSTOM_CREATIVE_LOCK_KEY Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;CUSTOM_CREATIVE_LOCK_KEY:Ljava/lang/String;
    • ROWS_COUNT

      private static final int ROWS_COUNT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official F Lezw;F:I
      intermediary field_32337 Lnet/minecraft/class_481;field_32337:I
      named ROWS_COUNT Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;ROWS_COUNT:I
    • COLUMNS_COUNT

      private static final int COLUMNS_COUNT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official G Lezw;G:I
      intermediary field_32338 Lnet/minecraft/class_481;field_32338:I
      named COLUMNS_COUNT Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;COLUMNS_COUNT:I
    • TAB_WIDTH

      private static final int TAB_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official H Lezw;H:I
      intermediary field_32339 Lnet/minecraft/class_481;field_32339:I
      named TAB_WIDTH Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_WIDTH:I
    • TAB_HEIGHT

      private static final int TAB_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official I Lezw;I:I
      intermediary field_32340 Lnet/minecraft/class_481;field_32340:I
      named TAB_HEIGHT Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_HEIGHT:I
    • SCROLLBAR_WIDTH

      private static final int SCROLLBAR_WIDTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official J Lezw;J:I
      intermediary field_32341 Lnet/minecraft/class_481;field_32341:I
      named SCROLLBAR_WIDTH Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLBAR_WIDTH:I
    • SCROLLBAR_HEIGHT

      private static final int SCROLLBAR_HEIGHT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official K Lezw;K:I
      intermediary field_32342 Lnet/minecraft/class_481;field_32342:I
      named SCROLLBAR_HEIGHT Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLBAR_HEIGHT:I
    • INVENTORY

      static final SimpleInventory INVENTORY
      Mappings:
      Namespace Name Mixin selector
      official L Lezw;L:Lbhf;
      intermediary field_2895 Lnet/minecraft/class_481;field_2895:Lnet/minecraft/class_1277;
      named INVENTORY Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;INVENTORY:Lnet/minecraft/inventory/SimpleInventory;
    • DELETE_ITEM_SLOT_TEXT

      private static final Text DELETE_ITEM_SLOT_TEXT
      Mappings:
      Namespace Name Mixin selector
      official M Lezw;M:Ltl;
      intermediary field_26563 Lnet/minecraft/class_481;field_26563:Lnet/minecraft/class_2561;
      named DELETE_ITEM_SLOT_TEXT Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;DELETE_ITEM_SLOT_TEXT:Lnet/minecraft/text/Text;
    • WHITE

      private static final int WHITE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official N Lezw;N:I
      intermediary field_32343 Lnet/minecraft/class_481;field_32343:I
      named WHITE Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;WHITE:I
    • selectedTab

      private static ItemGroup selectedTab
      Mappings:
      Namespace Name Mixin selector
      official O Lezw;O:Lchl;
      intermediary field_2896 Lnet/minecraft/class_481;field_2896:Lnet/minecraft/class_1761;
      named selectedTab Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;selectedTab:Lnet/minecraft/item/ItemGroup;
    • scrollPosition

      private float scrollPosition
      Mappings:
      Namespace Name Mixin selector
      official P Lezw;P:F
      intermediary field_2890 Lnet/minecraft/class_481;field_2890:F
      named scrollPosition Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrollPosition:F
    • scrolling

      private boolean scrolling
      Mappings:
      Namespace Name Mixin selector
      official Q Lezw;Q:Z
      intermediary field_2892 Lnet/minecraft/class_481;field_2892:Z
      named scrolling Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrolling:Z
    • slots

      @Nullable private @Nullable List<Slot> slots
      Mappings:
      Namespace Name Mixin selector
      official S Lezw;S:Ljava/util/List;
      intermediary field_2886 Lnet/minecraft/class_481;field_2886:Ljava/util/List;
      named slots Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;slots:Ljava/util/List;
    • deleteItemSlot

      @Nullable private @Nullable Slot deleteItemSlot
      Mappings:
      Namespace Name Mixin selector
      official T Lezw;T:Lcgd;
      intermediary field_2889 Lnet/minecraft/class_481;field_2889:Lnet/minecraft/class_1735;
      named deleteItemSlot Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;deleteItemSlot:Lnet/minecraft/screen/slot/Slot;
    • listener

      private CreativeInventoryListener listener
      Mappings:
      Namespace Name Mixin selector
      official U Lezw;U:Lezv;
      intermediary field_2891 Lnet/minecraft/class_481;field_2891:Lnet/minecraft/class_478;
      named listener Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;listener:Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryListener;
    • ignoreTypedCharacter

      private boolean ignoreTypedCharacter
      Mappings:
      Namespace Name Mixin selector
      official V Lezw;V:Z
      intermediary field_2888 Lnet/minecraft/class_481;field_2888:Z
      named ignoreTypedCharacter Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;ignoreTypedCharacter:Z
    • lastClickOutsideBounds

      private boolean lastClickOutsideBounds
      Mappings:
      Namespace Name Mixin selector
      official W Lezw;W:Z
      intermediary field_2887 Lnet/minecraft/class_481;field_2887:Z
      named lastClickOutsideBounds Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;lastClickOutsideBounds:Z
    • searchResultTags

      private final Set<TagKey<Item>> searchResultTags
      Mappings:
      Namespace Name Mixin selector
      official X Lezw;X:Ljava/util/Set;
      intermediary field_16201 Lnet/minecraft/class_481;field_16201:Ljava/util/Set;
      named searchResultTags Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchResultTags:Ljava/util/Set;
    • operatorTabEnabled

      private final boolean operatorTabEnabled
      Mappings:
      Namespace Name Mixin selector
      official Y Lezw;Y:Z
      intermediary field_41112 Lnet/minecraft/class_481;field_41112:Z
      named operatorTabEnabled Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;operatorTabEnabled:Z
  • Constructor Details

    • CreativeInventoryScreen

      public CreativeInventoryScreen(PlayerEntity player, FeatureSet enabledFeatures, boolean operatorTabEnabled)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lezw;<init>(Lcbu;Lcec;Z)V
      intermediary <init> Lnet/minecraft/class_481;<init>(Lnet/minecraft/class_1657;Lnet/minecraft/class_7699;Z)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;<init>(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/resource/featuretoggle/FeatureSet;Z)V
  • Method Details

    • shouldShowOperatorTab

      private boolean shouldShowOperatorTab(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Lcbu;)Z
      intermediary method_47419 Lnet/minecraft/class_481;method_47419(Lnet/minecraft/class_1657;)Z
      named shouldShowOperatorTab Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;shouldShowOperatorTab(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • updateDisplayParameters

      private void updateDisplayParameters(FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup lookup)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Lcec;ZLhg$b;)V
      intermediary method_47420 Lnet/minecraft/class_481;method_47420(Lnet/minecraft/class_7699;ZLnet/minecraft/class_7225$class_7874;)V
      named updateDisplayParameters Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;updateDisplayParameters(Lnet/minecraft/resource/featuretoggle/FeatureSet;ZLnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
    • refreshSelectedTab

      private void refreshSelectedTab(Collection<ItemStack> displayStacks)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Ljava/util/Collection;)V
      intermediary method_47421 Lnet/minecraft/class_481;method_47421(Ljava/util/Collection;)V
      named refreshSelectedTab Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;refreshSelectedTab(Ljava/util/Collection;)V
    • handledScreenTick

      public void handledScreenTick()
      Overrides:
      handledScreenTick in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official D Lezi;D()V
      intermediary method_37432 Lnet/minecraft/class_465;method_37432()V
      named handledScreenTick Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
    • onMouseClick

      protected void onMouseClick(@Nullable @Nullable Slot slot, int slotId, int button, SlotActionType actionType)
      Overrides:
      onMouseClick in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lezi;a(Lcgd;IILceu;)V
      intermediary method_2383 Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)V
      named onMouseClick Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)V
    • isCreativeInventorySlot

      private boolean isCreativeInventorySlot(@Nullable @Nullable Slot slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Lcgd;)Z
      intermediary method_2470 Lnet/minecraft/class_481;method_2470(Lnet/minecraft/class_1735;)Z
      named isCreativeInventorySlot Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isCreativeInventorySlot(Lnet/minecraft/screen/slot/Slot;)Z
    • init

      protected void init()
      Called when a screen should be initialized.

      This method is called when this screen is opened or resized.

      This should call Screen.setInitialFocus(net.minecraft.client.gui.Element) to set the element that is initially focused.

      Overrides:
      init in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official aH_ Leyk;aH_()V
      intermediary method_25426 Lnet/minecraft/class_437;method_25426()V
      named init Lnet/minecraft/client/gui/screen/Screen;init()V
    • resize

      public void resize(MinecraftClient client, int width, int height)
      Overrides:
      resize in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Leyk;a(Leqv;II)V
      intermediary method_25410 Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)V
      named resize Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
    • removed

      public void removed()
      Overrides:
      removed in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official h Leyk;h()V
      intermediary method_25432 Lnet/minecraft/class_437;method_25432()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • charTyped

      public boolean charTyped(char chr, int modifiers)
      Callback for when a character input has been captured. The key code is identified by the constants in GLFW class.
      Parameters:
      chr - the captured character
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leuk;a(CI)Z
      intermediary method_25400 Lnet/minecraft/class_364;method_25400(CI)Z
      named charTyped Lnet/minecraft/client/gui/Element;charTyped(CI)Z
    • keyPressed

      public boolean keyPressed(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Specified by:
      keyPressed in interface Element
      Specified by:
      keyPressed in interface ParentElement
      Overrides:
      keyPressed in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leuk;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z
    • keyReleased

      public boolean keyReleased(int keyCode, int scanCode, int modifiers)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      scanCode - the unique/platform-specific scan code of the keyboard input
      modifiers - a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Leuk;b(III)Z
      intermediary method_16803 Lnet/minecraft/class_364;method_16803(III)Z
      named keyReleased Lnet/minecraft/client/gui/Element;keyReleased(III)Z
    • search

      private void search()
      Mappings:
      Namespace Name Mixin selector
      official G Lezw;G()V
      intermediary method_2464 Lnet/minecraft/class_481;method_2464()V
      named search Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;search()V
    • searchForTags

      private void searchForTags(String id)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Ljava/lang/String;)V
      intermediary method_15871 Lnet/minecraft/class_481;method_15871(Ljava/lang/String;)V
      named searchForTags Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchForTags(Ljava/lang/String;)V
    • drawForeground

      protected void drawForeground(DrawContext context, int mouseX, int mouseY)
      Overrides:
      drawForeground in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official b Lezi;b(Lesf;II)V
      intermediary method_2388 Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_332;II)V
      named drawForeground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/gui/DrawContext;II)V
    • mouseClicked

      public boolean mouseClicked(double mouseX, double mouseY, int button)
      Callback for when a mouse button down event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseClicked in interface Element
      Specified by:
      mouseClicked in interface ParentElement
      Overrides:
      mouseClicked in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leuk;a(DDI)Z
      intermediary method_25402 Lnet/minecraft/class_364;method_25402(DDI)Z
      named mouseClicked Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
    • mouseReleased

      public boolean mouseReleased(double mouseX, double mouseY, int button)
      Callback for when a mouse button release event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseReleased in interface Element
      Specified by:
      mouseReleased in interface ParentElement
      Overrides:
      mouseReleased in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      button - the mouse button number
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Leuk;b(DDI)Z
      intermediary method_25406 Lnet/minecraft/class_364;method_25406(DDI)Z
      named mouseReleased Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
    • hasScrollbar

      private boolean hasScrollbar()
      Mappings:
      Namespace Name Mixin selector
      official I Lezw;I()Z
      intermediary method_2465 Lnet/minecraft/class_481;method_2465()Z
      named hasScrollbar Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;hasScrollbar()Z
    • setSelectedTab

      private void setSelectedTab(ItemGroup group)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Lchl;)V
      intermediary method_2466 Lnet/minecraft/class_481;method_2466(Lnet/minecraft/class_1761;)V
      named setSelectedTab Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;setSelectedTab(Lnet/minecraft/item/ItemGroup;)V
    • mouseScrolled

      public boolean mouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount)
      Callback for when a mouse button scroll event has been captured.
      Parameters:
      mouseX - the X coordinate of the mouse
      mouseY - the Y coordinate of the mouse
      horizontalAmount - the horizontal scroll amount
      verticalAmount - the vertical scroll amount
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leuk;a(DDDD)Z
      intermediary method_25401 Lnet/minecraft/class_364;method_25401(DDDD)Z
      named mouseScrolled Lnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Z
    • isClickOutsideBounds

      protected boolean isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button)
      Overrides:
      isClickOutsideBounds in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Lezi;a(DDIII)Z
      intermediary method_2381 Lnet/minecraft/class_465;method_2381(DDIII)Z
      named isClickOutsideBounds Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isClickOutsideBounds(DDIII)Z
    • isClickInScrollbar

      protected boolean isClickInScrollbar(double mouseX, double mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(DD)Z
      intermediary method_2467 Lnet/minecraft/class_481;method_2467(DD)Z
      named isClickInScrollbar Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isClickInScrollbar(DD)Z
    • mouseDragged

      public boolean mouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY)
      Callback for when a mouse button drag event has been captured. The button number is identified by the constants in GLFW class.
      Specified by:
      mouseDragged in interface Element
      Specified by:
      mouseDragged in interface ParentElement
      Overrides:
      mouseDragged in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Parameters:
      mouseX - the current X coordinate of the mouse
      mouseY - the current Y coordinate of the mouse
      button - the mouse button number
      deltaX - the difference of the current X with the previous X coordinate
      deltaY - the difference of the current Y with the previous Y coordinate
      Returns:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leuk;a(DDIDD)Z
      intermediary method_25403 Lnet/minecraft/class_364;method_25403(DDIDD)Z
      named mouseDragged Lnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
    • render

      public void render(DrawContext context, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Overrides:
      render in class AbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Lets;a(Lesf;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
    • getTooltipFromItem

      public List<Text> getTooltipFromItem(ItemStack stack)
      Overrides:
      getTooltipFromItem in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Lezi;a(Lcjf;)Ljava/util/List;
      intermediary method_51454 Lnet/minecraft/class_465;method_51454(Lnet/minecraft/class_1799;)Ljava/util/List;
      named getTooltipFromItem Lnet/minecraft/client/gui/screen/ingame/HandledScreen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
    • drawBackground

      protected void drawBackground(DrawContext context, float delta, int mouseX, int mouseY)
      Specified by:
      drawBackground in class HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
      Mappings:
      Namespace Name Mixin selector
      official a Lezi;a(Lesf;FII)V
      intermediary method_2389 Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V
      named drawBackground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
    • getTabX

      private int getTabX(ItemGroup group)
      Mappings:
      Namespace Name Mixin selector
      official b Lezw;b(Lchl;)I
      intermediary method_47422 Lnet/minecraft/class_481;method_47422(Lnet/minecraft/class_1761;)I
      named getTabX Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getTabX(Lnet/minecraft/item/ItemGroup;)I
    • getTabY

      private int getTabY(ItemGroup group)
      Mappings:
      Namespace Name Mixin selector
      official c Lezw;c(Lchl;)I
      intermediary method_47423 Lnet/minecraft/class_481;method_47423(Lnet/minecraft/class_1761;)I
      named getTabY Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getTabY(Lnet/minecraft/item/ItemGroup;)I
    • isClickInTab

      protected boolean isClickInTab(ItemGroup group, double mouseX, double mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Lchl;DD)Z
      intermediary method_2463 Lnet/minecraft/class_481;method_2463(Lnet/minecraft/class_1761;DD)Z
      named isClickInTab Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isClickInTab(Lnet/minecraft/item/ItemGroup;DD)Z
    • renderTabTooltipIfHovered

      protected boolean renderTabTooltipIfHovered(DrawContext context, ItemGroup group, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Lesf;Lchl;II)Z
      intermediary method_2471 Lnet/minecraft/class_481;method_2471(Lnet/minecraft/class_332;Lnet/minecraft/class_1761;II)Z
      named renderTabTooltipIfHovered Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabTooltipIfHovered(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemGroup;II)Z
    • renderTabIcon

      protected void renderTabIcon(DrawContext context, ItemGroup group)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Lesf;Lchl;)V
      intermediary method_2468 Lnet/minecraft/class_481;method_2468(Lnet/minecraft/class_332;Lnet/minecraft/class_1761;)V
      named renderTabIcon Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabIcon(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemGroup;)V
    • isInventoryTabSelected

      public boolean isInventoryTabSelected()
      Mappings:
      Namespace Name Mixin selector
      official F Lezw;F()Z
      intermediary method_47424 Lnet/minecraft/class_481;method_47424()Z
      named isInventoryTabSelected Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isInventoryTabSelected()Z
    • onHotbarKeyPress

      public static void onHotbarKeyPress(MinecraftClient client, int index, boolean restore, boolean save)
      Mappings:
      Namespace Name Mixin selector
      official a Lezw;a(Leqv;IZZ)V
      intermediary method_2462 Lnet/minecraft/class_481;method_2462(Lnet/minecraft/class_310;IZZ)V
      named onHotbarKeyPress Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;onHotbarKeyPress(Lnet/minecraft/client/MinecraftClient;IZZ)V