类 SelectWorldScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.gui.screen.world.SelectWorldScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class SelectWorldScreen extends Screen
- Mappings:
Namespace Name official ecxintermediary net/minecraft/class_526named net/minecraft/client/gui/screen/world/SelectWorldScreen
-
-
字段概要
字段 修饰符和类型 字段 说明 private ButtonWidgetdeleteButtonprivate ButtonWidgeteditButtonprivate static Loggerfield_28783private WorldListWidgetlevelListprotected Screenparentprivate ButtonWidgetrecreateButtonprotected TextFieldWidgetsearchBoxprivate ButtonWidgetselectButtonprivate List<OrderedText>tooltipText-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 SelectWorldScreen(Screen parent)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancharTyped(char chr, int modifiers)Callback for when a character input has been captured.protected 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.booleanmouseScrolled(double mouseX, double mouseY, double amount)Callback for when a mouse button scroll event has been captured.voidonClose()voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidsetTooltip(List<OrderedText> tooltipText)voidtick()voidworldSelected(boolean active)-
从类继承的方法 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, 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, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, setInitialFocus
-
-
-
-
字段详细资料
-
field_28783
private static final Logger field_28783
- Mappings:
Namespace Name Mixin selector official cLecx;c:Lorg/apache/logging/log4j/Logger;intermediary field_28783Lnet/minecraft/class_526;field_28783:Lorg/apache/logging/log4j/Logger;named field_28783Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;field_28783:Lorg/apache/logging/log4j/Logger;
-
parent
protected final Screen parent
- Mappings:
Namespace Name Mixin selector official aLecx;a:Ldzg;intermediary field_3221Lnet/minecraft/class_526;field_3221:Lnet/minecraft/class_437;named parentLnet/minecraft/client/gui/screen/world/SelectWorldScreen;parent:Lnet/minecraft/client/gui/screen/Screen;
-
tooltipText
private List<OrderedText> tooltipText
- Mappings:
Namespace Name Mixin selector official pLecx;p:Ljava/util/List;intermediary field_3222Lnet/minecraft/class_526;field_3222:Ljava/util/List;named tooltipTextLnet/minecraft/client/gui/screen/world/SelectWorldScreen;tooltipText:Ljava/util/List;
-
deleteButton
private ButtonWidget deleteButton
- Mappings:
Namespace Name Mixin selector official qLecx;q:Ldvw;intermediary field_3219Lnet/minecraft/class_526;field_3219:Lnet/minecraft/class_4185;named deleteButtonLnet/minecraft/client/gui/screen/world/SelectWorldScreen;deleteButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
selectButton
private ButtonWidget selectButton
- Mappings:
Namespace Name Mixin selector official rLecx;r:Ldvw;intermediary field_3224Lnet/minecraft/class_526;field_3224:Lnet/minecraft/class_4185;named selectButtonLnet/minecraft/client/gui/screen/world/SelectWorldScreen;selectButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
editButton
private ButtonWidget editButton
- Mappings:
Namespace Name Mixin selector official sLecx;s:Ldvw;intermediary field_3215Lnet/minecraft/class_526;field_3215:Lnet/minecraft/class_4185;named editButtonLnet/minecraft/client/gui/screen/world/SelectWorldScreen;editButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
recreateButton
private ButtonWidget recreateButton
- Mappings:
Namespace Name Mixin selector official tLecx;t:Ldvw;intermediary field_3216Lnet/minecraft/class_526;field_3216:Lnet/minecraft/class_4185;named recreateButtonLnet/minecraft/client/gui/screen/world/SelectWorldScreen;recreateButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
searchBox
protected TextFieldWidget searchBox
- Mappings:
Namespace Name Mixin selector official bLecx;b:Ldwe;intermediary field_3220Lnet/minecraft/class_526;field_3220:Lnet/minecraft/class_342;named searchBoxLnet/minecraft/client/gui/screen/world/SelectWorldScreen;searchBox:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
levelList
private WorldListWidget levelList
- Mappings:
Namespace Name Mixin selector official uLecx;u:Leda;intermediary field_3218Lnet/minecraft/class_526;field_3218:Lnet/minecraft/class_528;named levelListLnet/minecraft/client/gui/screen/world/SelectWorldScreen;levelList:Lnet/minecraft/client/gui/screen/world/WorldListWidget;
-
-
构造器详细资料
-
SelectWorldScreen
public SelectWorldScreen(Screen parent)
- Mappings:
Namespace Name Mixin selector official <init>Lecx;<init>(Ldzg;)Vintermediary <init>Lnet/minecraft/class_526;<init>(Lnet/minecraft/class_437;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/SelectWorldScreen;<init>(Lnet/minecraft/client/gui/screen/Screen;)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
-
tick
public void tick()
- 指定者:
tick在接口中TickableElement- 覆盖:
tick在类中Screen- 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
-
init
protected 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
-
onClose
public void onClose()
-
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
-
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
-
setTooltip
public void setTooltip(List<OrderedText> tooltipText)
- Mappings:
Namespace Name Mixin selector official bLecx;b(Ljava/util/List;)Vintermediary method_2739Lnet/minecraft/class_526;method_2739(Ljava/util/List;)Vnamed setTooltipLnet/minecraft/client/gui/screen/world/SelectWorldScreen;setTooltip(Ljava/util/List;)V
-
worldSelected
public void worldSelected(boolean active)
- Mappings:
Namespace Name Mixin selector official cLecx;c(Z)Vintermediary method_19940Lnet/minecraft/class_526;method_19940(Z)Vnamed worldSelectedLnet/minecraft/client/gui/screen/world/SelectWorldScreen;worldSelected(Z)V
-
-