Class CreativeInventoryScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<T>
net.minecraft.client.gui.screen.ingame.AbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>
net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,ScreenHandlerProvider<CreativeInventoryScreen.CreativeScreenHandler>
@Environment(CLIENT)
public class CreativeInventoryScreen
extends AbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name official eluintermediary net/minecraft/class_481named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static classprivate static classNested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final Stringprivate static final Textprivate boolean(package private) static final SimpleInventoryprivate booleanprivate CreativeInventoryListenerprivate static final intprivate static final intprivate static final intprivate booleanprivate floatprivate TextFieldWidgetprivate static intprivate static final intprivate static final Stringprivate static final intprivate static final Identifierprivate static final intFields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_32322, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, yFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTUREFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancharTyped(char chr, int modifiers) Callback for when a character input has been captured.protected voiddrawBackground(MatrixStack matrices, float delta, int mouseX, int mouseY) protected voiddrawForeground(MatrixStack matrices, int mouseX, int mouseY) intvoidprivate booleanprotected voidinit()Called when a screen should be initialized.protected booleanisClickInScrollbar(double mouseX, double mouseY) protected booleanisClickInTab(ItemGroup group, double mouseX, double mouseY) protected booleanisClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button) private booleanbooleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.booleankeyReleased(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.booleanmouseClicked(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.booleanmouseDragged(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.booleanmouseReleased(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.booleanmouseScrolled(double mouseX, double mouseY, double amount) Callback for when a mouse button scroll event has been captured.static voidonHotbarKeyPress(MinecraftClient client, int index, boolean restore, boolean save) protected voidonMouseClick(@Nullable Slot slot, int slotId, int button, SlotActionType actionType) voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) protected voidrenderTabIcon(MatrixStack matrices, ItemGroup group) protected booleanrenderTabTooltipIfHovered(MatrixStack matrices, ItemGroup group, int mouseX, int mouseY) protected voidrenderTooltip(MatrixStack matrices, ItemStack stack, int x, int y) voidresize(MinecraftClient client, int width, int height) private voidsearch()private voidsearchForTags(String id) private voidsetSelectedTab(ItemGroup group) Methods inherited from class net.minecraft.client.gui.screen.ingame.AbstractInventoryScreen
hideStatusEffectHudMethods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
close, drawMouseoverTooltip, drawSlotHighlight, endTouchDrag, getScreenHandler, handleHotbarKeyPressed, isPointWithinBounds, shouldPause, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hide, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, shouldCloseOnEsc, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, focusOn, hoveredElement, setInitialFocus
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official zLelu;z:Laaj;intermediary field_2893Lnet/minecraft/class_481;field_2893:Lnet/minecraft/class_2960;named TEXTURELnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TEXTURE:Lnet/minecraft/util/Identifier;
-
TAB_TEXTURE_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector official ALelu;A:Ljava/lang/String;intermediary field_32335Lnet/minecraft/class_481;field_32335:Ljava/lang/String;named TAB_TEXTURE_PREFIXLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_TEXTURE_PREFIX:Ljava/lang/String;
-
CUSTOM_CREATIVE_LOCK_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official BLelu;B:Ljava/lang/String;intermediary field_32336Lnet/minecraft/class_481;field_32336:Ljava/lang/String;named CUSTOM_CREATIVE_LOCK_KEYLnet/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 CLelu;C:Iintermediary field_32337Lnet/minecraft/class_481;field_32337:Inamed ROWS_COUNTLnet/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 DLelu;D:Iintermediary field_32338Lnet/minecraft/class_481;field_32338:Inamed COLUMNS_COUNTLnet/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 ELelu;E:Iintermediary field_32339Lnet/minecraft/class_481;field_32339:Inamed TAB_WIDTHLnet/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 FLelu;F:Iintermediary field_32340Lnet/minecraft/class_481;field_32340:Inamed TAB_HEIGHTLnet/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 GLelu;G:Iintermediary field_32341Lnet/minecraft/class_481;field_32341:Inamed SCROLLBAR_WIDTHLnet/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 HLelu;H:Iintermediary field_32342Lnet/minecraft/class_481;field_32342:Inamed SCROLLBAR_HEIGHTLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLBAR_HEIGHT:I
-
INVENTORY
- Mappings:
Namespace Name Mixin selector official ILelu;I:Lazr;intermediary field_2895Lnet/minecraft/class_481;field_2895:Lnet/minecraft/class_1277;named INVENTORYLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;INVENTORY:Lnet/minecraft/inventory/SimpleInventory;
-
DELETE_ITEM_SLOT_TEXT
- Mappings:
Namespace Name Mixin selector official JLelu;J:Lrm;intermediary field_26563Lnet/minecraft/class_481;field_26563:Lnet/minecraft/class_2561;named DELETE_ITEM_SLOT_TEXTLnet/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 KLelu;K:Iintermediary field_32343Lnet/minecraft/class_481;field_32343:Inamed WHITELnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;WHITE:I
-
selectedTab
private static int selectedTab- Mappings:
Namespace Name Mixin selector official LLelu;L:Iintermediary field_2896Lnet/minecraft/class_481;field_2896:Inamed selectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;selectedTab:I
-
scrollPosition
private float scrollPosition- Mappings:
Namespace Name Mixin selector official MLelu;M:Fintermediary field_2890Lnet/minecraft/class_481;field_2890:Fnamed scrollPositionLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrollPosition:F
-
scrolling
private boolean scrolling- Mappings:
Namespace Name Mixin selector official NLelu;N:Zintermediary field_2892Lnet/minecraft/class_481;field_2892:Znamed scrollingLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrolling:Z
-
searchBox
- Mappings:
Namespace Name Mixin selector official OLelu;O:Leha;intermediary field_2894Lnet/minecraft/class_481;field_2894:Lnet/minecraft/class_342;named searchBoxLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
slots
- Mappings:
Namespace Name Mixin selector official PLelu;P:Ljava/util/List;intermediary field_2886Lnet/minecraft/class_481;field_2886:Ljava/util/List;named slotsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;slots:Ljava/util/List;
-
deleteItemSlot
- Mappings:
Namespace Name Mixin selector official QLelu;Q:Lbxg;intermediary field_2889Lnet/minecraft/class_481;field_2889:Lnet/minecraft/class_1735;named deleteItemSlotLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;deleteItemSlot:Lnet/minecraft/screen/slot/Slot;
-
listener
- Mappings:
Namespace Name Mixin selector official RLelu;R:Lelt;intermediary field_2891Lnet/minecraft/class_481;field_2891:Lnet/minecraft/class_478;named listenerLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;listener:Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryListener;
-
ignoreTypedCharacter
private boolean ignoreTypedCharacter- Mappings:
Namespace Name Mixin selector official SLelu;S:Zintermediary field_2888Lnet/minecraft/class_481;field_2888:Znamed ignoreTypedCharacterLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;ignoreTypedCharacter:Z
-
lastClickOutsideBounds
private boolean lastClickOutsideBounds- Mappings:
Namespace Name Mixin selector official TLelu;T:Zintermediary field_2887Lnet/minecraft/class_481;field_2887:Znamed lastClickOutsideBoundsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;lastClickOutsideBounds:Z
-
searchResultTags
- Mappings:
Namespace Name Mixin selector official ULelu;U:Ljava/util/Set;intermediary field_16201Lnet/minecraft/class_481;field_16201:Ljava/util/Set;named searchResultTagsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchResultTags:Ljava/util/Set;
-
-
Constructor Details
-
CreativeInventoryScreen
- Mappings:
Namespace Name Mixin selector official <init>Lelu;<init>(Lbtf;)Vintermediary <init>Lnet/minecraft/class_481;<init>(Lnet/minecraft/class_1657;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
handledScreenTick
public void handledScreenTick()- Overrides:
handledScreenTickin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official jLelh;j()Vintermediary method_37432Lnet/minecraft/class_465;method_37432()Vnamed handledScreenTickLnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
-
onMouseClick
protected void onMouseClick(@Nullable @Nullable Slot slot, int slotId, int button, SlotActionType actionType) - Overrides:
onMouseClickin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- See Also:
- Mappings:
Namespace Name Mixin selector official aLelh;a(Lbxg;IILbvy;)Vintermediary method_2383Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)Vnamed onMouseClickLnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)V
-
isCreativeInventorySlot
- Mappings:
Namespace Name Mixin selector official aLelu;a(Lbxg;)Zintermediary method_2470Lnet/minecraft/class_481;method_2470(Lnet/minecraft/class_1735;)Znamed isCreativeInventorySlotLnet/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.
- Overrides:
initin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official bLekj;b()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
resize
-
removed
public void removed()- Overrides:
removedin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official eLekj;e()Vintermediary method_25432Lnet/minecraft/class_437;method_25432()Vnamed removedLnet/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 inGLFWclass.- Parameters:
chr- the captured charactermodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehq;a(CI)Zintermediary method_25400Lnet/minecraft/class_364;method_25400(CI)Znamed charTypedLnet/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 inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehq;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/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 inGLFWclass.- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official bLehq;b(III)Zintermediary method_16803Lnet/minecraft/class_364;method_16803(III)Znamed keyReleasedLnet/minecraft/client/gui/Element;keyReleased(III)Z
-
search
private void search()- Mappings:
Namespace Name Mixin selector official zLelu;z()Vintermediary method_2464Lnet/minecraft/class_481;method_2464()Vnamed searchLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;search()V
-
searchForTags
- Mappings:
Namespace Name Mixin selector official aLelu;a(Ljava/lang/String;)Vintermediary method_15871Lnet/minecraft/class_481;method_15871(Ljava/lang/String;)Vnamed searchForTagsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchForTags(Ljava/lang/String;)V
-
drawForeground
- Overrides:
drawForegroundin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official bLelh;b(Ldzt;II)Vintermediary method_2388Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_4587;II)Vnamed drawForegroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/util/math/MatrixStack;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 inGLFWclass.- Specified by:
mouseClickedin interfaceElement- Specified by:
mouseClickedin interfaceParentElement- Overrides:
mouseClickedin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehq;a(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Znamed mouseClickedLnet/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 inGLFWclass.- Specified by:
mouseReleasedin interfaceElement- Specified by:
mouseReleasedin interfaceParentElement- Overrides:
mouseReleasedin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official cLehq;c(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Znamed mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
-
hasScrollbar
private boolean hasScrollbar()- Mappings:
Namespace Name Mixin selector official BLelu;B()Zintermediary method_2465Lnet/minecraft/class_481;method_2465()Znamed hasScrollbarLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;hasScrollbar()Z
-
setSelectedTab
- Mappings:
Namespace Name Mixin selector official aLelu;a(Lbym;)Vintermediary method_2466Lnet/minecraft/class_481;method_2466(Lnet/minecraft/class_1761;)Vnamed setSelectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;setSelectedTab(Lnet/minecraft/item/ItemGroup;)V
-
mouseScrolled
public boolean mouseScrolled(double mouseX, double mouseY, double amount) Callback for when a mouse button scroll event has been captured.- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mouseamount- value is< 0if scrolled down,> 0if scrolled up- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehq;a(DDD)Zintermediary method_25401Lnet/minecraft/class_364;method_25401(DDD)Znamed mouseScrolledLnet/minecraft/client/gui/Element;mouseScrolled(DDD)Z
-
isClickOutsideBounds
protected boolean isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button) - Overrides:
isClickOutsideBoundsin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official aLelh;a(DDIII)Zintermediary method_2381Lnet/minecraft/class_465;method_2381(DDIII)Znamed isClickOutsideBoundsLnet/minecraft/client/gui/screen/ingame/HandledScreen;isClickOutsideBounds(DDIII)Z
-
isClickInScrollbar
protected boolean isClickInScrollbar(double mouseX, double mouseY) - Mappings:
Namespace Name Mixin selector official aLelu;a(DD)Zintermediary method_2467Lnet/minecraft/class_481;method_2467(DD)Znamed isClickInScrollbarLnet/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 inGLFWclass.- Specified by:
mouseDraggedin interfaceElement- Specified by:
mouseDraggedin interfaceParentElement- Overrides:
mouseDraggedin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Parameters:
mouseX- the current X coordinate of the mousemouseY- the current Y coordinate of the mousebutton- the mouse button numberdeltaX- the difference of the current X with the previous X coordinatedeltaY- the difference of the current Y with the previous Y coordinate- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLehq;a(DDIDD)Zintermediary method_25403Lnet/minecraft/class_364;method_25403(DDIDD)Znamed mouseDraggedLnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classAbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official aLehn;a(Ldzt;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderTooltip
- Overrides:
renderTooltipin classScreen- Mappings:
Namespace Name Mixin selector official aLekj;a(Ldzt;Lcaa;II)Vintermediary method_25409Lnet/minecraft/class_437;method_25409(Lnet/minecraft/class_4587;Lnet/minecraft/class_1799;II)Vnamed renderTooltipLnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/item/ItemStack;II)V
-
drawBackground
- Specified by:
drawBackgroundin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official aLelh;a(Ldzt;FII)Vintermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_4587;FII)Vnamed drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/util/math/MatrixStack;FII)V
-
isClickInTab
- Mappings:
Namespace Name Mixin selector official aLelu;a(Lbym;DD)Zintermediary method_2463Lnet/minecraft/class_481;method_2463(Lnet/minecraft/class_1761;DD)Znamed isClickInTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isClickInTab(Lnet/minecraft/item/ItemGroup;DD)Z
-
renderTabTooltipIfHovered
protected boolean renderTabTooltipIfHovered(MatrixStack matrices, ItemGroup group, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector official aLelu;a(Ldzt;Lbym;II)Zintermediary method_2471Lnet/minecraft/class_481;method_2471(Lnet/minecraft/class_4587;Lnet/minecraft/class_1761;II)Znamed renderTabTooltipIfHoveredLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabTooltipIfHovered(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/item/ItemGroup;II)Z
-
renderTabIcon
- Mappings:
Namespace Name Mixin selector official aLelu;a(Ldzt;Lbym;)Vintermediary method_2468Lnet/minecraft/class_481;method_2468(Lnet/minecraft/class_4587;Lnet/minecraft/class_1761;)Vnamed renderTabIconLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabIcon(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/item/ItemGroup;)V
-
getSelectedTab
public int getSelectedTab()- Mappings:
Namespace Name Mixin selector official yLelu;y()Iintermediary method_2469Lnet/minecraft/class_481;method_2469()Inamed getSelectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getSelectedTab()I
-
onHotbarKeyPress
public static void onHotbarKeyPress(MinecraftClient client, int index, boolean restore, boolean save) - Mappings:
Namespace Name Mixin selector official aLelu;a(Leev;IZZ)Vintermediary method_2462Lnet/minecraft/class_481;method_2462(Lnet/minecraft/class_310;IZZ)Vnamed onHotbarKeyPressLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;onHotbarKeyPress(Lnet/minecraft/client/MinecraftClient;IZZ)V
-