Class CreativeInventoryScreen

All Implemented Interfaces:
class_4122, class_4123, IdentifibleBooleanConsumer

@Environment(CLIENT) public class CreativeInventoryScreen extends InventoryScreen
Mappings:
Namespace Name
official clh
intermediary net/minecraft/class_415
named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen
  • Field Details

    • ITEM_GROUPS

      private static final Identifier ITEM_GROUPS
      Mappings:
      Namespace Name Mixin selector
      official x Lclh;x:Lpc;
      intermediary field_6309 Lnet/minecraft/class_415;field_6309:Lnet/minecraft/class_1653;
      named ITEM_GROUPS Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;ITEM_GROUPS:Lnet/minecraft/util/Identifier;
    • inventory

      private static final SimpleInventory inventory
      Mappings:
      Namespace Name Mixin selector
      official y Lclh;y:Ladt;
      intermediary field_1375 Lnet/minecraft/class_415;field_1375:Lnet/minecraft/class_852;
      named inventory Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;inventory:Lnet/minecraft/inventory/SimpleInventory;
    • selectedTab

      private static int selectedTab
      Mappings:
      Namespace Name Mixin selector
      official z Lclh;z:I
      intermediary field_1376 Lnet/minecraft/class_415;field_1376:I
      named selectedTab Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;selectedTab:I
    • scrollPosition

      private float scrollPosition
      Mappings:
      Namespace Name Mixin selector
      official A Lclh;A:F
      intermediary field_1377 Lnet/minecraft/class_415;field_1377:F
      named scrollPosition Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrollPosition:F
    • field_1378

      private boolean field_1378
      Mappings:
      Namespace Name Mixin selector
      official B Lclh;B:Z
      intermediary field_1378 Lnet/minecraft/class_415;field_1378:Z
      named field_1378 Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_1378:Z
    • searchField

      private TextFieldWidget searchField
      Mappings:
      Namespace Name Mixin selector
      official C Lclh;C:Lcgy;
      intermediary field_1380 Lnet/minecraft/class_415;field_1380:Lnet/minecraft/class_367;
      named searchField Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • slots

      private List<Slot> slots
      Mappings:
      Namespace Name Mixin selector
      official D Lclh;D:Ljava/util/List;
      intermediary field_1381 Lnet/minecraft/class_415;field_1381:Ljava/util/List;
      named slots Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;slots:Ljava/util/List;
    • deleteItemSlot

      private Slot deleteItemSlot
      Mappings:
      Namespace Name Mixin selector
      official E Lclh;E:Laqx;
      intermediary field_1382 Lnet/minecraft/class_415;field_1382:Lnet/minecraft/class_1026;
      named deleteItemSlot Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;deleteItemSlot:Lnet/minecraft/inventory/slot/Slot;
    • listener

      private CreativeInventoryListener listener
      Mappings:
      Namespace Name Mixin selector
      official F Lclh;F:Lclg;
      intermediary field_5121 Lnet/minecraft/class_415;field_5121:Lnet/minecraft/class_1329;
      named listener Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;listener:Lnet/minecraft/client/gui/CreativeInventoryListener;
    • field_20401

      private boolean field_20401
      Mappings:
      Namespace Name Mixin selector
      official G Lclh;G:Z
      intermediary field_20401 Lnet/minecraft/class_415;field_20401:Z
      named field_20401 Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_20401:Z
    • field_20402

      private boolean field_20402
      Mappings:
      Namespace Name Mixin selector
      official H Lclh;H:Z
      intermediary field_20402 Lnet/minecraft/class_415;field_20402:Z
      named field_20402 Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_20402:Z
  • Constructor Details

    • CreativeInventoryScreen

      public CreativeInventoryScreen(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lclh;<init>(Laog;)V
      intermediary <init> Lnet/minecraft/class_415;<init>(Lnet/minecraft/class_988;)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
  • Method Details

    • tick

      public void tick()
      Overrides:
      tick in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official f Lckd;f()V
      intermediary method_1033 Lnet/minecraft/class_388;method_1033()V
      named tick Lnet/minecraft/client/gui/screen/Screen;tick()V
    • method_1131

      protected void method_1131(@Nullable Slot slot, int int2, int int3, ItemAction itemAction)
      Overrides:
      method_1131 in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lcky;a(Laqx;IILaqa;)V
      intermediary method_1131 Lnet/minecraft/class_409;method_1131(Lnet/minecraft/class_1026;IILnet/minecraft/class_2679;)V
      named method_1131 Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_1131(Lnet/minecraft/inventory/slot/Slot;IILnet/minecraft/util/ItemAction;)V
    • method_18732

      private boolean method_18732(@Nullable Slot slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a(Laqx;)Z
      intermediary method_18732 Lnet/minecraft/class_415;method_18732(Lnet/minecraft/class_1026;)Z
      named method_18732 Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;method_18732(Lnet/minecraft/inventory/slot/Slot;)Z
    • applyStatusEffectOffset

      protected void applyStatusEffectOffset()
      Overrides:
      applyStatusEffectOffset in class InventoryScreen
      Mappings:
      Namespace Name Mixin selector
      official h Lclj;h()V
      intermediary method_9602 Lnet/minecraft/class_418;method_9602()V
      named applyStatusEffectOffset Lnet/minecraft/client/gui/screen/ingame/InventoryScreen;applyStatusEffectOffset()V
    • init

      protected void init()
      Overrides:
      init in class InventoryScreen
      Mappings:
      Namespace Name Mixin selector
      official c Lckd;c()V
      intermediary method_1044 Lnet/minecraft/class_388;method_1044()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 b Lckd;b(Lcft;II)V
      intermediary method_9582 Lnet/minecraft/class_388;method_9582(Lnet/minecraft/class_1600;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
      Mappings:
      Namespace Name Mixin selector
      official n Lckd;n()V
      intermediary method_1030 Lnet/minecraft/class_388;method_1030()V
      named removed Lnet/minecraft/client/gui/screen/Screen;removed()V
    • charTyped

      public boolean charTyped(char char2, int int2)
      Mappings:
      Namespace Name Mixin selector
      official charTyped Lchr;charTyped(CI)Z
      intermediary charTyped Lnet/minecraft/class_4122;charTyped(CI)Z
      named charTyped Lnet/minecraft/class_4122;charTyped(CI)Z
    • keyPressed

      public boolean keyPressed(int int2, int int3, int int4)
      Specified by:
      keyPressed in interface class_4122
      Specified by:
      keyPressed in interface class_4123
      Overrides:
      keyPressed in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official keyPressed Lchr;keyPressed(III)Z
      intermediary keyPressed Lnet/minecraft/class_4122;keyPressed(III)Z
      named keyPressed Lnet/minecraft/class_4122;keyPressed(III)Z
    • keyReleased

      public boolean keyReleased(int int2, int int3, int int4)
      Mappings:
      Namespace Name Mixin selector
      official keyReleased Lchr;keyReleased(III)Z
      intermediary keyReleased Lnet/minecraft/class_4122;keyReleased(III)Z
      named keyReleased Lnet/minecraft/class_4122;keyReleased(III)Z
    • search

      private void search()
      Mappings:
      Namespace Name Mixin selector
      official k Lclh;k()V
      intermediary method_1150 Lnet/minecraft/class_415;method_1150()V
      named search Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;search()V
    • drawForeground

      protected void drawForeground(int mouseX, int mouseY)
      Overrides:
      drawForeground in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official c Lcky;c(II)V
      intermediary method_4262 Lnet/minecraft/class_409;method_4262(II)V
      named drawForeground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(II)V
    • mouseClicked

      public boolean mouseClicked(double double2, double double3, int int2)
      Specified by:
      mouseClicked in interface class_4122
      Specified by:
      mouseClicked in interface class_4123
      Overrides:
      mouseClicked in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official mouseClicked Lchr;mouseClicked(DDI)Z
      intermediary mouseClicked Lnet/minecraft/class_4122;mouseClicked(DDI)Z
      named mouseClicked Lnet/minecraft/class_4122;mouseClicked(DDI)Z
    • mouseReleased

      public boolean mouseReleased(double double2, double double3, int int2)
      Specified by:
      mouseReleased in interface class_4122
      Specified by:
      mouseReleased in interface class_4123
      Overrides:
      mouseReleased in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official mouseReleased Lchr;mouseReleased(DDI)Z
      intermediary mouseReleased Lnet/minecraft/class_4122;mouseReleased(DDI)Z
      named mouseReleased Lnet/minecraft/class_4122;mouseReleased(DDI)Z
    • hasScrollbar

      private boolean hasScrollbar()
      Mappings:
      Namespace Name Mixin selector
      official m Lclh;m()Z
      intermediary method_1151 Lnet/minecraft/class_415;method_1151()Z
      named hasScrollbar Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;hasScrollbar()Z
    • setSelectedTab

      private void setSelectedTab(ItemGroup group)
      Mappings:
      Namespace Name Mixin selector
      official b Lclh;b(Lary;)V
      intermediary method_1146 Lnet/minecraft/class_415;method_1146(Lnet/minecraft/class_1041;)V
      named setSelectedTab Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;setSelectedTab(Lnet/minecraft/item/itemgroup/ItemGroup;)V
    • mouseScrolled

      public boolean mouseScrolled(double double2)
      Mappings:
      Namespace Name Mixin selector
      official mouseScrolled Lchr;mouseScrolled(D)Z
      intermediary mouseScrolled Lnet/minecraft/class_4122;mouseScrolled(D)Z
      named mouseScrolled Lnet/minecraft/class_4122;mouseScrolled(D)Z
    • method_14549

      protected boolean method_14549(double double2, double double3, int int2, int int3, int int4)
      Overrides:
      method_14549 in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lcky;a(DDIII)Z
      intermediary method_14549 Lnet/minecraft/class_409;method_14549(DDIII)Z
      named method_14549 Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_14549(DDIII)Z
    • method_18731

      protected boolean method_18731(double double2, double double3)
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a(DD)Z
      intermediary method_18731 Lnet/minecraft/class_415;method_18731(DD)Z
      named method_18731 Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;method_18731(DD)Z
    • mouseDragged

      public boolean mouseDragged(double double2, double double3, int int2, double double4, double double5)
      Specified by:
      mouseDragged in interface class_4122
      Specified by:
      mouseDragged in interface class_4123
      Overrides:
      mouseDragged in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official mouseDragged Lchr;mouseDragged(DDIDD)Z
      intermediary mouseDragged Lnet/minecraft/class_4122;mouseDragged(DDIDD)Z
      named mouseDragged Lnet/minecraft/class_4122;mouseDragged(DDIDD)Z
    • render

      public void render(int mouseX, int mouseY, float tickDelta)
      Overrides:
      render in class InventoryScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;a(IIF)V
      intermediary method_1025 Lnet/minecraft/class_388;method_1025(IIF)V
      named render Lnet/minecraft/client/gui/screen/Screen;render(IIF)V
    • renderTooltip

      protected void renderTooltip(ItemStack stack, int x, int y)
      Overrides:
      renderTooltip in class Screen
      Mappings:
      Namespace Name Mixin selector
      official a Lckd;a(Late;II)V
      intermediary method_6752 Lnet/minecraft/class_388;method_6752(Lnet/minecraft/class_1071;II)V
      named renderTooltip Lnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/item/ItemStack;II)V
    • drawBackground

      protected void drawBackground(float delta, int mouseX, int mouseY)
      Specified by:
      drawBackground in class HandledScreen
      Mappings:
      Namespace Name Mixin selector
      official a Lcky;a(FII)V
      intermediary method_1127 Lnet/minecraft/class_409;method_1127(FII)V
      named drawBackground Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(FII)V
    • method_18733

      protected boolean method_18733(ItemGroup itemGroup, double double2, double double3)
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a(Lary;DD)Z
      intermediary method_18733 Lnet/minecraft/class_415;method_18733(Lnet/minecraft/class_1041;DD)Z
      named method_18733 Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;method_18733(Lnet/minecraft/item/itemgroup/ItemGroup;DD)Z
    • renderTabTooltipIfHovered

      protected boolean renderTabTooltipIfHovered(ItemGroup group, int mouseX, int mouseY)
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a(Lary;II)Z
      intermediary method_1147 Lnet/minecraft/class_415;method_1147(Lnet/minecraft/class_1041;II)Z
      named renderTabTooltipIfHovered Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabTooltipIfHovered(Lnet/minecraft/item/itemgroup/ItemGroup;II)Z
    • renderTabIcon

      protected void renderTabIcon(ItemGroup group)
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a(Lary;)V
      intermediary method_1144 Lnet/minecraft/class_415;method_1144(Lnet/minecraft/class_1041;)V
      named renderTabIcon Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabIcon(Lnet/minecraft/item/itemgroup/ItemGroup;)V
    • getSelectedTab

      public int getSelectedTab()
      Mappings:
      Namespace Name Mixin selector
      official i Lclh;i()I
      intermediary method_1148 Lnet/minecraft/class_415;method_1148()I
      named getSelectedTab Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getSelectedTab()I
    • method_14550

      public static void method_14550(MinecraftClient minecraftClient, int int2, boolean bool, boolean bool2)
      Mappings:
      Namespace Name Mixin selector
      official a Lclh;a(Lcft;IZZ)V
      intermediary method_14550 Lnet/minecraft/class_415;method_14550(Lnet/minecraft/class_1600;IZZ)V
      named method_14550 Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;method_14550(Lnet/minecraft/client/MinecraftClient;IZZ)V