Class CreativeInventoryScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
net.minecraft.client.gui.screen.ingame.CreativeInventoryScreen
- All Implemented Interfaces:
Drawable
,Element
,Navigable
,ParentElement
,ScreenHandlerProvider<CreativeInventoryScreen.CreativeScreenHandler>
@Environment(CLIENT)
public class CreativeInventoryScreen
extends HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen
intermediary net/minecraft/class_481
official fvc
-
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 Text
private boolean
(package private) static final SimpleInventory
private boolean
private CreativeInventoryListener
private final boolean
private static final int
private static final int
private static final int
private static final Identifier
private static final Identifier
private boolean
private float
private TextFieldWidget
private static ItemGroup
private final StatusEffectsDisplay
private static final Identifier[]
private static final Identifier[]
private static final int
private static final Identifier[]
private static final Identifier[]
private static final int
private static final int
Fields inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, field_32322, field_52802, field_52803, focusedSlot, handler, playerInventoryTitle, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY, x, y
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorDescriptionCreativeInventoryScreen
(ClientPlayerEntity player, FeatureSet enabledFeatures, boolean operatorTabEnabled) -
Method Summary
Modifier and TypeMethodDescriptionboolean
charTyped
(char chr, int modifiers) Callback for when a character input has been captured.protected void
drawBackground
(DrawContext context, float delta, int mouseX, int mouseY) protected void
drawForeground
(DrawContext context, int mouseX, int mouseY) private int
private int
getTooltipFromItem
(ItemStack stack) 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
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 horizontalAmount, double verticalAmount) 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) private boolean
populateDisplay
(@Nullable SearchManager searchManager, FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registries) private void
refreshSelectedTab
(Collection<ItemStack> displayStacks) void
removed()
void
render
(DrawContext context, int mouseX, int mouseY, float delta) protected void
renderTabIcon
(DrawContext context, ItemGroup group) protected boolean
renderTabTooltipIfHovered
(DrawContext context, ItemGroup group, int mouseX, int mouseY) void
resize
(MinecraftClient client, int width, int height) private void
search()
private void
searchForTags
(String id) private void
setSelectedTab
(ItemGroup group) boolean
private boolean
shouldShowOperatorTab
(PlayerEntity player) private void
updateDisplayParameters
(FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registries) Methods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
addTooltipSubmenuHandler, close, drawMouseoverTooltip, drawSlot, drawSlots, endTouchDrag, getScreenHandler, handleHotbarKeyPressed, isPointWithinBounds, onMouseClick, onSlotChangedState, renderBackground, shouldPause, tick
Methods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, refreshWidgetPositions, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
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.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
getFocusedPath, getNavigationPath, hoveredElement, isFocused, setFocused
-
Field Details
-
SCROLLER_TEXTURE
- Mappings:
Namespace Name Mixin selector named SCROLLER_TEXTURE
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLER_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45459
Lnet/minecraft/class_481;field_45459:Lnet/minecraft/class_2960;
official G
Lfvc;G:Lalz;
-
SCROLLER_DISABLED_TEXTURE
- Mappings:
Namespace Name Mixin selector named SCROLLER_DISABLED_TEXTURE
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLER_DISABLED_TEXTURE:Lnet/minecraft/util/Identifier;
intermediary field_45460
Lnet/minecraft/class_481;field_45460:Lnet/minecraft/class_2960;
official H
Lfvc;H:Lalz;
-
TAB_TOP_UNSELECTED_TEXTURES
- Mappings:
Namespace Name Mixin selector named TAB_TOP_UNSELECTED_TEXTURES
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_TOP_UNSELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;
intermediary field_45461
Lnet/minecraft/class_481;field_45461:[Lnet/minecraft/class_2960;
official I
Lfvc;I:[Lalz;
-
TAB_TOP_SELECTED_TEXTURES
- Mappings:
Namespace Name Mixin selector named TAB_TOP_SELECTED_TEXTURES
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_TOP_SELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;
intermediary field_45456
Lnet/minecraft/class_481;field_45456:[Lnet/minecraft/class_2960;
official J
Lfvc;J:[Lalz;
-
TAB_BOTTOM_UNSELECTED_TEXTURES
- Mappings:
Namespace Name Mixin selector named TAB_BOTTOM_UNSELECTED_TEXTURES
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_BOTTOM_UNSELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;
intermediary field_45457
Lnet/minecraft/class_481;field_45457:[Lnet/minecraft/class_2960;
official K
Lfvc;K:[Lalz;
-
TAB_BOTTOM_SELECTED_TEXTURES
- Mappings:
Namespace Name Mixin selector named TAB_BOTTOM_SELECTED_TEXTURES
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_BOTTOM_SELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;
intermediary field_45458
Lnet/minecraft/class_481;field_45458:[Lnet/minecraft/class_2960;
official L
Lfvc;L:[Lalz;
-
ROWS_COUNT
private static final int ROWS_COUNT- See Also:
- Mappings:
Namespace Name Mixin selector named ROWS_COUNT
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;ROWS_COUNT:I
intermediary field_32337
Lnet/minecraft/class_481;field_32337:I
official M
Lfvc;M:I
-
COLUMNS_COUNT
private static final int COLUMNS_COUNT- See Also:
- Mappings:
Namespace Name Mixin selector named COLUMNS_COUNT
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;COLUMNS_COUNT:I
intermediary field_32338
Lnet/minecraft/class_481;field_32338:I
official N
Lfvc;N:I
-
TAB_WIDTH
private static final int TAB_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named TAB_WIDTH
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_WIDTH:I
intermediary field_32339
Lnet/minecraft/class_481;field_32339:I
official O
Lfvc;O:I
-
TAB_HEIGHT
private static final int TAB_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named TAB_HEIGHT
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_HEIGHT:I
intermediary field_32340
Lnet/minecraft/class_481;field_32340:I
official P
Lfvc;P:I
-
SCROLLBAR_WIDTH
private static final int SCROLLBAR_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named SCROLLBAR_WIDTH
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLBAR_WIDTH:I
intermediary field_32341
Lnet/minecraft/class_481;field_32341:I
official Q
Lfvc;Q:I
-
SCROLLBAR_HEIGHT
private static final int SCROLLBAR_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named SCROLLBAR_HEIGHT
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLBAR_HEIGHT:I
intermediary field_32342
Lnet/minecraft/class_481;field_32342:I
official R
Lfvc;R:I
-
INVENTORY
- Mappings:
Namespace Name Mixin selector named INVENTORY
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;INVENTORY:Lnet/minecraft/inventory/SimpleInventory;
intermediary field_2895
Lnet/minecraft/class_481;field_2895:Lnet/minecraft/class_1277;
official S
Lfvc;S:Lbtp;
-
DELETE_ITEM_SLOT_TEXT
- Mappings:
Namespace Name Mixin selector named DELETE_ITEM_SLOT_TEXT
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;DELETE_ITEM_SLOT_TEXT:Lnet/minecraft/text/Text;
intermediary field_26563
Lnet/minecraft/class_481;field_26563:Lnet/minecraft/class_2561;
official T
Lfvc;T:Lxv;
-
WHITE
private static final int WHITE- See Also:
- Mappings:
Namespace Name Mixin selector named WHITE
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;WHITE:I
intermediary field_32343
Lnet/minecraft/class_481;field_32343:I
official U
Lfvc;U:I
-
selectedTab
- Mappings:
Namespace Name Mixin selector named selectedTab
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;selectedTab:Lnet/minecraft/item/ItemGroup;
intermediary field_2896
Lnet/minecraft/class_481;field_2896:Lnet/minecraft/class_1761;
official V
Lfvc;V:Lcwd;
-
scrollPosition
private float scrollPosition- Mappings:
Namespace Name Mixin selector named scrollPosition
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrollPosition:F
intermediary field_2890
Lnet/minecraft/class_481;field_2890:F
official W
Lfvc;W:F
-
scrolling
private boolean scrolling- Mappings:
Namespace Name Mixin selector named scrolling
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrolling:Z
intermediary field_2892
Lnet/minecraft/class_481;field_2892:Z
official X
Lfvc;X:Z
-
searchBox
- Mappings:
Namespace Name Mixin selector named searchBox
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
intermediary field_2894
Lnet/minecraft/class_481;field_2894:Lnet/minecraft/class_342;
official Y
Lfvc;Y:Lfon;
-
slots
- Mappings:
Namespace Name Mixin selector named slots
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;slots:Ljava/util/List;
intermediary field_2886
Lnet/minecraft/class_481;field_2886:Ljava/util/List;
official Z
Lfvc;Z:Ljava/util/List;
-
deleteItemSlot
- Mappings:
Namespace Name Mixin selector named deleteItemSlot
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;deleteItemSlot:Lnet/minecraft/screen/slot/Slot;
intermediary field_2889
Lnet/minecraft/class_481;field_2889:Lnet/minecraft/class_1735;
official aa
Lfvc;aa:Lcuy;
-
listener
- Mappings:
Namespace Name Mixin selector named listener
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;listener:Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryListener;
intermediary field_2891
Lnet/minecraft/class_481;field_2891:Lnet/minecraft/class_478;
official ab
Lfvc;ab:Lfvb;
-
ignoreTypedCharacter
private boolean ignoreTypedCharacter- Mappings:
Namespace Name Mixin selector named ignoreTypedCharacter
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;ignoreTypedCharacter:Z
intermediary field_2888
Lnet/minecraft/class_481;field_2888:Z
official ac
Lfvc;ac:Z
-
lastClickOutsideBounds
private boolean lastClickOutsideBounds- Mappings:
Namespace Name Mixin selector named lastClickOutsideBounds
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;lastClickOutsideBounds:Z
intermediary field_2887
Lnet/minecraft/class_481;field_2887:Z
official ad
Lfvc;ad:Z
-
searchResultTags
- Mappings:
Namespace Name Mixin selector named searchResultTags
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchResultTags:Ljava/util/Set;
intermediary field_16201
Lnet/minecraft/class_481;field_16201:Ljava/util/Set;
official ae
Lfvc;ae:Ljava/util/Set;
-
operatorTabEnabled
private final boolean operatorTabEnabled- Mappings:
Namespace Name Mixin selector named operatorTabEnabled
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;operatorTabEnabled:Z
intermediary field_41112
Lnet/minecraft/class_481;field_41112:Z
official af
Lfvc;af:Z
-
statusEffectsDisplay
- Mappings:
Namespace Name Mixin selector named statusEffectsDisplay
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;statusEffectsDisplay:Lnet/minecraft/client/gui/screen/ingame/StatusEffectsDisplay;
intermediary field_54476
Lnet/minecraft/class_481;field_54476:Lnet/minecraft/class_485;
official ag
Lfvc;ag:Lfvf;
-
-
Constructor Details
-
CreativeInventoryScreen
public CreativeInventoryScreen(ClientPlayerEntity player, FeatureSet enabledFeatures, boolean operatorTabEnabled) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;<init>(Lnet/minecraft/client/network/ClientPlayerEntity;Lnet/minecraft/resource/featuretoggle/FeatureSet;Z)V
intermediary <init>
Lnet/minecraft/class_481;<init>(Lnet/minecraft/class_746;Lnet/minecraft/class_7699;Z)V
official <init>
Lfvc;<init>(Lgkg;Lcss;Z)V
-
-
Method Details
-
shouldShowOperatorTab
- Mappings:
Namespace Name Mixin selector named shouldShowOperatorTab
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;shouldShowOperatorTab(Lnet/minecraft/entity/player/PlayerEntity;)Z
intermediary method_47419
Lnet/minecraft/class_481;method_47419(Lnet/minecraft/class_1657;)Z
official a
Lfvc;a(Lcpw;)Z
-
updateDisplayParameters
private void updateDisplayParameters(FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registries) - Mappings:
Namespace Name Mixin selector named updateDisplayParameters
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;updateDisplayParameters(Lnet/minecraft/resource/featuretoggle/FeatureSet;ZLnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
intermediary method_47420
Lnet/minecraft/class_481;method_47420(Lnet/minecraft/class_7699;ZLnet/minecraft/class_7225$class_7874;)V
official a
Lfvc;a(Lcss;ZLjs$a;)V
-
populateDisplay
private boolean populateDisplay(@Nullable @Nullable SearchManager searchManager, FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registries) - Mappings:
Namespace Name Mixin selector named populateDisplay
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;populateDisplay(Lnet/minecraft/client/search/SearchManager;Lnet/minecraft/resource/featuretoggle/FeatureSet;ZLnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Z
intermediary method_60324
Lnet/minecraft/class_481;method_60324(Lnet/minecraft/class_1124;Lnet/minecraft/class_7699;ZLnet/minecraft/class_7225$class_7874;)Z
official a
Lfvc;a(Lggb;Lcss;ZLjs$a;)Z
-
refreshSelectedTab
- Mappings:
Namespace Name Mixin selector named refreshSelectedTab
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;refreshSelectedTab(Ljava/util/Collection;)V
intermediary method_47421
Lnet/minecraft/class_481;method_47421(Ljava/util/Collection;)V
official a
Lfvc;a(Ljava/util/Collection;)V
-
handledScreenTick
public void handledScreenTick()- Overrides:
handledScreenTick
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector named handledScreenTick
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()V
intermediary method_37432
Lnet/minecraft/class_465;method_37432()V
official E
Lfum;E()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 named onMouseClick
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)V
intermediary method_2383
Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)V
official a
Lfum;a(Lcuy;IILctm;)V
-
isCreativeInventorySlot
- Mappings:
Namespace Name Mixin selector named isCreativeInventorySlot
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isCreativeInventorySlot(Lnet/minecraft/screen/slot/Slot;)Z
intermediary method_2470
Lnet/minecraft/class_481;method_2470(Lnet/minecraft/class_1735;)Z
official a
Lfvc;a(Lcuy;)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 named init
Lnet/minecraft/client/gui/screen/Screen;init()V
intermediary method_25426
Lnet/minecraft/class_437;method_25426()V
official aT_
Lftx;aT_()V
-
resize
-
removed
public void removed()- Overrides:
removed
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector named removed
Lnet/minecraft/client/gui/screen/Screen;removed()V
intermediary method_25432
Lnet/minecraft/class_437;method_25432()V
official aJ_
Lftx;aJ_()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 named charTyped
Lnet/minecraft/client/gui/Element;charTyped(CI)Z
intermediary method_25400
Lnet/minecraft/class_364;method_25400(CI)Z
official a
Lfqc;a(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 named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
official a
Lfqc;a(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 named keyReleased
Lnet/minecraft/client/gui/Element;keyReleased(III)Z
intermediary method_16803
Lnet/minecraft/class_364;method_16803(III)Z
official c
Lfqc;c(III)Z
-
search
private void search()- Mappings:
Namespace Name Mixin selector named search
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;search()V
intermediary method_2464
Lnet/minecraft/class_481;method_2464()V
official J
Lfvc;J()V
-
searchForTags
- Mappings:
Namespace Name Mixin selector named searchForTags
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchForTags(Ljava/lang/String;)V
intermediary method_15871
Lnet/minecraft/class_481;method_15871(Ljava/lang/String;)V
official a
Lfvc;a(Ljava/lang/String;)V
-
drawForeground
- Overrides:
drawForeground
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector named drawForeground
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_2388
Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_332;II)V
official b
Lfum;b(Lfnr;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 named mouseClicked
Lnet/minecraft/client/gui/Element;mouseClicked(DDI)Z
intermediary method_25402
Lnet/minecraft/class_364;method_25402(DDI)Z
official a
Lfqc;a(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 named mouseReleased
Lnet/minecraft/client/gui/Element;mouseReleased(DDI)Z
intermediary method_25406
Lnet/minecraft/class_364;method_25406(DDI)Z
official b
Lfqc;b(DDI)Z
-
hasScrollbar
private boolean hasScrollbar()- Mappings:
Namespace Name Mixin selector named hasScrollbar
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;hasScrollbar()Z
intermediary method_2465
Lnet/minecraft/class_481;method_2465()Z
official K
Lfvc;K()Z
-
setSelectedTab
- Mappings:
Namespace Name Mixin selector named setSelectedTab
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;setSelectedTab(Lnet/minecraft/item/ItemGroup;)V
intermediary method_2466
Lnet/minecraft/class_481;method_2466(Lnet/minecraft/class_1761;)V
official a
Lfvc;a(Lcwd;)V
-
mouseScrolled
public boolean mouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.- Specified by:
mouseScrolled
in interfaceElement
- Specified by:
mouseScrolled
in interfaceParentElement
- Overrides:
mouseScrolled
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mousehorizontalAmount
- the horizontal scroll amountverticalAmount
- the vertical scroll amount- Returns:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseScrolled
Lnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Z
intermediary method_25401
Lnet/minecraft/class_364;method_25401(DDDD)Z
official a
Lfqc;a(DDDD)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 named isClickOutsideBounds
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;isClickOutsideBounds(DDIII)Z
intermediary method_2381
Lnet/minecraft/class_465;method_2381(DDIII)Z
official a
Lfum;a(DDIII)Z
-
isClickInScrollbar
protected boolean isClickInScrollbar(double mouseX, double mouseY) - Mappings:
Namespace Name Mixin selector named isClickInScrollbar
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isClickInScrollbar(DD)Z
intermediary method_2467
Lnet/minecraft/class_481;method_2467(DD)Z
official b
Lfvc;b(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 named mouseDragged
Lnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
intermediary method_25403
Lnet/minecraft/class_364;method_25403(DDIDD)Z
official a
Lfqc;a(DDIDD)Z
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
official a
Lfpi;a(Lfnr;IIF)V
-
shouldHideStatusEffectHud
public boolean shouldHideStatusEffectHud()- Overrides:
shouldHideStatusEffectHud
in classScreen
- Mappings:
Namespace Name Mixin selector named shouldHideStatusEffectHud
Lnet/minecraft/client/gui/screen/Screen;shouldHideStatusEffectHud()Z
intermediary method_64507
Lnet/minecraft/class_437;method_64507()Z
official C
Lftx;C()Z
-
getTooltipFromItem
- Overrides:
getTooltipFromItem
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector named getTooltipFromItem
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
intermediary method_51454
Lnet/minecraft/class_465;method_51454(Lnet/minecraft/class_1799;)Ljava/util/List;
official a
Lfum;a(Lcxo;)Ljava/util/List;
-
drawBackground
- Specified by:
drawBackground
in classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name Mixin selector named drawBackground
Lnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)V
intermediary method_2389
Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)V
official a
Lfum;a(Lfnr;FII)V
-
getTabX
- Mappings:
Namespace Name Mixin selector named getTabX
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getTabX(Lnet/minecraft/item/ItemGroup;)I
intermediary method_47422
Lnet/minecraft/class_481;method_47422(Lnet/minecraft/class_1761;)I
official b
Lfvc;b(Lcwd;)I
-
getTabY
- Mappings:
Namespace Name Mixin selector named getTabY
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getTabY(Lnet/minecraft/item/ItemGroup;)I
intermediary method_47423
Lnet/minecraft/class_481;method_47423(Lnet/minecraft/class_1761;)I
official c
Lfvc;c(Lcwd;)I
-
isClickInTab
- Mappings:
Namespace Name Mixin selector named isClickInTab
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isClickInTab(Lnet/minecraft/item/ItemGroup;DD)Z
intermediary method_2463
Lnet/minecraft/class_481;method_2463(Lnet/minecraft/class_1761;DD)Z
official a
Lfvc;a(Lcwd;DD)Z
-
renderTabTooltipIfHovered
protected boolean renderTabTooltipIfHovered(DrawContext context, ItemGroup group, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector named renderTabTooltipIfHovered
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabTooltipIfHovered(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemGroup;II)Z
intermediary method_2471
Lnet/minecraft/class_481;method_2471(Lnet/minecraft/class_332;Lnet/minecraft/class_1761;II)Z
official a
Lfvc;a(Lfnr;Lcwd;II)Z
-
renderTabIcon
- Mappings:
Namespace Name Mixin selector named renderTabIcon
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabIcon(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemGroup;)V
intermediary method_2468
Lnet/minecraft/class_481;method_2468(Lnet/minecraft/class_332;Lnet/minecraft/class_1761;)V
official a
Lfvc;a(Lfnr;Lcwd;)V
-
isInventoryTabSelected
public boolean isInventoryTabSelected()- Mappings:
Namespace Name Mixin selector named isInventoryTabSelected
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isInventoryTabSelected()Z
intermediary method_47424
Lnet/minecraft/class_481;method_47424()Z
official G
Lfvc;G()Z
-
onHotbarKeyPress
public static void onHotbarKeyPress(MinecraftClient client, int index, boolean restore, boolean save) - Mappings:
Namespace Name Mixin selector named onHotbarKeyPress
Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;onHotbarKeyPress(Lnet/minecraft/client/MinecraftClient;IZZ)V
intermediary method_2462
Lnet/minecraft/class_481;method_2462(Lnet/minecraft/class_310;IZZ)V
official a
Lfvc;a(Lfmf;IZZ)V
-