类 RealmsLongConfirmationScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.realms.gui.screen.RealmsScreen
-
- net.minecraft.client.realms.gui.screen.RealmsLongConfirmationScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class RealmsLongConfirmationScreen extends RealmsScreen
- Mappings:
Namespace Name official dsaintermediary net/minecraft/class_4396named net/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classRealmsLongConfirmationScreen.Type
-
字段概要
字段 修饰符和类型 字段 说明 protected BooleanConsumerfield_22697private Textline2private Textline3private RealmsLongConfirmationScreen.Typetypeprivate booleanyesNoQuestion-
从类继承的字段 net.minecraft.client.realms.gui.screen.RealmsScreen
field_33036, field_33037, field_33038, field_33039, field_33040, field_33041, field_33042, field_33043, field_33044, field_33045, field_33046, field_33047, field_33048, field_33049, field_33050, field_33051, field_33052, field_33053, field_33054, field_33055, field_33056, field_33057, field_33058, field_33059, field_33060, field_33061, field_33062, field_33063, field_33064, field_33065
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 RealmsLongConfirmationScreen(BooleanConsumer booleanConsumer, RealmsLongConfirmationScreen.Type type, Text line2, Text line3, boolean yesNoQuestion)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers)Callback for when a key down event has been captured.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)-
从类继承的方法 net.minecraft.client.realms.gui.screen.RealmsScreen
narrateLabels, row, tick
-
从类继承的方法 net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, 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, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
type
private final RealmsLongConfirmationScreen.Type type
- Mappings:
Namespace Name Mixin selector official bLdsa;b:Ldsa$a;intermediary field_19895Lnet/minecraft/class_4396;field_19895:Lnet/minecraft/class_4396$class_4397;named typeLnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen;type:Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;
-
line2
private final Text line2
- Mappings:
Namespace Name Mixin selector official cLdsa;c:Lon;intermediary field_19896Lnet/minecraft/class_4396;field_19896:Lnet/minecraft/class_2561;named line2Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen;line2:Lnet/minecraft/text/Text;
-
line3
private final Text line3
- Mappings:
Namespace Name Mixin selector official TLdsa;T:Lon;intermediary field_19897Lnet/minecraft/class_4396;field_19897:Lnet/minecraft/class_2561;named line3Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen;line3:Lnet/minecraft/text/Text;
-
field_22697
protected final BooleanConsumer field_22697
- Mappings:
Namespace Name Mixin selector official aLdsa;a:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_22697Lnet/minecraft/class_4396;field_22697:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;named field_22697Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen;field_22697:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
yesNoQuestion
private final boolean yesNoQuestion
- Mappings:
Namespace Name Mixin selector official ULdsa;U:Zintermediary field_19899Lnet/minecraft/class_4396;field_19899:Znamed yesNoQuestionLnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen;yesNoQuestion:Z
-
-
构造器详细资料
-
RealmsLongConfirmationScreen
public RealmsLongConfirmationScreen(BooleanConsumer booleanConsumer, RealmsLongConfirmationScreen.Type type, Text line2, Text line3, boolean yesNoQuestion)
- Mappings:
Namespace Name Mixin selector official <init>Ldsa;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Ldsa$a;Lon;Lon;Z)Vintermediary <init>Lnet/minecraft/class_4396;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/class_4396$class_4397;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Z)Vnamed <init>Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lnet/minecraft/client/realms/gui/screen/RealmsLongConfirmationScreen$Type;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Z)V
-
-
方法详细资料
-
init
public void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
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在类中Screen- 参数:
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
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中Screen- 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
-
-