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.AbstractInventoryScreen<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 AbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreenintermediary net/minecraft/class_481official fon
-
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 Textprivate boolean(package private) static final SimpleInventoryprivate booleanprivate CreativeInventoryListenerprivate final booleanprivate static final intprivate static final intprivate static final intprivate static final Identifierprivate static final Identifierprivate booleanprivate floatprivate TextFieldWidgetprivate static ItemGroupprivate static final Identifier[]private static final Identifier[]private static final intprivate static final Stringprivate static final Identifier[]private static final Identifier[]private static final intprivate 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, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsConstructorDescriptionCreativeInventoryScreen(ClientPlayerEntity player, FeatureSet enabledFeatures, boolean operatorTabEnabled) -
Method Summary
Modifier and TypeMethodDescriptionbooleancharTyped(char chr, int modifiers) Callback for when a character input has been captured.protected voiddrawBackground(DrawContext context, float delta, int mouseX, int mouseY) protected voiddrawForeground(DrawContext context, int mouseX, int mouseY) private intprivate intgetTooltipFromItem(ItemStack stack) voidprivate 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 booleanbooleanbooleankeyPressed(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 horizontalAmount, double verticalAmount) 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) private booleanpopulateDisplay(@Nullable SearchManager searchManager, FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registryLookup) private voidrefreshSelectedTab(Collection<ItemStack> displayStacks) voidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float delta) protected voidrenderTabIcon(DrawContext context, ItemGroup group) protected booleanrenderTabTooltipIfHovered(DrawContext context, ItemGroup group, int mouseX, int mouseY) voidresize(MinecraftClient client, int width, int height) private voidsearch()private voidsearchForTags(String id) private voidsetSelectedTab(ItemGroup group) private booleanshouldShowOperatorTab(PlayerEntity player) private voidupdateDisplayParameters(FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registryLookup) Methods inherited from class net.minecraft.client.gui.screen.ingame.AbstractInventoryScreen
hideStatusEffectHudMethods inherited from class net.minecraft.client.gui.screen.ingame.HandledScreen
close, drawMouseoverTooltip, drawSlot, drawSlotHighlight, endTouchDrag, getScreenHandler, handleHotbarKeyPressed, isPointWithinBounds, onSlotChangedState, renderBackground, shouldPause, tickMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getPanoramaTickDelta, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods 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.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
getFocusedPath, getNavigationPath, hoveredElement, isFocused, setFocused
-
Field Details
-
SCROLLER_TEXTURE
- Mappings:
Namespace Name Mixin selector named SCROLLER_TEXTURELnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLER_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45459Lnet/minecraft/class_481;field_45459:Lnet/minecraft/class_2960;official DLfon;D:Lakk;
-
SCROLLER_DISABLED_TEXTURE
- Mappings:
Namespace Name Mixin selector named SCROLLER_DISABLED_TEXTURELnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLER_DISABLED_TEXTURE:Lnet/minecraft/util/Identifier;intermediary field_45460Lnet/minecraft/class_481;field_45460:Lnet/minecraft/class_2960;official ELfon;E:Lakk;
-
TAB_TOP_UNSELECTED_TEXTURES
- Mappings:
Namespace Name Mixin selector named TAB_TOP_UNSELECTED_TEXTURESLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_TOP_UNSELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;intermediary field_45461Lnet/minecraft/class_481;field_45461:[Lnet/minecraft/class_2960;official FLfon;F:[Lakk;
-
TAB_TOP_SELECTED_TEXTURES
- Mappings:
Namespace Name Mixin selector named TAB_TOP_SELECTED_TEXTURESLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_TOP_SELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;intermediary field_45456Lnet/minecraft/class_481;field_45456:[Lnet/minecraft/class_2960;official GLfon;G:[Lakk;
-
TAB_BOTTOM_UNSELECTED_TEXTURES
- Mappings:
Namespace Name Mixin selector named TAB_BOTTOM_UNSELECTED_TEXTURESLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_BOTTOM_UNSELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;intermediary field_45457Lnet/minecraft/class_481;field_45457:[Lnet/minecraft/class_2960;official HLfon;H:[Lakk;
-
TAB_BOTTOM_SELECTED_TEXTURES
- Mappings:
Namespace Name Mixin selector named TAB_BOTTOM_SELECTED_TEXTURESLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_BOTTOM_SELECTED_TEXTURES:[Lnet/minecraft/util/Identifier;intermediary field_45458Lnet/minecraft/class_481;field_45458:[Lnet/minecraft/class_2960;official ILfon;I:[Lakk;
-
TAB_TEXTURE_PREFIX
- See Also:
- Mappings:
Namespace Name Mixin selector named TAB_TEXTURE_PREFIXLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_TEXTURE_PREFIX:Ljava/lang/String;intermediary field_32335Lnet/minecraft/class_481;field_32335:Ljava/lang/String;official JLfon;J:Ljava/lang/String;
-
ROWS_COUNT
private static final int ROWS_COUNT- See Also:
- Mappings:
Namespace Name Mixin selector named ROWS_COUNTLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;ROWS_COUNT:Iintermediary field_32337Lnet/minecraft/class_481;field_32337:Iofficial KLfon;K:I
-
COLUMNS_COUNT
private static final int COLUMNS_COUNT- See Also:
- Mappings:
Namespace Name Mixin selector named COLUMNS_COUNTLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;COLUMNS_COUNT:Iintermediary field_32338Lnet/minecraft/class_481;field_32338:Iofficial LLfon;L:I
-
TAB_WIDTH
private static final int TAB_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named TAB_WIDTHLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_WIDTH:Iintermediary field_32339Lnet/minecraft/class_481;field_32339:Iofficial MLfon;M:I
-
TAB_HEIGHT
private static final int TAB_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named TAB_HEIGHTLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;TAB_HEIGHT:Iintermediary field_32340Lnet/minecraft/class_481;field_32340:Iofficial NLfon;N:I
-
SCROLLBAR_WIDTH
private static final int SCROLLBAR_WIDTH- See Also:
- Mappings:
Namespace Name Mixin selector named SCROLLBAR_WIDTHLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLBAR_WIDTH:Iintermediary field_32341Lnet/minecraft/class_481;field_32341:Iofficial OLfon;O:I
-
SCROLLBAR_HEIGHT
private static final int SCROLLBAR_HEIGHT- See Also:
- Mappings:
Namespace Name Mixin selector named SCROLLBAR_HEIGHTLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;SCROLLBAR_HEIGHT:Iintermediary field_32342Lnet/minecraft/class_481;field_32342:Iofficial PLfon;P:I
-
INVENTORY
- Mappings:
Namespace Name Mixin selector named INVENTORYLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;INVENTORY:Lnet/minecraft/inventory/SimpleInventory;intermediary field_2895Lnet/minecraft/class_481;field_2895:Lnet/minecraft/class_1277;official QLfon;Q:Lbqp;
-
DELETE_ITEM_SLOT_TEXT
- Mappings:
Namespace Name Mixin selector named DELETE_ITEM_SLOT_TEXTLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;DELETE_ITEM_SLOT_TEXT:Lnet/minecraft/text/Text;intermediary field_26563Lnet/minecraft/class_481;field_26563:Lnet/minecraft/class_2561;official RLfon;R:Lwu;
-
WHITE
private static final int WHITE- See Also:
- Mappings:
Namespace Name Mixin selector named WHITELnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;WHITE:Iintermediary field_32343Lnet/minecraft/class_481;field_32343:Iofficial SLfon;S:I
-
selectedTab
- Mappings:
Namespace Name Mixin selector named selectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;selectedTab:Lnet/minecraft/item/ItemGroup;intermediary field_2896Lnet/minecraft/class_481;field_2896:Lnet/minecraft/class_1761;official TLfon;T:Lcsn;
-
scrollPosition
private float scrollPosition- Mappings:
Namespace Name Mixin selector named scrollPositionLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrollPosition:Fintermediary field_2890Lnet/minecraft/class_481;field_2890:Fofficial ULfon;U:F
-
scrolling
private boolean scrolling- Mappings:
Namespace Name Mixin selector named scrollingLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrolling:Zintermediary field_2892Lnet/minecraft/class_481;field_2892:Zofficial VLfon;V:Z
-
searchBox
- Mappings:
Namespace Name Mixin selector named searchBoxLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_2894Lnet/minecraft/class_481;field_2894:Lnet/minecraft/class_342;official WLfon;W:Lfib;
-
slots
- Mappings:
Namespace Name Mixin selector named slotsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;slots:Ljava/util/List;intermediary field_2886Lnet/minecraft/class_481;field_2886:Ljava/util/List;official XLfon;X:Ljava/util/List;
-
deleteItemSlot
- Mappings:
Namespace Name Mixin selector named deleteItemSlotLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;deleteItemSlot:Lnet/minecraft/screen/slot/Slot;intermediary field_2889Lnet/minecraft/class_481;field_2889:Lnet/minecraft/class_1735;official YLfon;Y:Lcrd;
-
listener
- Mappings:
Namespace Name Mixin selector named listenerLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;listener:Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryListener;intermediary field_2891Lnet/minecraft/class_481;field_2891:Lnet/minecraft/class_478;official ZLfon;Z:Lfom;
-
ignoreTypedCharacter
private boolean ignoreTypedCharacter- Mappings:
Namespace Name Mixin selector named ignoreTypedCharacterLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;ignoreTypedCharacter:Zintermediary field_2888Lnet/minecraft/class_481;field_2888:Zofficial aaLfon;aa:Z
-
lastClickOutsideBounds
private boolean lastClickOutsideBounds- Mappings:
Namespace Name Mixin selector named lastClickOutsideBoundsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;lastClickOutsideBounds:Zintermediary field_2887Lnet/minecraft/class_481;field_2887:Zofficial abLfon;ab:Z
-
searchResultTags
- Mappings:
Namespace Name Mixin selector named searchResultTagsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchResultTags:Ljava/util/Set;intermediary field_16201Lnet/minecraft/class_481;field_16201:Ljava/util/Set;official acLfon;ac:Ljava/util/Set;
-
operatorTabEnabled
private final boolean operatorTabEnabled- Mappings:
Namespace Name Mixin selector named operatorTabEnabledLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;operatorTabEnabled:Zintermediary field_41112Lnet/minecraft/class_481;field_41112:Zofficial adLfon;ad:Z
-
-
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)Vintermediary <init>Lnet/minecraft/class_481;<init>(Lnet/minecraft/class_746;Lnet/minecraft/class_7699;Z)Vofficial <init>Lfon;<init>(Lgdf;Lcoy;Z)V
-
-
Method Details
-
shouldShowOperatorTab
- Mappings:
Namespace Name Mixin selector named shouldShowOperatorTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;shouldShowOperatorTab(Lnet/minecraft/entity/player/PlayerEntity;)Zintermediary method_47419Lnet/minecraft/class_481;method_47419(Lnet/minecraft/class_1657;)Zofficial aLfon;a(Lcmk;)Z
-
updateDisplayParameters
private void updateDisplayParameters(FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registryLookup) - Mappings:
Namespace Name Mixin selector named updateDisplayParametersLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;updateDisplayParameters(Lnet/minecraft/resource/featuretoggle/FeatureSet;ZLnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Vintermediary method_47420Lnet/minecraft/class_481;method_47420(Lnet/minecraft/class_7699;ZLnet/minecraft/class_7225$class_7874;)Vofficial aLfon;a(Lcoy;ZLjl$a;)V
-
populateDisplay
private boolean populateDisplay(@Nullable @Nullable SearchManager searchManager, FeatureSet enabledFeatures, boolean showOperatorTab, RegistryWrapper.WrapperLookup registryLookup) - Mappings:
Namespace Name Mixin selector named populateDisplayLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;populateDisplay(Lnet/minecraft/client/search/SearchManager;Lnet/minecraft/resource/featuretoggle/FeatureSet;ZLnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Zintermediary method_60324Lnet/minecraft/class_481;method_60324(Lnet/minecraft/class_1124;Lnet/minecraft/class_7699;ZLnet/minecraft/class_7225$class_7874;)Zofficial aLfon;a(Lfza;Lcoy;ZLjl$a;)Z
-
refreshSelectedTab
- Mappings:
Namespace Name Mixin selector named refreshSelectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;refreshSelectedTab(Ljava/util/Collection;)Vintermediary method_47421Lnet/minecraft/class_481;method_47421(Ljava/util/Collection;)Vofficial aLfon;a(Ljava/util/Collection;)V
-
handledScreenTick
public void handledScreenTick()- Overrides:
handledScreenTickin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector named handledScreenTickLnet/minecraft/client/gui/screen/ingame/HandledScreen;handledScreenTick()Vintermediary method_37432Lnet/minecraft/class_465;method_37432()Vofficial ELfny;E()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 named onMouseClickLnet/minecraft/client/gui/screen/ingame/HandledScreen;onMouseClick(Lnet/minecraft/screen/slot/Slot;IILnet/minecraft/screen/slot/SlotActionType;)Vintermediary method_2383Lnet/minecraft/class_465;method_2383(Lnet/minecraft/class_1735;IILnet/minecraft/class_1713;)Vofficial aLfny;a(Lcrd;IILcpr;)V
-
isCreativeInventorySlot
- Mappings:
Namespace Name Mixin selector named isCreativeInventorySlotLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isCreativeInventorySlot(Lnet/minecraft/screen/slot/Slot;)Zintermediary method_2470Lnet/minecraft/class_481;method_2470(Lnet/minecraft/class_1735;)Zofficial aLfon;a(Lcrd;)Z
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
Screen.setInitialFocus()to set the element that is initially focused.- Overrides:
initin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector named initLnet/minecraft/client/gui/screen/Screen;init()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vofficial aP_Lfnj;aP_()V
-
resize
-
removed
public void removed()- Overrides:
removedin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector named removedLnet/minecraft/client/gui/screen/Screen;removed()Vintermediary method_25432Lnet/minecraft/class_437;method_25432()Vofficial jLfnj;j()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 named charTypedLnet/minecraft/client/gui/Element;charTyped(CI)Zintermediary method_25400Lnet/minecraft/class_364;method_25400(CI)Zofficial aLfjo;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 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 named keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Zofficial aLfjo;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 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 named keyReleasedLnet/minecraft/client/gui/Element;keyReleased(III)Zintermediary method_16803Lnet/minecraft/class_364;method_16803(III)Zofficial cLfjo;c(III)Z
-
search
private void search()- Mappings:
Namespace Name Mixin selector named searchLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;search()Vintermediary method_2464Lnet/minecraft/class_481;method_2464()Vofficial JLfon;J()V
-
searchForTags
- Mappings:
Namespace Name Mixin selector named searchForTagsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchForTags(Ljava/lang/String;)Vintermediary method_15871Lnet/minecraft/class_481;method_15871(Ljava/lang/String;)Vofficial aLfon;a(Ljava/lang/String;)V
-
drawForeground
- Overrides:
drawForegroundin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector named drawForegroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawForeground(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_2388Lnet/minecraft/class_465;method_2388(Lnet/minecraft/class_332;II)Vofficial bLfny;b(Lfhf;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 named mouseClickedLnet/minecraft/client/gui/Element;mouseClicked(DDI)Zintermediary method_25402Lnet/minecraft/class_364;method_25402(DDI)Zofficial aLfjo;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 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 named mouseReleasedLnet/minecraft/client/gui/Element;mouseReleased(DDI)Zintermediary method_25406Lnet/minecraft/class_364;method_25406(DDI)Zofficial bLfjo;b(DDI)Z
-
hasScrollbar
private boolean hasScrollbar()- Mappings:
Namespace Name Mixin selector named hasScrollbarLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;hasScrollbar()Zintermediary method_2465Lnet/minecraft/class_481;method_2465()Zofficial LLfon;L()Z
-
setSelectedTab
- Mappings:
Namespace Name Mixin selector named setSelectedTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;setSelectedTab(Lnet/minecraft/item/ItemGroup;)Vintermediary method_2466Lnet/minecraft/class_481;method_2466(Lnet/minecraft/class_1761;)Vofficial aLfon;a(Lcsn;)V
-
mouseScrolled
public boolean mouseScrolled(double mouseX, double mouseY, double horizontalAmount, double verticalAmount) Callback for when a mouse button scroll event has been captured.- Parameters:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousehorizontalAmount- the horizontal scroll amountverticalAmount- the vertical scroll amount- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named mouseScrolledLnet/minecraft/client/gui/Element;mouseScrolled(DDDD)Zintermediary method_25401Lnet/minecraft/class_364;method_25401(DDDD)Zofficial aLfjo;a(DDDD)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 named isClickOutsideBoundsLnet/minecraft/client/gui/screen/ingame/HandledScreen;isClickOutsideBounds(DDIII)Zintermediary method_2381Lnet/minecraft/class_465;method_2381(DDIII)Zofficial aLfny;a(DDIII)Z
-
isClickInScrollbar
protected boolean isClickInScrollbar(double mouseX, double mouseY) - Mappings:
Namespace Name Mixin selector named isClickInScrollbarLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isClickInScrollbar(DD)Zintermediary method_2467Lnet/minecraft/class_481;method_2467(DD)Zofficial bLfon;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 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 named mouseDraggedLnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Zintermediary method_25403Lnet/minecraft/class_364;method_25403(DDIDD)Zofficial aLfjo;a(DDIDD)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classAbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfiv;a(Lfhf;IIF)V
-
getTooltipFromItem
- Overrides:
getTooltipFromItemin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector named getTooltipFromItemLnet/minecraft/client/gui/screen/ingame/HandledScreen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;intermediary method_51454Lnet/minecraft/class_465;method_51454(Lnet/minecraft/class_1799;)Ljava/util/List;official aLfny;a(Lcuc;)Ljava/util/List;
-
drawBackground
- Specified by:
drawBackgroundin classHandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector named drawBackgroundLnet/minecraft/client/gui/screen/ingame/HandledScreen;drawBackground(Lnet/minecraft/client/gui/DrawContext;FII)Vintermediary method_2389Lnet/minecraft/class_465;method_2389(Lnet/minecraft/class_332;FII)Vofficial aLfny;a(Lfhf;FII)V
-
getTabX
- Mappings:
Namespace Name Mixin selector named getTabXLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getTabX(Lnet/minecraft/item/ItemGroup;)Iintermediary method_47422Lnet/minecraft/class_481;method_47422(Lnet/minecraft/class_1761;)Iofficial bLfon;b(Lcsn;)I
-
getTabY
- Mappings:
Namespace Name Mixin selector named getTabYLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;getTabY(Lnet/minecraft/item/ItemGroup;)Iintermediary method_47423Lnet/minecraft/class_481;method_47423(Lnet/minecraft/class_1761;)Iofficial cLfon;c(Lcsn;)I
-
isClickInTab
- Mappings:
Namespace Name Mixin selector named isClickInTabLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isClickInTab(Lnet/minecraft/item/ItemGroup;DD)Zintermediary method_2463Lnet/minecraft/class_481;method_2463(Lnet/minecraft/class_1761;DD)Zofficial aLfon;a(Lcsn;DD)Z
-
renderTabTooltipIfHovered
protected boolean renderTabTooltipIfHovered(DrawContext context, ItemGroup group, int mouseX, int mouseY) - Mappings:
Namespace Name Mixin selector named renderTabTooltipIfHoveredLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabTooltipIfHovered(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemGroup;II)Zintermediary method_2471Lnet/minecraft/class_481;method_2471(Lnet/minecraft/class_332;Lnet/minecraft/class_1761;II)Zofficial aLfon;a(Lfhf;Lcsn;II)Z
-
renderTabIcon
- Mappings:
Namespace Name Mixin selector named renderTabIconLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;renderTabIcon(Lnet/minecraft/client/gui/DrawContext;Lnet/minecraft/item/ItemGroup;)Vintermediary method_2468Lnet/minecraft/class_481;method_2468(Lnet/minecraft/class_332;Lnet/minecraft/class_1761;)Vofficial aLfon;a(Lfhf;Lcsn;)V
-
isInventoryTabSelected
public boolean isInventoryTabSelected()- Mappings:
Namespace Name Mixin selector named isInventoryTabSelectedLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;isInventoryTabSelected()Zintermediary method_47424Lnet/minecraft/class_481;method_47424()Zofficial GLfon;G()Z
-
onHotbarKeyPress
public static void onHotbarKeyPress(MinecraftClient client, int index, boolean restore, boolean save) - Mappings:
Namespace Name Mixin selector named onHotbarKeyPressLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;onHotbarKeyPress(Lnet/minecraft/client/MinecraftClient;IZZ)Vintermediary method_2462Lnet/minecraft/class_481;method_2462(Lnet/minecraft/class_310;IZZ)Vofficial aLfon;a(Lfft;IZZ)V
-