类 NoticeScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.gui.screen.NoticeScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class NoticeScreen extends Screen
- Mappings:
Namespace Name official dyaintermediary net/minecraft/class_403named net/minecraft/client/gui/screen/NoticeScreen
-
-
字段概要
字段 修饰符和类型 字段 说明 private RunnableactionHandlerprotected TextbuttonTextprotected Textnoticeprivate MultilineTextnoticeLines-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 NoticeScreen(Runnable actionHandler, Text title, Text notice)NoticeScreen(Runnable actionHandler, Text title, Text notice, Text buttonText)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidinit()Called when a screen should be initialized.voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)-
从类继承的方法 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, keyPressed, onClose, removed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, 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
-
-
-
-
字段详细资料
-
actionHandler
private final Runnable actionHandler
- Mappings:
Namespace Name Mixin selector official cLdya;c:Ljava/lang/Runnable;intermediary field_2345Lnet/minecraft/class_403;field_2345:Ljava/lang/Runnable;named actionHandlerLnet/minecraft/client/gui/screen/NoticeScreen;actionHandler:Ljava/lang/Runnable;
-
notice
protected final Text notice
- Mappings:
Namespace Name Mixin selector official aLdya;a:Lon;intermediary field_2346Lnet/minecraft/class_403;field_2346:Lnet/minecraft/class_2561;named noticeLnet/minecraft/client/gui/screen/NoticeScreen;notice:Lnet/minecraft/text/Text;
-
noticeLines
private MultilineText noticeLines
- Mappings:
Namespace Name Mixin selector official pLdya;p:Ldwi;intermediary field_2348Lnet/minecraft/class_403;field_2348:Lnet/minecraft/class_5489;named noticeLinesLnet/minecraft/client/gui/screen/NoticeScreen;noticeLines:Lnet/minecraft/client/font/MultilineText;
-
buttonText
protected final Text buttonText
- Mappings:
Namespace Name Mixin selector official bLdya;b:Lon;intermediary field_2349Lnet/minecraft/class_403;field_2349:Lnet/minecraft/class_2561;named buttonTextLnet/minecraft/client/gui/screen/NoticeScreen;buttonText:Lnet/minecraft/text/Text;
-
-
构造器详细资料
-
NoticeScreen
public NoticeScreen(Runnable actionHandler, Text title, Text notice)
- Mappings:
Namespace Name Mixin selector official <init>Ldya;<init>(Ljava/lang/Runnable;Lon;Lon;)Vintermediary <init>Lnet/minecraft/class_403;<init>(Ljava/lang/Runnable;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/gui/screen/NoticeScreen;<init>(Ljava/lang/Runnable;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
-
NoticeScreen
public NoticeScreen(Runnable actionHandler, Text title, Text notice, Text buttonText)
- Mappings:
Namespace Name Mixin selector official <init>Ldya;<init>(Ljava/lang/Runnable;Lon;Lon;Lon;)Vintermediary <init>Lnet/minecraft/class_403;<init>(Ljava/lang/Runnable;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;Lnet/minecraft/class_2561;)Vnamed <init>Lnet/minecraft/client/gui/screen/NoticeScreen;<init>(Ljava/lang/Runnable;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;Lnet/minecraft/text/Text;)V
-
-
方法详细资料
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
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
-
-