类 Screen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
- 直接已知子类:
AbstractCommandBlockScreen,AddServerScreen,AdvancementsScreen,BackupPromptScreen,BookEditScreen,BookScreen,ChatScreen,ConfirmScreen,ConnectScreen,CreateWorldScreen,CreditsScreen,CustomizeBuffetLevelScreen,CustomizeFlatLevelScreen,DatapackFailureScreen,DeathScreen,DemoScreen,DialogScreen,DirectConnectScreen,DisconnectedScreen,DownloadingTerrainScreen,EditGameRulesScreen,EditWorldScreen,FatalErrorScreen,GameMenuScreen,GameModeSelectionScreen,GameOptionsScreen,HandledScreen,JigsawBlockScreen,LevelLoadingScreen,MultiplayerScreen,MultiplayerWarningScreen,NoticeScreen,OpenToLanScreen,OptimizeWorldScreen,OptionsScreen,OutOfMemoryScreen,PackScreen,PresetsScreen,ProgressScreen,RealmsScreen,SaveLevelScreen,SelectWorldScreen,SignEditScreen,SocialInteractionsScreen,StatsScreen,StructureBlockScreen,TitleScreen
@Environment(CLIENT) public abstract class Screen extends AbstractParentElement implements TickableElement, Drawable
- Mappings:
Namespace Name official dzgintermediary net/minecraft/class_437named net/minecraft/client/gui/screen/Screen
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Set<String>ALLOWED_PROTOCOLSprotected List<AbstractButtonWidget>buttonsprotected List<Element>childrenprivate URIclickedLinkprotected @Nullable MinecraftClientclientprivate static intfield_32270intheightprotected ItemRendereritemRendererprivate static LoggerLOGGERbooleanpassEventsprotected TextRenderertextRendererprotected Texttitleintwidth-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 protected <T extends AbstractButtonWidget>
TaddButton(T button)Adds a button to this screen.protected <T extends Element>
TaddChild(T child)Adds a child element to this screen.List<? extends Element>children()Gets a list of all child GUI elements.private voidconfirmLink(boolean open)voidfilesDragged(List<Path> paths)StringgetNarrationMessage()TextgetTitle()List<Text>getTooltipFromItem(ItemStack stack)booleanhandleTextClick(@Nullable Style style)static booleanhasAltDown()static booleanhasControlDown()static booleanhasShiftDown()protected voidinit()Called when a screen should be initialized.voidinit(MinecraftClient client, int width, int height)protected voidinsertText(String text, boolean override)static booleanisCopy(int code)static booleanisCut(int code)booleanisMouseOver(double mouseX, double mouseY)Checks if the mouse position is within the bound of the element.static booleanisPaste(int code)booleanisPauseScreen()static booleanisSelectAll(int code)protected booleanisValidCharacterForName(String name, char character, int cursorPos)booleankeyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured.voidonClose()private voidopenLink(URI link)voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidrenderBackground(MatrixStack matrices)Renders the background of this screen.voidrenderBackground(MatrixStack matrices, int vOffset)Renders the background of this screen.voidrenderBackgroundTexture(int vOffset)Renders the fullscreen background texture of this screen.voidrenderOrderedTooltip(MatrixStack matrices, List<? extends OrderedText> lines, int x, int y)protected voidrenderTextHoverEffect(MatrixStack matrices, @Nullable Style style, int x, int y)voidrenderTooltip(MatrixStack matrices, List<Text> lines, int x, int y)voidrenderTooltip(MatrixStack matrices, List<Text> lines, Optional<TooltipData> data, int x, int y)protected voidrenderTooltip(MatrixStack matrices, ItemStack stack, int x, int y)voidrenderTooltip(MatrixStack matrices, Text text, int x, int y)private voidrenderTooltipFromComponents(MatrixStack matrices, List<TooltipComponent> components, int x, int y)voidresize(MinecraftClient client, int width, int height)voidsendMessage(String message)voidsendMessage(String message, boolean toHud)booleanshouldCloseOnEsc()Checks whether this screen should be closed when the escape key is pressed.voidtick()static voidwrapScreenError(Runnable task, String errorTitle, String screenName)-
从类继承的方法 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, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLdzg;a:Lorg/apache/logging/log4j/Logger;intermediary field_22782Lnet/minecraft/class_437;field_22782:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/Screen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
ALLOWED_PROTOCOLS
private static final Set<String> ALLOWED_PROTOCOLS
- Mappings:
Namespace Name Mixin selector official bLdzg;b:Ljava/util/Set;intermediary field_22783Lnet/minecraft/class_437;field_22783:Ljava/util/Set;named ALLOWED_PROTOCOLSLnet/minecraft/client/gui/screen/Screen;ALLOWED_PROTOCOLS:Ljava/util/Set;
-
field_32270
private static final int field_32270
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official cLdzg;c:Iintermediary field_32270Lnet/minecraft/class_437;field_32270:Inamed field_32270Lnet/minecraft/client/gui/screen/Screen;field_32270:I
-
title
protected final Text title
- Mappings:
Namespace Name Mixin selector official dLdzg;d:Lon;intermediary field_22785Lnet/minecraft/class_437;field_22785:Lnet/minecraft/class_2561;named titleLnet/minecraft/client/gui/screen/Screen;title:Lnet/minecraft/text/Text;
-
children
protected final List<Element> children
- Mappings:
Namespace Name Mixin selector official eLdzg;e:Ljava/util/List;intermediary field_22786Lnet/minecraft/class_437;field_22786:Ljava/util/List;named childrenLnet/minecraft/client/gui/screen/Screen;children:Ljava/util/List;
-
client
@Nullable protected @Nullable MinecraftClient client
- Mappings:
Namespace Name Mixin selector official iLdzg;i:Ldum;intermediary field_22787Lnet/minecraft/class_437;field_22787:Lnet/minecraft/class_310;named clientLnet/minecraft/client/gui/screen/Screen;client:Lnet/minecraft/client/MinecraftClient;
-
itemRenderer
protected ItemRenderer itemRenderer
- Mappings:
Namespace Name Mixin selector official jLdzg;j:Lero;intermediary field_22788Lnet/minecraft/class_437;field_22788:Lnet/minecraft/class_918;named itemRendererLnet/minecraft/client/gui/screen/Screen;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
-
width
public int width
- Mappings:
Namespace Name Mixin selector official kLdzg;k:Iintermediary field_22789Lnet/minecraft/class_437;field_22789:Inamed widthLnet/minecraft/client/gui/screen/Screen;width:I
-
height
public int height
- Mappings:
Namespace Name Mixin selector official lLdzg;l:Iintermediary field_22790Lnet/minecraft/class_437;field_22790:Inamed heightLnet/minecraft/client/gui/screen/Screen;height:I
-
buttons
protected final List<AbstractButtonWidget> buttons
- Mappings:
Namespace Name Mixin selector official mLdzg;m:Ljava/util/List;intermediary field_22791Lnet/minecraft/class_437;field_22791:Ljava/util/List;named buttonsLnet/minecraft/client/gui/screen/Screen;buttons:Ljava/util/List;
-
passEvents
public boolean passEvents
- Mappings:
Namespace Name Mixin selector official nLdzg;n:Zintermediary field_22792Lnet/minecraft/class_437;field_22792:Znamed passEventsLnet/minecraft/client/gui/screen/Screen;passEvents:Z
-
textRenderer
protected TextRenderer textRenderer
- Mappings:
Namespace Name Mixin selector official oLdzg;o:Ldvh;intermediary field_22793Lnet/minecraft/class_437;field_22793:Lnet/minecraft/class_327;named textRendererLnet/minecraft/client/gui/screen/Screen;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
clickedLink
private URI clickedLink
- Mappings:
Namespace Name Mixin selector official pLdzg;p:Ljava/net/URI;intermediary field_22784Lnet/minecraft/class_437;field_22784:Ljava/net/URI;named clickedLinkLnet/minecraft/client/gui/screen/Screen;clickedLink:Ljava/net/URI;
-
-
构造器详细资料
-
Screen
protected Screen(Text title)
- Mappings:
Namespace Name Mixin selector official <init>Ldzg;<init>(Lon;)Vintermediary <init>Lnet/minecraft/class_437;<init>(Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/gui/screen/Screen;<init>(Lnet/minecraft/text/Text;)V
-
-
方法详细资料
-
getTitle
public Text getTitle()
- Mappings:
Namespace Name Mixin selector official zLdzg;z()Lon;intermediary method_25440Lnet/minecraft/class_437;method_25440()Lnet/minecraft/class_2561;named getTitleLnet/minecraft/client/gui/screen/Screen;getTitle()Lnet/minecraft/text/Text;
-
getNarrationMessage
public String getNarrationMessage()
- Mappings:
Namespace Name Mixin selector official ay_Ldzg;ay_()Ljava/lang/String;intermediary method_25435Lnet/minecraft/class_437;method_25435()Ljava/lang/String;named getNarrationMessageLnet/minecraft/client/gui/screen/Screen;getNarrationMessage()Ljava/lang/String;
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
-
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- 参数:
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
-
shouldCloseOnEsc
public boolean shouldCloseOnEsc()
Checks whether this screen should be closed when the escape key is pressed.- Mappings:
Namespace Name Mixin selector official az_Ldzg;az_()Zintermediary method_25422Lnet/minecraft/class_437;method_25422()Znamed shouldCloseOnEscLnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
onClose
public void onClose()
- Mappings:
Namespace Name Mixin selector official aA_Ldzg;aA_()Vintermediary method_25419Lnet/minecraft/class_437;method_25419()Vnamed onCloseLnet/minecraft/client/gui/screen/Screen;onClose()V
-
addButton
protected <T extends AbstractButtonWidget> T addButton(T button)
Adds a button to this screen. This method should be preferred overaddChild(Element)since buttons are automatically rendered when added to a screen.- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ldvu;)Ldvu;intermediary method_25411Lnet/minecraft/class_437;method_25411(Lnet/minecraft/class_339;)Lnet/minecraft/class_339;named addButtonLnet/minecraft/client/gui/screen/Screen;addButton(Lnet/minecraft/client/gui/widget/AbstractButtonWidget;)Lnet/minecraft/client/gui/widget/AbstractButtonWidget;
-
addChild
protected <T extends Element> T addChild(T child)
Adds a child element to this screen. If the child element is anAbstractButtonWidget, you should useaddButton(AbstractButtonWidget)instead.Adding a child element to a screen does not guarantee the widget is rendered or ticked.
- 另请参阅:
addButton(AbstractButtonWidget)- Mappings:
Namespace Name Mixin selector official dLdzg;d(Ldwv;)Ldwv;intermediary method_25429Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;named addChildLnet/minecraft/client/gui/screen/Screen;addChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
renderTooltip
protected void renderTooltip(MatrixStack matrices, ItemStack stack, int x, int y)
- 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
-
renderTooltip
public void renderTooltip(MatrixStack matrices, List<Text> lines, Optional<TooltipData> data, int x, int y)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ldpi;Ljava/util/List;Ljava/util/Optional;II)Vintermediary method_32634Lnet/minecraft/class_437;method_32634(Lnet/minecraft/class_4587;Ljava/util/List;Ljava/util/Optional;II)Vnamed renderTooltipLnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;Ljava/util/Optional;II)V
-
getTooltipFromItem
public List<Text> getTooltipFromItem(ItemStack stack)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Lbpr;)Ljava/util/List;intermediary method_25408Lnet/minecraft/class_437;method_25408(Lnet/minecraft/class_1799;)Ljava/util/List;named getTooltipFromItemLnet/minecraft/client/gui/screen/Screen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
-
renderTooltip
public void renderTooltip(MatrixStack matrices, Text text, int x, int y)
- Mappings:
Namespace Name Mixin selector official bLdzg;b(Ldpi;Lon;II)Vintermediary method_25424Lnet/minecraft/class_437;method_25424(Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)Vnamed renderTooltipLnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Text;II)V
-
renderTooltip
public void renderTooltip(MatrixStack matrices, List<Text> lines, int x, int y)
- Mappings:
Namespace Name Mixin selector official bLdzg;b(Ldpi;Ljava/util/List;II)Vintermediary method_30901Lnet/minecraft/class_437;method_30901(Lnet/minecraft/class_4587;Ljava/util/List;II)Vnamed renderTooltipLnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;II)V
-
renderOrderedTooltip
public void renderOrderedTooltip(MatrixStack matrices, List<? extends OrderedText> lines, int x, int y)
- Mappings:
Namespace Name Mixin selector official cLdzg;c(Ldpi;Ljava/util/List;II)Vintermediary method_25417Lnet/minecraft/class_437;method_25417(Lnet/minecraft/class_4587;Ljava/util/List;II)Vnamed renderOrderedTooltipLnet/minecraft/client/gui/screen/Screen;renderOrderedTooltip(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;II)V
-
renderTooltipFromComponents
private void renderTooltipFromComponents(MatrixStack matrices, List<TooltipComponent> components, int x, int y)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ldpi;Ljava/util/List;II)Vintermediary method_32633Lnet/minecraft/class_437;method_32633(Lnet/minecraft/class_4587;Ljava/util/List;II)Vnamed renderTooltipFromComponentsLnet/minecraft/client/gui/screen/Screen;renderTooltipFromComponents(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;II)V
-
renderTextHoverEffect
protected void renderTextHoverEffect(MatrixStack matrices, @Nullable @Nullable Style style, int x, int y)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ldpi;Lox;II)Vintermediary method_25418Lnet/minecraft/class_437;method_25418(Lnet/minecraft/class_4587;Lnet/minecraft/class_2583;II)Vnamed renderTextHoverEffectLnet/minecraft/client/gui/screen/Screen;renderTextHoverEffect(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Style;II)V
-
insertText
protected void insertText(String text, boolean override)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ljava/lang/String;Z)Vintermediary method_25415Lnet/minecraft/class_437;method_25415(Ljava/lang/String;Z)Vnamed insertTextLnet/minecraft/client/gui/screen/Screen;insertText(Ljava/lang/String;Z)V
-
handleTextClick
public boolean handleTextClick(@Nullable @Nullable Style style)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Lox;)Zintermediary method_25430Lnet/minecraft/class_437;method_25430(Lnet/minecraft/class_2583;)Znamed handleTextClickLnet/minecraft/client/gui/screen/Screen;handleTextClick(Lnet/minecraft/text/Style;)Z
-
sendMessage
public void sendMessage(String message)
- Mappings:
Namespace Name Mixin selector official b_Ldzg;b_(Ljava/lang/String;)Vintermediary method_25427Lnet/minecraft/class_437;method_25427(Ljava/lang/String;)Vnamed sendMessageLnet/minecraft/client/gui/screen/Screen;sendMessage(Ljava/lang/String;)V
-
sendMessage
public void sendMessage(String message, boolean toHud)
- Mappings:
Namespace Name Mixin selector official bLdzg;b(Ljava/lang/String;Z)Vintermediary method_25425Lnet/minecraft/class_437;method_25425(Ljava/lang/String;Z)Vnamed sendMessageLnet/minecraft/client/gui/screen/Screen;sendMessage(Ljava/lang/String;Z)V
-
init
public void init(MinecraftClient client, int width, int height)
- Mappings:
Namespace Name Mixin selector official bLdzg;b(Ldum;II)Vintermediary method_25423Lnet/minecraft/class_437;method_25423(Lnet/minecraft/class_310;II)Vnamed initLnet/minecraft/client/gui/screen/Screen;init(Lnet/minecraft/client/MinecraftClient;II)V
-
children
public List<? extends Element> children()
Gets a list of all child GUI elements.- 指定者:
children在接口中ParentElement- Mappings:
Namespace Name Mixin selector official aB_Ldwu;aB_()Ljava/util/List;intermediary method_25396Lnet/minecraft/class_4069;method_25396()Ljava/util/List;named childrenLnet/minecraft/client/gui/ParentElement;children()Ljava/util/List;
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
- 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
-
tick
public void tick()
- 指定者:
tick在接口中TickableElement- 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
-
removed
public void removed()
- 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
-
renderBackground
public void renderBackground(MatrixStack matrices)
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ldpi;)Vintermediary method_25420Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_4587;)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderBackground
public void renderBackground(MatrixStack matrices, int vOffset)
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- 参数:
vOffset- an offset applied to the V coordinate of the background texture- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ldpi;I)Vintermediary method_25433Lnet/minecraft/class_437;method_25433(Lnet/minecraft/class_4587;I)Vnamed renderBackgroundLnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;I)V
-
renderBackgroundTexture
public void renderBackgroundTexture(int vOffset)
Renders the fullscreen background texture of this screen.- 参数:
vOffset- an offset applied to the V coordinate of the background texture- Mappings:
Namespace Name Mixin selector official eLdzg;e(I)Vintermediary method_25434Lnet/minecraft/class_437;method_25434(I)Vnamed renderBackgroundTextureLnet/minecraft/client/gui/screen/Screen;renderBackgroundTexture(I)V
-
isPauseScreen
public boolean isPauseScreen()
- Mappings:
Namespace Name Mixin selector official aE_Ldzg;aE_()Zintermediary method_25421Lnet/minecraft/class_437;method_25421()Znamed isPauseScreenLnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
-
confirmLink
private void confirmLink(boolean open)
- Mappings:
Namespace Name Mixin selector official cLdzg;c(Z)Vintermediary method_25428Lnet/minecraft/class_437;method_25428(Z)Vnamed confirmLinkLnet/minecraft/client/gui/screen/Screen;confirmLink(Z)V
-
openLink
private void openLink(URI link)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ljava/net/URI;)Vintermediary method_25416Lnet/minecraft/class_437;method_25416(Ljava/net/URI;)Vnamed openLinkLnet/minecraft/client/gui/screen/Screen;openLink(Ljava/net/URI;)V
-
hasControlDown
public static boolean hasControlDown()
- Mappings:
Namespace Name Mixin selector official ALdzg;A()Zintermediary method_25441Lnet/minecraft/class_437;method_25441()Znamed hasControlDownLnet/minecraft/client/gui/screen/Screen;hasControlDown()Z
-
hasShiftDown
public static boolean hasShiftDown()
- Mappings:
Namespace Name Mixin selector official BLdzg;B()Zintermediary method_25442Lnet/minecraft/class_437;method_25442()Znamed hasShiftDownLnet/minecraft/client/gui/screen/Screen;hasShiftDown()Z
-
hasAltDown
public static boolean hasAltDown()
- Mappings:
Namespace Name Mixin selector official CLdzg;C()Zintermediary method_25443Lnet/minecraft/class_437;method_25443()Znamed hasAltDownLnet/minecraft/client/gui/screen/Screen;hasAltDown()Z
-
isCut
public static boolean isCut(int code)
- Mappings:
Namespace Name Mixin selector official fLdzg;f(I)Zintermediary method_25436Lnet/minecraft/class_437;method_25436(I)Znamed isCutLnet/minecraft/client/gui/screen/Screen;isCut(I)Z
-
isPaste
public static boolean isPaste(int code)
- Mappings:
Namespace Name Mixin selector official gLdzg;g(I)Zintermediary method_25437Lnet/minecraft/class_437;method_25437(I)Znamed isPasteLnet/minecraft/client/gui/screen/Screen;isPaste(I)Z
-
isCopy
public static boolean isCopy(int code)
- Mappings:
Namespace Name Mixin selector official hLdzg;h(I)Zintermediary method_25438Lnet/minecraft/class_437;method_25438(I)Znamed isCopyLnet/minecraft/client/gui/screen/Screen;isCopy(I)Z
-
isSelectAll
public static boolean isSelectAll(int code)
- Mappings:
Namespace Name Mixin selector official iLdzg;i(I)Zintermediary method_25439Lnet/minecraft/class_437;method_25439(I)Znamed isSelectAllLnet/minecraft/client/gui/screen/Screen;isSelectAll(I)Z
-
resize
public void resize(MinecraftClient client, int width, int height)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ldum;II)Vintermediary method_25410Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)Vnamed resizeLnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
-
wrapScreenError
public static void wrapScreenError(Runnable task, String errorTitle, String screenName)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)Vintermediary method_25412Lnet/minecraft/class_437;method_25412(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)Vnamed wrapScreenErrorLnet/minecraft/client/gui/screen/Screen;wrapScreenError(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V
-
isValidCharacterForName
protected boolean isValidCharacterForName(String name, char character, int cursorPos)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ljava/lang/String;CI)Zintermediary method_25414Lnet/minecraft/class_437;method_25414(Ljava/lang/String;CI)Znamed isValidCharacterForNameLnet/minecraft/client/gui/screen/Screen;isValidCharacterForName(Ljava/lang/String;CI)Z
-
isMouseOver
public boolean isMouseOver(double mouseX, double mouseY)Checks if the mouse position is within the bound of the element.- 指定者:
isMouseOver在接口中Element- 参数:
mouseX- the X coordinate of the mousemouseY- the Y coordinate of the mouse- 返回:
trueif the mouse is within the bound of the element, otherwisefalse- Mappings:
Namespace Name Mixin selector official bLdwv;b(DD)Zintermediary method_25405Lnet/minecraft/class_364;method_25405(DD)Znamed isMouseOverLnet/minecraft/client/gui/Element;isMouseOver(DD)Z
-
filesDragged
public void filesDragged(List<Path> paths)
- Mappings:
Namespace Name Mixin selector official aLdzg;a(Ljava/util/List;)Vintermediary method_29638Lnet/minecraft/class_437;method_29638(Ljava/util/List;)Vnamed filesDraggedLnet/minecraft/client/gui/screen/Screen;filesDragged(Ljava/util/List;)V
-
-