Package net.minecraft.client.gui.screen
Class Screen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
,TickableElement
- Direct Known Subclasses:
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 dve
intermediary net/minecraft/class_437
named net/minecraft/client/gui/screen/Screen
-
Field Summary
Fields Modifier and Type Field Description private static Set<String>
ALLOWED_PROTOCOLS
protected List<AbstractButtonWidget>
buttons
protected List<Element>
children
private URI
clickedLink
protected MinecraftClient
client
int
height
protected ItemRenderer
itemRenderer
private static Logger
LOGGER
boolean
passEvents
protected TextRenderer
textRenderer
protected Text
title
int
width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description 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 void
confirmLink(boolean open)
void
filesDragged(List<Path> paths)
String
getNarrationMessage()
Text
getTitle()
List<Text>
getTooltipFromItem(ItemStack stack)
boolean
handleTextClick(Style style)
static boolean
hasAltDown()
static boolean
hasControlDown()
static boolean
hasShiftDown()
protected void
init()
Called when a screen should be initialized.void
init(MinecraftClient client, int width, int height)
protected void
insertText(String text, boolean override)
static boolean
isCopy(int code)
static boolean
isCut(int code)
boolean
isMouseOver(double mouseX, double mouseY)
Checks if the mouse position is within the bound of the element.static boolean
isPaste(int code)
boolean
isPauseScreen()
static boolean
isSelectAll(int code)
protected boolean
isValidCharacterForName(String name, char character, int cursorPos)
boolean
keyPressed(int keyCode, int scanCode, int modifiers)
Callback for when a key down event has been captured.void
onClose()
private void
openLink(URI link)
void
removed()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
renderBackground(MatrixStack matrices)
Renders the background of this screen.void
renderBackground(MatrixStack matrices, int vOffset)
Renders the background of this screen.void
renderBackgroundTexture(int vOffset)
Renders the fullscreen background texture of this screen.void
renderOrderedTooltip(MatrixStack matrices, List<? extends OrderedText> lines, int x, int y)
protected void
renderTextHoverEffect(MatrixStack matrices, Style style, int x, int y)
void
renderTooltip(MatrixStack matrices, List<Text> lines, int x, int y)
void
renderTooltip(MatrixStack matrices, List<Text> lines, Optional<TooltipData> data, int x, int y)
protected void
renderTooltip(MatrixStack matrices, ItemStack stack, int x, int y)
void
renderTooltip(MatrixStack matrices, Text text, int x, int y)
private void
renderTooltipFromComponents(MatrixStack matrices, List<TooltipComponent> components, int x, int y)
void
resize(MinecraftClient client, int width, int height)
void
sendMessage(String message)
void
sendMessage(String message, boolean toHud)
boolean
shouldCloseOnEsc()
Checks whether this screen should be closed when the escape key is pressed.void
tick()
static void
wrapScreenError(Runnable task, String errorTitle, String screenName)
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldve;a:Lorg/apache/logging/log4j/Logger;
intermediary field_22782
Lnet/minecraft/class_437;field_22782:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/gui/screen/Screen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
ALLOWED_PROTOCOLS
- Mappings:
Namespace Name Mixin selector official b
Ldve;b:Ljava/util/Set;
intermediary field_22783
Lnet/minecraft/class_437;field_22783:Ljava/util/Set;
named ALLOWED_PROTOCOLS
Lnet/minecraft/client/gui/screen/Screen;ALLOWED_PROTOCOLS:Ljava/util/Set;
-
title
- Mappings:
Namespace Name Mixin selector official d
Ldve;d:Loi;
intermediary field_22785
Lnet/minecraft/class_437;field_22785:Lnet/minecraft/class_2561;
named title
Lnet/minecraft/client/gui/screen/Screen;title:Lnet/minecraft/text/Text;
-
children
- Mappings:
Namespace Name Mixin selector official e
Ldve;e:Ljava/util/List;
intermediary field_22786
Lnet/minecraft/class_437;field_22786:Ljava/util/List;
named children
Lnet/minecraft/client/gui/screen/Screen;children:Ljava/util/List;
-
client
- Mappings:
Namespace Name Mixin selector official i
Ldve;i:Ldqk;
intermediary field_22787
Lnet/minecraft/class_437;field_22787:Lnet/minecraft/class_310;
named client
Lnet/minecraft/client/gui/screen/Screen;client:Lnet/minecraft/client/MinecraftClient;
-
itemRenderer
- Mappings:
Namespace Name Mixin selector official j
Ldve;j:Lenf;
intermediary field_22788
Lnet/minecraft/class_437;field_22788:Lnet/minecraft/class_918;
named itemRenderer
Lnet/minecraft/client/gui/screen/Screen;itemRenderer:Lnet/minecraft/client/render/item/ItemRenderer;
-
width
public int width- Mappings:
Namespace Name Mixin selector official k
Ldve;k:I
intermediary field_22789
Lnet/minecraft/class_437;field_22789:I
named width
Lnet/minecraft/client/gui/screen/Screen;width:I
-
height
public int height- Mappings:
Namespace Name Mixin selector official l
Ldve;l:I
intermediary field_22790
Lnet/minecraft/class_437;field_22790:I
named height
Lnet/minecraft/client/gui/screen/Screen;height:I
-
buttons
- Mappings:
Namespace Name Mixin selector official m
Ldve;m:Ljava/util/List;
intermediary field_22791
Lnet/minecraft/class_437;field_22791:Ljava/util/List;
named buttons
Lnet/minecraft/client/gui/screen/Screen;buttons:Ljava/util/List;
-
passEvents
public boolean passEvents- Mappings:
Namespace Name Mixin selector official n
Ldve;n:Z
intermediary field_22792
Lnet/minecraft/class_437;field_22792:Z
named passEvents
Lnet/minecraft/client/gui/screen/Screen;passEvents:Z
-
textRenderer
- Mappings:
Namespace Name Mixin selector official o
Ldve;o:Ldrf;
intermediary field_22793
Lnet/minecraft/class_437;field_22793:Lnet/minecraft/class_327;
named textRenderer
Lnet/minecraft/client/gui/screen/Screen;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
clickedLink
- Mappings:
Namespace Name Mixin selector official c
Ldve;c:Ljava/net/URI;
intermediary field_22784
Lnet/minecraft/class_437;field_22784:Ljava/net/URI;
named clickedLink
Lnet/minecraft/client/gui/screen/Screen;clickedLink:Ljava/net/URI;
-
-
Constructor Details
-
Screen
- Mappings:
Namespace Name Mixin selector official <init>
Ldve;<init>(Loi;)V
intermediary <init>
Lnet/minecraft/class_437;<init>(Lnet/minecraft/class_2561;)V
named <init>
Lnet/minecraft/client/gui/screen/Screen;<init>(Lnet/minecraft/text/Text;)V
-
-
Method Details
-
getTitle
- Mappings:
Namespace Name Mixin selector official y
Ldve;y()Loi;
intermediary method_25440
Lnet/minecraft/class_437;method_25440()Lnet/minecraft/class_2561;
named getTitle
Lnet/minecraft/client/gui/screen/Screen;getTitle()Lnet/minecraft/text/Text;
-
getNarrationMessage
- Mappings:
Namespace Name Mixin selector official ax_
Ldve;ax_()Ljava/lang/String;
intermediary method_25435
Lnet/minecraft/class_437;method_25435()Ljava/lang/String;
named getNarrationMessage
Lnet/minecraft/client/gui/screen/Screen;getNarrationMessage()Ljava/lang/String;
-
render
- Specified by:
render
in interfaceDrawable
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
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
- 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:
Keyboard.onKey(long, int, int, int, int)
,GLFW.GLFW_KEY_Q
,GLFWKeyCallbackI.invoke(long, int, int, int, int)
- Mappings:
Namespace Name Mixin selector official a
Ldst;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/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 ay_
Ldve;ay_()Z
intermediary method_25422
Lnet/minecraft/class_437;method_25422()Z
named shouldCloseOnEsc
Lnet/minecraft/client/gui/screen/Screen;shouldCloseOnEsc()Z
-
onClose
public void onClose()- Mappings:
Namespace Name Mixin selector official az_
Ldve;az_()V
intermediary method_25419
Lnet/minecraft/class_437;method_25419()V
named onClose
Lnet/minecraft/client/gui/screen/Screen;onClose()V
-
addButton
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 a
Ldve;a(Ldrs;)Ldrs;
intermediary method_25411
Lnet/minecraft/class_437;method_25411(Lnet/minecraft/class_339;)Lnet/minecraft/class_339;
named addButton
Lnet/minecraft/client/gui/screen/Screen;addButton(Lnet/minecraft/client/gui/widget/AbstractButtonWidget;)Lnet/minecraft/client/gui/widget/AbstractButtonWidget;
-
addChild
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.
- See Also:
addButton(AbstractButtonWidget)
- Mappings:
Namespace Name Mixin selector official d
Ldve;d(Ldst;)Ldst;
intermediary method_25429
Lnet/minecraft/class_437;method_25429(Lnet/minecraft/class_364;)Lnet/minecraft/class_364;
named addChild
Lnet/minecraft/client/gui/screen/Screen;addChild(Lnet/minecraft/client/gui/Element;)Lnet/minecraft/client/gui/Element;
-
renderTooltip
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ldlr;Lbnv;II)V
intermediary method_25409
Lnet/minecraft/class_437;method_25409(Lnet/minecraft/class_4587;Lnet/minecraft/class_1799;II)V
named renderTooltip
Lnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/item/ItemStack;II)V
-
renderTooltip
public void renderTooltip(MatrixStack matrices, List<Text> lines, Optional<TooltipData> data, int x, int y)- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ldlr;Ljava/util/List;Ljava/util/Optional;II)V
intermediary method_32634
Lnet/minecraft/class_437;method_32634(Lnet/minecraft/class_4587;Ljava/util/List;Ljava/util/Optional;II)V
named renderTooltip
Lnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;Ljava/util/Optional;II)V
-
getTooltipFromItem
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Lbnv;)Ljava/util/List;
intermediary method_25408
Lnet/minecraft/class_437;method_25408(Lnet/minecraft/class_1799;)Ljava/util/List;
named getTooltipFromItem
Lnet/minecraft/client/gui/screen/Screen;getTooltipFromItem(Lnet/minecraft/item/ItemStack;)Ljava/util/List;
-
renderTooltip
- Mappings:
Namespace Name Mixin selector official b
Ldve;b(Ldlr;Loi;II)V
intermediary method_25424
Lnet/minecraft/class_437;method_25424(Lnet/minecraft/class_4587;Lnet/minecraft/class_2561;II)V
named renderTooltip
Lnet/minecraft/client/gui/screen/Screen;renderTooltip(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Text;II)V
-
renderTooltip
- Mappings:
Namespace Name Mixin selector official b
Ldve;b(Ldlr;Ljava/util/List;II)V
intermediary method_30901
Lnet/minecraft/class_437;method_30901(Lnet/minecraft/class_4587;Ljava/util/List;II)V
named renderTooltip
Lnet/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 c
Ldve;c(Ldlr;Ljava/util/List;II)V
intermediary method_25417
Lnet/minecraft/class_437;method_25417(Lnet/minecraft/class_4587;Ljava/util/List;II)V
named renderOrderedTooltip
Lnet/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 a
Ldve;a(Ldlr;Ljava/util/List;II)V
intermediary method_32633
Lnet/minecraft/class_437;method_32633(Lnet/minecraft/class_4587;Ljava/util/List;II)V
named renderTooltipFromComponents
Lnet/minecraft/client/gui/screen/Screen;renderTooltipFromComponents(Lnet/minecraft/client/util/math/MatrixStack;Ljava/util/List;II)V
-
renderTextHoverEffect
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ldlr;Los;II)V
intermediary method_25418
Lnet/minecraft/class_437;method_25418(Lnet/minecraft/class_4587;Lnet/minecraft/class_2583;II)V
named renderTextHoverEffect
Lnet/minecraft/client/gui/screen/Screen;renderTextHoverEffect(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/text/Style;II)V
-
insertText
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ljava/lang/String;Z)V
intermediary method_25415
Lnet/minecraft/class_437;method_25415(Ljava/lang/String;Z)V
named insertText
Lnet/minecraft/client/gui/screen/Screen;insertText(Ljava/lang/String;Z)V
-
handleTextClick
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Los;)Z
intermediary method_25430
Lnet/minecraft/class_437;method_25430(Lnet/minecraft/class_2583;)Z
named handleTextClick
Lnet/minecraft/client/gui/screen/Screen;handleTextClick(Lnet/minecraft/text/Style;)Z
-
sendMessage
- Mappings:
Namespace Name Mixin selector official b_
Ldve;b_(Ljava/lang/String;)V
intermediary method_25427
Lnet/minecraft/class_437;method_25427(Ljava/lang/String;)V
named sendMessage
Lnet/minecraft/client/gui/screen/Screen;sendMessage(Ljava/lang/String;)V
-
sendMessage
- Mappings:
Namespace Name Mixin selector official b
Ldve;b(Ljava/lang/String;Z)V
intermediary method_25425
Lnet/minecraft/class_437;method_25425(Ljava/lang/String;Z)V
named sendMessage
Lnet/minecraft/client/gui/screen/Screen;sendMessage(Ljava/lang/String;Z)V
-
init
- Mappings:
Namespace Name Mixin selector official b
Ldve;b(Ldqk;II)V
intermediary method_25423
Lnet/minecraft/class_437;method_25423(Lnet/minecraft/class_310;II)V
named init
Lnet/minecraft/client/gui/screen/Screen;init(Lnet/minecraft/client/MinecraftClient;II)V
-
children
Gets a list of all child GUI elements.- Specified by:
children
in interfaceParentElement
- Mappings:
Namespace Name Mixin selector official aA_
Ldss;aA_()Ljava/util/List;
intermediary method_25396
Lnet/minecraft/class_4069;method_25396()Ljava/util/List;
named children
Lnet/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 b
Ldve;b()V
intermediary method_25426
Lnet/minecraft/class_437;method_25426()V
named init
Lnet/minecraft/client/gui/screen/Screen;init()V
-
tick
public void tick()- Specified by:
tick
in interfaceTickableElement
- Mappings:
Namespace Name Mixin selector official d
Ldsn;d()V
intermediary method_25393
Lnet/minecraft/class_4893;method_25393()V
named tick
Lnet/minecraft/client/gui/screen/TickableElement;tick()V
-
removed
public void removed()- Mappings:
Namespace Name Mixin selector official e
Ldve;e()V
intermediary method_25432
Lnet/minecraft/class_437;method_25432()V
named removed
Lnet/minecraft/client/gui/screen/Screen;removed()V
-
renderBackground
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 a
Ldve;a(Ldlr;)V
intermediary method_25420
Lnet/minecraft/class_437;method_25420(Lnet/minecraft/class_4587;)V
named renderBackground
Lnet/minecraft/client/gui/screen/Screen;renderBackground(Lnet/minecraft/client/util/math/MatrixStack;)V
-
renderBackground
Renders the background of this screen.If the client is in a world, renders the translucent background gradient. Otherwise renders the background texture.
- Parameters:
vOffset
- an offset applied to the V coordinate of the background texture- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ldlr;I)V
intermediary method_25433
Lnet/minecraft/class_437;method_25433(Lnet/minecraft/class_4587;I)V
named renderBackground
Lnet/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.- Parameters:
vOffset
- an offset applied to the V coordinate of the background texture- Mappings:
Namespace Name Mixin selector official e
Ldve;e(I)V
intermediary method_25434
Lnet/minecraft/class_437;method_25434(I)V
named renderBackgroundTexture
Lnet/minecraft/client/gui/screen/Screen;renderBackgroundTexture(I)V
-
isPauseScreen
public boolean isPauseScreen()- Mappings:
Namespace Name Mixin selector official aD_
Ldve;aD_()Z
intermediary method_25421
Lnet/minecraft/class_437;method_25421()Z
named isPauseScreen
Lnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
-
confirmLink
private void confirmLink(boolean open)- Mappings:
Namespace Name Mixin selector official c
Ldve;c(Z)V
intermediary method_25428
Lnet/minecraft/class_437;method_25428(Z)V
named confirmLink
Lnet/minecraft/client/gui/screen/Screen;confirmLink(Z)V
-
openLink
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ljava/net/URI;)V
intermediary method_25416
Lnet/minecraft/class_437;method_25416(Ljava/net/URI;)V
named openLink
Lnet/minecraft/client/gui/screen/Screen;openLink(Ljava/net/URI;)V
-
hasControlDown
public static boolean hasControlDown()- Mappings:
Namespace Name Mixin selector official z
Ldve;z()Z
intermediary method_25441
Lnet/minecraft/class_437;method_25441()Z
named hasControlDown
Lnet/minecraft/client/gui/screen/Screen;hasControlDown()Z
-
hasShiftDown
public static boolean hasShiftDown()- Mappings:
Namespace Name Mixin selector official A
Ldve;A()Z
intermediary method_25442
Lnet/minecraft/class_437;method_25442()Z
named hasShiftDown
Lnet/minecraft/client/gui/screen/Screen;hasShiftDown()Z
-
hasAltDown
public static boolean hasAltDown()- Mappings:
Namespace Name Mixin selector official B
Ldve;B()Z
intermediary method_25443
Lnet/minecraft/class_437;method_25443()Z
named hasAltDown
Lnet/minecraft/client/gui/screen/Screen;hasAltDown()Z
-
isCut
public static boolean isCut(int code)- Mappings:
Namespace Name Mixin selector official f
Ldve;f(I)Z
intermediary method_25436
Lnet/minecraft/class_437;method_25436(I)Z
named isCut
Lnet/minecraft/client/gui/screen/Screen;isCut(I)Z
-
isPaste
public static boolean isPaste(int code)- Mappings:
Namespace Name Mixin selector official g
Ldve;g(I)Z
intermediary method_25437
Lnet/minecraft/class_437;method_25437(I)Z
named isPaste
Lnet/minecraft/client/gui/screen/Screen;isPaste(I)Z
-
isCopy
public static boolean isCopy(int code)- Mappings:
Namespace Name Mixin selector official h
Ldve;h(I)Z
intermediary method_25438
Lnet/minecraft/class_437;method_25438(I)Z
named isCopy
Lnet/minecraft/client/gui/screen/Screen;isCopy(I)Z
-
isSelectAll
public static boolean isSelectAll(int code)- Mappings:
Namespace Name Mixin selector official i
Ldve;i(I)Z
intermediary method_25439
Lnet/minecraft/class_437;method_25439(I)Z
named isSelectAll
Lnet/minecraft/client/gui/screen/Screen;isSelectAll(I)Z
-
resize
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ldqk;II)V
intermediary method_25410
Lnet/minecraft/class_437;method_25410(Lnet/minecraft/class_310;II)V
named resize
Lnet/minecraft/client/gui/screen/Screen;resize(Lnet/minecraft/client/MinecraftClient;II)V
-
wrapScreenError
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V
intermediary method_25412
Lnet/minecraft/class_437;method_25412(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V
named wrapScreenError
Lnet/minecraft/client/gui/screen/Screen;wrapScreenError(Ljava/lang/Runnable;Ljava/lang/String;Ljava/lang/String;)V
-
isValidCharacterForName
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ljava/lang/String;CI)Z
intermediary method_25414
Lnet/minecraft/class_437;method_25414(Ljava/lang/String;CI)Z
named isValidCharacterForName
Lnet/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.- Specified by:
isMouseOver
in interfaceElement
- Parameters:
mouseX
- the X coordinate of the mousemouseY
- the Y coordinate of the mouse- Returns:
true
if the mouse is within the bound of the element, otherwisefalse
- Mappings:
Namespace Name Mixin selector official b
Ldst;b(DD)Z
intermediary method_25405
Lnet/minecraft/class_364;method_25405(DD)Z
named isMouseOver
Lnet/minecraft/client/gui/Element;isMouseOver(DD)Z
-
filesDragged
- Mappings:
Namespace Name Mixin selector official a
Ldve;a(Ljava/util/List;)V
intermediary method_29638
Lnet/minecraft/class_437;method_29638(Ljava/util/List;)V
named filesDragged
Lnet/minecraft/client/gui/screen/Screen;filesDragged(Ljava/util/List;)V
-