类 SleepingChatScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.gui.screen.ChatScreen
-
- net.minecraft.client.gui.screen.SleepingChatScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class SleepingChatScreen extends ChatScreen
- Mappings:
Namespace Name official dyrintermediary net/minecraft/class_423named net/minecraft/client/gui/screen/SleepingChatScreen
-
-
字段概要
-
从类继承的字段 net.minecraft.client.gui.screen.ChatScreen
chatField, field_32237
-
从类继承的字段 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
-
-
构造器概要
构造器 构造器 说明 SleepingChatScreen()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 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.voidonClose()private voidstopSleeping()-
从类继承的方法 net.minecraft.client.gui.screen.ChatScreen
insertText, isPauseScreen, mouseClicked, mouseScrolled, removed, render, resize, setChatFromHistory, tick
-
从类继承的方法 net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, 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, mouseDragged, mouseReleased, setInitialFocus
-
-
-
-
方法详细资料
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
- 覆盖:
init在类中ChatScreen- 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
-
onClose
public void onClose()
-
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在类中ChatScreen- 参数:
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
-
stopSleeping
private void stopSleeping()
- Mappings:
Namespace Name Mixin selector official hLdyr;h()Vintermediary method_2180Lnet/minecraft/class_423;method_2180()Vnamed stopSleepingLnet/minecraft/client/gui/screen/SleepingChatScreen;stopSleeping()V
-
-