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 ayuintermediary 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 voidmouseClicked(int mouseX, int mouseY, int button) protected voidmouseReleased(int mouseX, int mouseY, int button) protected voidonMouseClick(Slot slot, int invSlot, int button, int slotAction) 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 uLayu;u:Ljy;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 vLayu;v:Loq;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 wLayu;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 xLayu;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 yLayu;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 zLayu;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 ALayu;A:Lavw;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 BLayu;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 CLayu;C:Lyg;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 DLayu;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 ELayu;E:Layt;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>Layu;<init>(Lwn;)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 eLaxu;e()Vintermediary method_1033Lnet/minecraft/class_388;method_1033()Vnamed tickLnet/minecraft/client/gui/screen/Screen;tick()V
-
onMouseClick
- Overrides:
onMouseClickin classHandledScreen- Mappings:
Namespace Name Mixin selector official aLayl;a(Lyg;III)Vintermediary method_1131Lnet/minecraft/class_409;method_1131(Lnet/minecraft/class_1026;III)Vnamed onMouseClickLnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/inventory/slot/Slot;III)V
-
applyStatusEffectOffset
protected void applyStatusEffectOffset()- Overrides:
applyStatusEffectOffsetin classInventoryScreen- Mappings:
Namespace Name Mixin selector official aLayw;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 bLaxu;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 mLaxu;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 aLaxu;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 hLayu;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 bLayl;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 aLaxu;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 bLaxu;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 iLayu;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 bLayu;b(Lyz;)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 kLaxu;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 aLaxu;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 aLaxu;a(Lzx;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 aLayl;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 aLayu;a(Lyz;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 bLayu;b(Lyz;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 aLayu;a(Lyz;)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 aLaxu;a(Lavs;)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 fLayu;f()Iintermediary method_1148Lnet/minecraft/class_415;method_1148()Inamed getSelectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getSelectedTab()I
-