Class CreativeInventoryScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen
net.minecraft.client.gui.screen.ingame.InventoryScreen
net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen
- All Implemented Interfaces:
IdentifibleBooleanConsumer
- Mappings:
Namespace Name official bgaintermediary net/minecraft/class_415named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Slotprivate booleanprivate booleanprivate static SimpleInventoryprivate static final Identifierprivate CreativeInventoryListenerprivate booleanprivate floatprivate TextFieldWidgetprivate static intFields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
backgroundHeight, backgroundWidth, cursorDragSlots, INVENTORY_TEXTURE, isCursorDragging, screenHandler, x, yFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, client, height, itemRenderer, labels, passEvents, textRenderer, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE, zOffset -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidbuttonClicked(ButtonWidget button) protected voiddrawBackground(float delta, int mouseX, int mouseY) protected voiddrawForeground(int mouseX, int mouseY) intvoidprivate booleanvoidinit()protected booleanisClickInTab(ItemGroup group, int mouseX, int mouseY) protected voidkeyPressed(char character, int code) protected voidmethod_1131(Slot slot, int int2, int int3, ItemAction itemAction) protected voidmouseClicked(int mouseX, int mouseY, int button) protected voidmouseReleased(int mouseX, int mouseY, int button) voidremoved()voidrender(int mouseX, int mouseY, float tickDelta) protected voidrenderTabIcon(ItemGroup group) protected booleanrenderTabTooltipIfHovered(ItemGroup group, int mouseX, int mouseY) protected voidrenderTooltip(ItemStack stack, int x, int y) private voidsearch()private voidsetSelectedTab(ItemGroup group) voidtick()Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
handleHotbarKeyPressed, isPointWithinBounds, mouseDragged, shouldPauseGameMethods inherited from class net.minecraft.client.gui.screen.Screen
confirmResult, getClipboard, handleInput, handleKeyboard, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isPaste, isSelectAll, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setClipboard, setScreenBoundsMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawHorizontalLine, drawSprite, drawTexture, drawTexture, drawTexture, drawTexture, drawVerticalLine, drawWithShadow, fill, fillGradient
-
Field Details
-
ITEM_GROUPS
- Mappings:
Namespace Name Mixin selector official uLbga;u:Lkl;intermediary field_6309Lnet/minecraft/class_415;field_6309:Lnet/minecraft/class_1653;named ITEM_GROUPSLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;ITEM_GROUPS:Lnet/minecraft/util/Identifier;
-
inventory
- Mappings:
Namespace Name Mixin selector official vLbga;v:Lqv;intermediary field_1375Lnet/minecraft/class_415;field_1375:Lnet/minecraft/class_852;named inventoryLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;inventory:Lnet/minecraft/inventory/SimpleInventory;
-
selectedTab
private static int selectedTab- Mappings:
Namespace Name Mixin selector official wLbga;w:Iintermediary field_1376Lnet/minecraft/class_415;field_1376:Inamed selectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;selectedTab:I
-
scrollPosition
private float scrollPosition- Mappings:
Namespace Name Mixin selector official xLbga;x:Fintermediary field_1377Lnet/minecraft/class_415;field_1377:Fnamed scrollPositionLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrollPosition:F
-
field_1378
private boolean field_1378- Mappings:
Namespace Name Mixin selector official yLbga;y:Zintermediary field_1378Lnet/minecraft/class_415;field_1378:Znamed field_1378Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_1378:Z
-
field_1379
private boolean field_1379- Mappings:
Namespace Name Mixin selector official zLbga;z:Zintermediary field_1379Lnet/minecraft/class_415;field_1379:Znamed field_1379Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_1379:Z
-
searchField
- Mappings:
Namespace Name Mixin selector official ALbga;A:Lbdb;intermediary field_1380Lnet/minecraft/class_415;field_1380:Lnet/minecraft/class_367;named searchFieldLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
slots
- Mappings:
Namespace Name Mixin selector official BLbga;B:Ljava/util/List;intermediary field_1381Lnet/minecraft/class_415;field_1381:Ljava/util/List;named slotsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;slots:Ljava/util/List;
-
deleteItemSlot
- Mappings:
Namespace Name Mixin selector official CLbga;C:Labt;intermediary field_1382Lnet/minecraft/class_415;field_1382:Lnet/minecraft/class_1026;named deleteItemSlotLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;deleteItemSlot:Lnet/minecraft/inventory/slot/Slot;
-
scrolling
private boolean scrolling- Mappings:
Namespace Name Mixin selector official DLbga;D:Zintermediary field_1383Lnet/minecraft/class_415;field_1383:Znamed scrollingLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrolling:Z
-
listener
- Mappings:
Namespace Name Mixin selector official ELbga;E:Lbfz;intermediary field_5121Lnet/minecraft/class_415;field_5121:Lnet/minecraft/class_1329;named listenerLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;listener:Lnet/minecraft/client/gui/CreativeInventoryListener;
-
-
Constructor Details
-
CreativeInventoryScreen
- Mappings:
Namespace Name Mixin selector official <init>Lbga;<init>(Lzj;)Vintermediary <init>Lnet/minecraft/class_415;<init>(Lnet/minecraft/class_988;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
tick
public void tick()- Overrides:
tickin classHandledScreen- Mappings:
Namespace Name Mixin selector official eLbez;e()Vintermediary method_1033Lnet/minecraft/class_388;method_1033()Vnamed tickLnet/minecraft/client/gui/screen/Screen;tick()V
-
method_1131
- Overrides:
method_1131in classHandledScreen- Mappings:
Namespace Name Mixin selector official aLbfr;a(Labt;IILaaz;)Vintermediary method_1131Lnet/minecraft/class_409;method_1131(Lnet/minecraft/class_1026;IILnet/minecraft/class_2679;)Vnamed method_1131Lnet/minecraft/client/gui/screen/ingame/HandledScreen;method_1131(Lnet/minecraft/inventory/slot/Slot;IILnet/minecraft/util/ItemAction;)V
-
applyStatusEffectOffset
protected void applyStatusEffectOffset()- Overrides:
applyStatusEffectOffsetin classInventoryScreen- Mappings:
Namespace Name Mixin selector official aLbgc;a()Vintermediary method_9602Lnet/minecraft/class_418;method_9602()Vnamed applyStatusEffectOffsetLnet/minecraft/client/gui/screen/ingame/InventoryScreen;applyStatusEffectOffset()V
-
init
public void init()- Overrides:
initin classInventoryScreen- Mappings:
Namespace Name Mixin selector official bLbez;b()Vintermediary method_1044Lnet/minecraft/class_388;method_1044()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
removed
public void removed()- Overrides:
removedin classHandledScreen- Mappings:
Namespace Name Mixin selector official mLbez;m()Vintermediary method_1030Lnet/minecraft/class_388;method_1030()Vnamed removedLnet/minecraft/client/gui/screen/Screen;removed()V
-
keyPressed
protected void keyPressed(char character, int code) - Overrides:
keyPressedin classHandledScreen- Mappings:
Namespace Name Mixin selector official aLbez;a(CI)Vintermediary method_1024Lnet/minecraft/class_388;method_1024(CI)Vnamed keyPressedLnet/minecraft/client/gui/screen/Screen;keyPressed(CI)V
-
search
private void search()- Mappings:
Namespace Name Mixin selector official hLbga;h()Vintermediary method_1150Lnet/minecraft/class_415;method_1150()Vnamed searchLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;search()V
-
drawForeground
protected void drawForeground(int mouseX, int mouseY) - Overrides:
drawForegroundin classHandledScreen- Mappings:
Namespace Name Mixin selector official bLbfr;b(II)Vintermediary method_4262Lnet/minecraft/class_409;method_4262(II)Vnamed drawForegroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(II)V
-
mouseClicked
protected void mouseClicked(int mouseX, int mouseY, int button) - Overrides:
mouseClickedin classHandledScreen- Mappings:
Namespace Name Mixin selector official aLbez;a(III)Vintermediary method_1026Lnet/minecraft/class_388;method_1026(III)Vnamed mouseClickedLnet/minecraft/client/gui/screen/Screen;mouseClicked(III)V
-
mouseReleased
protected void mouseReleased(int mouseX, int mouseY, int button) - Overrides:
mouseReleasedin classHandledScreen- Mappings:
Namespace Name Mixin selector official bLbez;b(III)Vintermediary method_1032Lnet/minecraft/class_388;method_1032(III)Vnamed mouseReleasedLnet/minecraft/client/gui/screen/Screen;mouseReleased(III)V
-
hasScrollbar
private boolean hasScrollbar()- Mappings:
Namespace Name Mixin selector official iLbga;i()Zintermediary method_1151Lnet/minecraft/class_415;method_1151()Znamed hasScrollbarLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;hasScrollbar()Z
-
setSelectedTab
- Mappings:
Namespace Name Mixin selector official bLbga;b(Lacq;)Vintermediary method_1146Lnet/minecraft/class_415;method_1146(Lnet/minecraft/class_1041;)Vnamed setSelectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;setSelectedTab(Lnet/minecraft/item/itemgroup/ItemGroup;)V
-
handleMouse
public void handleMouse()- Overrides:
handleMousein classScreen- Mappings:
Namespace Name Mixin selector official kLbez;k()Vintermediary method_1035Lnet/minecraft/class_388;method_1035()Vnamed handleMouseLnet/minecraft/client/gui/screen/Screen;handleMouse()V
-
render
public void render(int mouseX, int mouseY, float tickDelta) - Overrides:
renderin classInventoryScreen- Mappings:
Namespace Name Mixin selector official aLbez;a(IIF)Vintermediary method_1025Lnet/minecraft/class_388;method_1025(IIF)Vnamed renderLnet/minecraft/client/gui/screen/Screen;render(IIF)V
-
renderTooltip
- Overrides:
renderTooltipin classScreen- Mappings:
Namespace Name Mixin selector official aLbez;a(Ladq;II)Vintermediary method_6752Lnet/minecraft/class_388;method_6752(Lnet/minecraft/class_1071;II)Vnamed renderTooltipLnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/item/ItemStack;II)V
-
drawBackground
protected void drawBackground(float delta, int mouseX, int mouseY) - Specified by:
drawBackgroundin classHandledScreen- Mappings:
Namespace Name Mixin selector official aLbfr;a(FII)Vintermediary method_1127Lnet/minecraft/class_409;method_1127(FII)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(FII)V
-
isClickInTab
- Mappings:
Namespace Name Mixin selector official aLbga;a(Lacq;II)Zintermediary method_1145Lnet/minecraft/class_415;method_1145(Lnet/minecraft/class_1041;II)Znamed isClickInTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isClickInTab(Lnet/minecraft/item/itemgroup/ItemGroup;II)Z
-
renderTabTooltipIfHovered
- Mappings:
Namespace Name Mixin selector official bLbga;b(Lacq;II)Zintermediary method_1147Lnet/minecraft/class_415;method_1147(Lnet/minecraft/class_1041;II)Znamed renderTabTooltipIfHoveredLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabTooltipIfHovered(Lnet/minecraft/item/itemgroup/ItemGroup;II)Z
-
renderTabIcon
- Mappings:
Namespace Name Mixin selector official aLbga;a(Lacq;)Vintermediary method_1144Lnet/minecraft/class_415;method_1144(Lnet/minecraft/class_1041;)Vnamed renderTabIconLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabIcon(Lnet/minecraft/item/itemgroup/ItemGroup;)V
-
buttonClicked
- Overrides:
buttonClickedin classScreen- Mappings:
Namespace Name Mixin selector official aLbez;a(Lbcx;)Vintermediary method_1027Lnet/minecraft/class_388;method_1027(Lnet/minecraft/class_356;)Vnamed buttonClickedLnet/minecraft/client/gui/screen/Screen;buttonClicked(Lnet/minecraft/client/gui/widget/ButtonWidget;)V
-
getSelectedTab
public int getSelectedTab()- Mappings:
Namespace Name Mixin selector official fLbga;f()Iintermediary method_1148Lnet/minecraft/class_415;method_1148()Inamed getSelectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getSelectedTab()I
-