类 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
-
- 所有已实现的接口:
Drawable,Element,ParentElement,ScreenHandlerProvider<CreativeInventoryScreen.CreativeScreenHandler>,TickableElement
@Environment(CLIENT) public class CreativeInventoryScreen extends AbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>
- Mappings:
Namespace Name official eapintermediary net/minecraft/class_481named net/minecraft/client/gui/screen/ingame/CreativeInventoryScreen
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classCreativeInventoryScreen.CreativeScreenHandler(专用程序包) static classCreativeInventoryScreen.CreativeSlot(专用程序包) static classCreativeInventoryScreen.LockableSlot
-
字段概要
字段 修饰符和类型 字段 说明 private static TextDELETE_ITEM_SLOT_TEXTprivate @Nullable SlotdeleteItemSlotprivate static Stringfield_32335private static Stringfield_32336private static intfield_32337private static intfield_32338private static intfield_32339private static intfield_32340private static intfield_32341private static intfield_32342private static intfield_32343private booleanignoreTypedCharacterprivate static SimpleInventoryINVENTORYprivate booleanlastClickOutsideBoundsprivate CreativeInventoryListenerlistenerprivate booleanscrollingprivate floatscrollPositionprivate TextFieldWidgetsearchBoxprivate Map<Identifier,Tag<Item>>searchResultTagsprivate static intselectedTabprivate @Nullable List<Slot>slotsprivate static IdentifierTEXTURE-
从类继承的字段 net.minecraft.client.gui.screen.ingame.AbstractInventoryScreen
drawStatusEffects
-
从类继承的字段 net.minecraft.client.gui.screen.ingame.HandledScreen
BACKGROUND_TEXTURE, backgroundHeight, backgroundWidth, cursorDragging, cursorDragSlots, displayName, field_2776, field_2800, field_32322, focusedSlot, handler, playerInventoryTitleX, playerInventoryTitleY, titleX, titleY
-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 构造器 说明 CreativeInventoryScreen(PlayerEntity player)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidapplyStatusEffectOffset()booleancharTyped(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)intgetSelectedTab()private booleanhasScrollbar()protected 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 booleanisCreativeInventorySlot(@Nullable Slot slot)booleankeyPressed(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 int2, int int3)protected voidrenderTooltip(MatrixStack matrices, ItemStack stack, int x, int y)voidresize(MinecraftClient client, int width, int height)private voidsearch()private voidsearchForTags(String string)private voidsetSelectedTab(ItemGroup group)voidtick()-
从类继承的方法 net.minecraft.client.gui.screen.ingame.HandledScreen
drawMouseoverTooltip, getScreenHandler, handleHotbarKeyPressed, isPauseScreen, isPointWithinBounds, method_33285, onClose
-
从类继承的方法 net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, focusOn, hoveredElement, setInitialFocus
-
-
-
-
字段详细资料
-
TEXTURE
private static final Identifier TEXTURE
- Mappings:
Namespace Name Mixin selector official CLeap;C:Lwp;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;
-
field_32335
private static final String field_32335
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official DLeap;D:Ljava/lang/String;intermediary field_32335Lnet/minecraft/class_481;field_32335:Ljava/lang/String;named field_32335Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_32335:Ljava/lang/String;
-
field_32336
private static final String field_32336
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official ELeap;E:Ljava/lang/String;intermediary field_32336Lnet/minecraft/class_481;field_32336:Ljava/lang/String;named field_32336Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_32336:Ljava/lang/String;
-
field_32337
private static final int field_32337
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official FLeap;F:Iintermediary field_32337Lnet/minecraft/class_481;field_32337:Inamed field_32337Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_32337:I
-
field_32338
private static final int field_32338
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official GLeap;G:Iintermediary field_32338Lnet/minecraft/class_481;field_32338:Inamed field_32338Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_32338:I
-
field_32339
private static final int field_32339
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official HLeap;H:Iintermediary field_32339Lnet/minecraft/class_481;field_32339:Inamed field_32339Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_32339:I
-
field_32340
private static final int field_32340
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official ILeap;I:Iintermediary field_32340Lnet/minecraft/class_481;field_32340:Inamed field_32340Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_32340:I
-
field_32341
private static final int field_32341
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official JLeap;J:Iintermediary field_32341Lnet/minecraft/class_481;field_32341:Inamed field_32341Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_32341:I
-
field_32342
private static final int field_32342
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official KLeap;K:Iintermediary field_32342Lnet/minecraft/class_481;field_32342:Inamed field_32342Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_32342:I
-
INVENTORY
private static final SimpleInventory INVENTORY
- Mappings:
Namespace Name Mixin selector official LLeap;L:Larl;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
private static final Text DELETE_ITEM_SLOT_TEXT
- Mappings:
Namespace Name Mixin selector official MLeap;M:Lon;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;
-
field_32343
private static final int field_32343
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official NLeap;N:Iintermediary field_32343Lnet/minecraft/class_481;field_32343:Inamed field_32343Lnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;field_32343:I
-
selectedTab
private static int selectedTab
- Mappings:
Namespace Name Mixin selector official OLeap;O: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 PLeap;P: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 QLeap;Q:Zintermediary field_2892Lnet/minecraft/class_481;field_2892:Znamed scrollingLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;scrolling:Z
-
searchBox
private TextFieldWidget searchBox
- Mappings:
Namespace Name Mixin selector official RLeap;R:Ldwe;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
@Nullable private @Nullable List<Slot> slots
- Mappings:
Namespace Name Mixin selector official SLeap;S: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
@Nullable private @Nullable Slot deleteItemSlot
- Mappings:
Namespace Name Mixin selector official TLeap;T:Lbnc;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
private CreativeInventoryListener listener
- Mappings:
Namespace Name Mixin selector official ULeap;U:Leao;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 VLeap;V: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 WLeap;W:Zintermediary field_2887Lnet/minecraft/class_481;field_2887:Znamed lastClickOutsideBoundsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;lastClickOutsideBounds:Z
-
searchResultTags
private final Map<Identifier,Tag<Item>> searchResultTags
- Mappings:
Namespace Name Mixin selector official XLeap;X:Ljava/util/Map;intermediary field_16201Lnet/minecraft/class_481;field_16201:Ljava/util/Map;named searchResultTagsLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;searchResultTags:Ljava/util/Map;
-
-
构造器详细资料
-
CreativeInventoryScreen
public CreativeInventoryScreen(PlayerEntity player)
- Mappings:
Namespace Name Mixin selector official <init>Leap;<init>(Lbjf;)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
-
-
方法详细资料
-
tick
public void tick()
- 指定者:
tick在接口中TickableElement- 覆盖:
tick在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official dLdwp;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
onMouseClick
protected void onMouseClick(@Nullable @Nullable Slot slot, int slotId, int button, SlotActionType actionType)
- 覆盖:
onMouseClick在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- 另请参阅:
ScreenHandler.onSlotClick(int, int, net.minecraft.screen.slot.SlotActionType, net.minecraft.entity.player.PlayerEntity)- Mappings:
Namespace Name Mixin selector official aLeac;a(Lbnc;IILblu;)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
private boolean isCreativeInventorySlot(@Nullable @Nullable Slot slot)
- Mappings:
Namespace Name Mixin selector official aLeap;a(Lbnc;)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
-
applyStatusEffectOffset
protected void applyStatusEffectOffset()
- 覆盖:
applyStatusEffectOffset在类中AbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official iLear;i()Vintermediary method_2476Lnet/minecraft/class_485;method_2476()Vnamed applyStatusEffectOffsetLnet/minecraft/client/gui/screen/ingame/AbstractInventoryScreen;applyStatusEffectOffset()V
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
- 覆盖:
init在类中AbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official bLdzg;b()Vintermediary method_25426Lnet/minecraft/class_437;method_25426()Vnamed initLnet/minecraft/client/gui/screen/Screen;init()V
-
resize
public void resize(MinecraftClient client, int width, int height)
-
removed
public void removed()
- 覆盖:
removed在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official eLdzg;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.- 参数:
chr- the captured charactermodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Keyboard.onChar(long, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdwv;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.- 指定者:
keyPressed在接口中Element- 指定者:
keyPressed在接口中ParentElement- 覆盖:
keyPressed在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- 参数:
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)- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdwv;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.- 参数:
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)- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official bLdwv;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 mLeap;m()Vintermediary method_2464Lnet/minecraft/class_481;method_2464()Vnamed searchLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;search()V
-
searchForTags
private void searchForTags(String string)
- Mappings:
Namespace Name Mixin selector official bLeap;b(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
protected void drawForeground(MatrixStack matrices, int mouseX, int mouseY)
- 覆盖:
drawForeground在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official bLeac;b(Ldpi;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.- 指定者:
mouseClicked在接口中Element- 指定者:
mouseClicked在接口中ParentElement- 覆盖:
mouseClicked在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Mouse.onMouseButton(long, int, int, int),GLFW.GLFW_MOUSE_BUTTON_1- Mappings:
Namespace Name Mixin selector official aLdwv;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.- 指定者:
mouseReleased在接口中Element- 指定者:
mouseReleased在接口中ParentElement- 覆盖:
mouseReleased在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mousebutton- the mouse button number- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Mouse.onMouseButton(long, int, int, int),GLFW.GLFW_MOUSE_BUTTON_1- Mappings:
Namespace Name Mixin selector official cLdwv;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 nLeap;n()Zintermediary method_2465Lnet/minecraft/class_481;method_2465()Znamed hasScrollbarLnet/minecraft/client/gui/screen/ingame/CreativeInventoryScreen;hasScrollbar()Z
-
setSelectedTab
private void setSelectedTab(ItemGroup group)
- Mappings:
Namespace Name Mixin selector official aLeap;a(Lboh;)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.- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mouseamount- value is> 1if scrolled down,< 1if scrolled up- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Mouse.onMouseScroll(long, double, double)- Mappings:
Namespace Name Mixin selector official aLdwv;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)- 覆盖:
isClickOutsideBounds在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official aLeac;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 aLeap;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.- 指定者:
mouseDragged在接口中Element- 指定者:
mouseDragged在接口中ParentElement- 覆盖:
mouseDragged在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- 参数:
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- 返回:
trueto indicate that the event handling is successful/valid- 另请参阅:
Mouse.onCursorPos(long, double, double),GLFW.GLFW_MOUSE_BUTTON_1- Mappings:
Namespace Name Mixin selector official aLdwv;a(DDIDD)Zintermediary method_25403Lnet/minecraft/class_364;method_25403(DDIDD)Znamed mouseDraggedLnet/minecraft/client/gui/Element;mouseDragged(DDIDD)Z
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中AbstractInventoryScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;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
protected void renderTooltip(MatrixStack matrices, ItemStack stack, int x, int y)
- 覆盖:
renderTooltip在类中Screen- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ldpi;Lbpr;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
protected void drawBackground(MatrixStack matrices, float delta, int mouseX, int mouseY)
- 指定者:
drawBackground在类中HandledScreen<CreativeInventoryScreen.CreativeScreenHandler>- Mappings:
Namespace Name Mixin selector official aLeac;a(Ldpi;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
protected boolean isClickInTab(ItemGroup group, double mouseX, double mouseY)
- Mappings:
Namespace Name Mixin selector official aLeap;a(Lboh;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 int2, int int3)
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldpi;Lboh;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
protected void renderTabIcon(MatrixStack matrices, ItemGroup group)
- Mappings:
Namespace Name Mixin selector official aLeap;a(Ldpi;Lboh;)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 kLeap;k()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 aLeap;a(Ldum;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
-
-