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 efh
intermediary net/minecraft/class_481
named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
private static class
private static class
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final String
private static final Text
private boolean
(package private) static final SimpleInventory
private boolean
private CreativeInventoryListener
private static final int
private static final int
private static final int
private boolean
private float
private TextFieldWidget
private static int
private static final int
private static final String
private static final int
private static final Identifier
private static final int
Fields 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, y
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
charTyped
(char chr, int modifiers) Callback for when a character input has been captured.protected void
drawBackground
(MatrixStack matrices, float delta, int mouseX, int mouseY) protected void
drawForeground
(MatrixStack matrices, int mouseX, int mouseY) int
void
private boolean
protected void
init()
Called when a screen should be initialized.protected boolean
isClickInScrollbar
(double mouseX, double mouseY) protected boolean
isClickInTab
(ItemGroup group, double mouseX, double mouseY) protected boolean
isClickOutsideBounds
(double mouseX, double mouseY, int left, int top, int button) private boolean
boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.boolean
keyReleased
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.boolean
mouseClicked
(double mouseX, double mouseY, int button) Callback for when a mouse button down event has been captured.boolean
mouseDragged
(double mouseX, double mouseY, int button, double deltaX, double deltaY) Callback for when a mouse button drag event has been captured.boolean
mouseReleased
(double mouseX, double mouseY, int button) Callback for when a mouse button release event has been captured.boolean
mouseScrolled
(double mouseX, double mouseY, double amount) Callback for when a mouse button scroll event has been captured.static void
onHotbarKeyPress
(MinecraftClient client, int index, boolean restore, boolean save) protected void
onMouseClick
(@Nullable Slot slot, int slotId, int button, SlotActionType actionType) void
removed()
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) protected void
renderTabIcon
(MatrixStack matrices, ItemGroup group) protected boolean
renderTabTooltipIfHovered
(MatrixStack matrices, ItemGroup group, int mouseX, int mouseY) protected void
renderTooltip
(MatrixStack matrices, ItemStack stack, int x, int y) void
resize
(MinecraftClient client, int width, int height) private void
search()
private void
searchForTags
(String id) private void
setSelectedTab
(ItemGroup group) Methods inherited from class net.minecraft.client.gui.screen.ingame.AbstractInventoryScreen
hideStatusEffectHud
Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
close, drawMouseoverTooltip, drawSlotHighlight, getScreenHandler, handleHotbarKeyPressed, isPointWithinBounds, shouldPause, tick
Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, 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, sendMessage, sendMessage, shouldCloseOnEsc, updateNarrator, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods 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, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, focusOn, hoveredElement, setInitialFocus
-
Field Details
-
TEXTURE
- Mappings:
Namespace Name Mixin selector official z
Lefh;z:Lyt;
intermediary field_2893
Lnet/minecraft/class_481;field_2893:Lnet/minecraft/class_2960;
named TEXTURE
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TEXTURE:Lnet/minecraft/util/Identifier;
-
TAB_TEXTURE_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector official A
Lefh;A: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
- See Also:
- Mappings:
Namespace Name Mixin selector official B
Lefh;B: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 C
Lefh;C: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 D
Lefh;D: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 E
Lefh;E: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 F
Lefh;F: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 G
Lefh;G: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 H
Lefh;H: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
- Mappings:
Namespace Name Mixin selector official I
Lefh;I:Lawm;
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
- Mappings:
Namespace Name Mixin selector official J
Lefh;J:Lqk;
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 K
Lefh;K: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 int selectedTab- Mappings:
Namespace Name Mixin selector official L
Lefh;L:I
intermediary field_2896
Lnet/minecraft/class_481;field_2896:I
named selectedTab
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;selectedTab:I
-
scrollPosition
private float scrollPosition- Mappings:
Namespace Name Mixin selector official M
Lefh;M: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 N
Lefh;N:Z
intermediary field_2892
Lnet/minecraft/class_481;field_2892:Z
named scrolling
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrolling:Z
-
searchBox
- Mappings:
Namespace Name Mixin selector official O
Lefh;O:Leam;
intermediary field_2894
Lnet/minecraft/class_481;field_2894:Lnet/minecraft/class_342;
named searchBox
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
slots
- Mappings:
Namespace Name Mixin selector official P
Lefh;P: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
- Mappings:
Namespace Name Mixin selector official Q
Lefh;Q:Lbsg;
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
- Mappings:
Namespace Name Mixin selector official R
Lefh;R:Lefg;
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 S
Lefh;S: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 T
Lefh;T:Z
intermediary field_2887
Lnet/minecraft/class_481;field_2887:Z
named lastClickOutsideBounds
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;lastClickOutsideBounds:Z
-
searchResultTags
- Mappings:
Namespace Name Mixin selector official U
Lefh;U: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;
-
-
Constructor Details
-
CreativeInventoryScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lefh;<init>(Lboj;)V
intermediary <init>
Lnet/minecraft/class_481;<init>(Lnet/minecraft/class_1657;)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;<init>(Lnet/minecraft/entity/player/PlayerEntity;)V
-
-
Method Details
-
handledScreenTick
public void handledScreenTick()- Overrides:
handledScreenTick
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector official h
Leeu;h()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 classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leeu;a(Lbsg;IILbqy;)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
- Mappings:
Namespace Name Mixin selector official a
Lefh;a(Lbsg;)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.
- Overrides:
init
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector official b
Ledw;b()V
intermediary method_25426
Lnet/minecraft/class_437;method_25426()V
named init
Lnet/minecraft/client/gui/screen/Screen;init()V
-
resize
-
removed
public void removed()- Overrides:
removed
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector official e
Ledw;e()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 inGLFW
class.- Parameters:
chr
- the captured charactermodifiers
- 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
Lebd;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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lebd;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 inGLFW
class.- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lebd;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 x
Lefh;x()V
intermediary method_2464
Lnet/minecraft/class_481;method_2464()V
named search
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;search()V
-
searchForTags
- Mappings:
Namespace Name Mixin selector official b
Lefh;b(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
- Overrides:
drawForeground
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector official b
Leeu;b(Ldtm;II)V
intermediary method_2388
Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_4587;II)V
named drawForeground
Lnet/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 inGLFW
class.- Specified by:
mouseClicked
in interfaceElement
- Specified by:
mouseClicked
in interfaceParentElement
- Overrides:
mouseClicked
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lebd;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 inGLFW
class.- Specified by:
mouseReleased
in interfaceElement
- Specified by:
mouseReleased
in interfaceParentElement
- Overrides:
mouseReleased
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousebutton
- the mouse button number- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lebd;c(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 z
Lefh;z()Z
intermediary method_2465
Lnet/minecraft/class_481;method_2465()Z
named hasScrollbar
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;hasScrollbar()Z
-
setSelectedTab
- Mappings:
Namespace Name Mixin selector official a
Lefh;a(Lbtm;)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 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< 0
if scrolled down,> 0
if scrolled up- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lebd;a(DDD)Z
intermediary method_25401
Lnet/minecraft/class_364;method_25401(DDD)Z
named mouseScrolled
Lnet/minecraft/client/gui/Element;mouseScrolled(DDD)Z
-
isClickOutsideBounds
protected boolean isClickOutsideBounds(double mouseX, double mouseY, int left, int top, int button) - Overrides:
isClickOutsideBounds
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector official a
Leeu;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
Lefh;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 inGLFW
class.- Specified by:
mouseDragged
in interfaceElement
- Specified by:
mouseDragged
in interfaceParentElement
- Overrides:
mouseDragged
in 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lebd;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
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classAbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector official a
Leba;a(Ldtm;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
renderTooltip
- Overrides:
renderTooltip
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Ledw;a(Ldtm;Lbuw;II)V
intermediary method_25409
Lnet/minecraft/class_437;method_25409(Lnet/minecraft/class_4587;Lnet/minecraft/class_1799;II)V
named renderTooltip
Lnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/item/ItemStack;II)V
-
drawBackground
- Specified by:
drawBackground
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector official a
Leeu;a(Ldtm;FII)V
intermediary method_2389
Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_4587;FII)V
named drawBackground
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/util/math/MatrixStack;FII)V
-
isClickInTab
- Mappings:
Namespace Name Mixin selector official a
Lefh;a(Lbtm;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(MatrixStack matrices, ItemGroup group, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector official a
Lefh;a(Ldtm;Lbtm;II)Z
intermediary method_2471
Lnet/minecraft/class_481;method_2471(Lnet/minecraft/class_4587;Lnet/minecraft/class_1761;II)Z
named renderTabTooltipIfHovered
Lnet/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 a
Lefh;a(Ldtm;Lbtm;)V
intermediary method_2468
Lnet/minecraft/class_481;method_2468(Lnet/minecraft/class_4587;Lnet/minecraft/class_1761;)V
named renderTabIcon
Lnet/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 w
Lefh;w()I
intermediary method_2469
Lnet/minecraft/class_481;method_2469()I
named getSelectedTab
Lnet/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 a
Lefh;a(Ldyr;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
-