类 WinScreen
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.WinScreen
- 所有已实现的接口:
ContainerEventHandler
,GuiEventListener
,Renderable
,TabOrderedElement
-
嵌套类概要
嵌套类从类继承的嵌套类/接口 net.minecraft.client.gui.screens.Screen
Screen.DeferredTooltipRendering, Screen.NarratableSearchResult
-
字段概要
字段修饰符和类型字段说明private it.unimi.dsi.fastutil.ints.IntSet
private static final ResourceLocation
private int
private static final ResourceLocation
private List
<FormattedCharSequence> private static final org.slf4j.Logger
private final LogoRenderer
private static final String
private static final String
private final Runnable
private final boolean
private static final ResourceLocation
private float
private float
private static final Component
private static final float
private static final float
private boolean
private final it.unimi.dsi.fastutil.ints.IntSet
private int
private final float
private static final ResourceLocation
从类继承的字段 net.minecraft.client.gui.screens.Screen
CUBE_MAP, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, PANORAMA, renderables, screenExecutor, title, width
从接口继承的字段 net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private void
addCreditsFile
(Reader p_232820_) private void
addCreditsLine
(Component p_169473_, boolean p_169474_) private void
private void
addPoemFile
(Reader p_232818_) private void
addPoemLines
(String p_181398_) private float
protected void
init()
boolean
boolean
keyPressed
(int p_169469_, int p_169470_, int p_169471_) boolean
keyReleased
(int p_169476_, int p_169477_, int p_169478_) void
onClose()
void
removed()
void
render
(GuiGraphics p_281907_, int p_282364_, int p_282696_, float p_281316_) void
renderBackground
(GuiGraphics p_282239_, int p_298581_, int p_297654_, float p_300743_) protected void
renderMenuBackground
(GuiGraphics p_335873_, int p_330470_, int p_334347_, int p_334935_, int p_329161_) private void
renderVignette
(GuiGraphics p_330215_) private void
respawn()
void
tick()
private void
wrapCreditsIO
(ResourceLocation p_342721_, WinScreen.CreditsReader p_197400_) 从类继承的方法 net.minecraft.client.gui.screens.Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, changeFocus, children, clearFocus, clearTooltipForNextRenderPass, clearWidgets, fillCrashDetails, findNarratableWidget, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, rebuildWidgets, removeWidget, renderBlurredBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltip, repositionElements, resize, setInitialFocus, setInitialFocus, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, setTooltipForNextRenderPass, shouldCloseOnEsc, shouldNarrateNavigation, showsActiveEffects, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatus
从类继承的方法 net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraft.client.gui.components.events.ContainerEventHandler
charTyped, getChildAt, getCurrentFocusPath, isFocused, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocused
从接口继承的方法 net.minecraft.client.gui.components.events.GuiEventListener
getBorderForArrowNavigation, mouseMoved
从接口继承的方法 net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
字段详细资料
-
VIGNETTE_LOCATION
-
LOGGER
private static final org.slf4j.Logger LOGGER -
SECTION_HEADING
-
NAME_PREFIX
- 另请参阅:
-
OBFUSCATE_TOKEN
-
SPEEDUP_FACTOR
private static final float SPEEDUP_FACTOR- 另请参阅:
-
SPEEDUP_FACTOR_FAST
private static final float SPEEDUP_FACTOR_FAST- 另请参阅:
-
END_POEM_LOCATION
-
CREDITS_LOCATION
-
POSTCREDITS_LOCATION
-
poem
private final boolean poem -
onFinished
-
scroll
private float scroll -
lines
-
centeredLines
private it.unimi.dsi.fastutil.ints.IntSet centeredLines -
totalScrollLength
private int totalScrollLength -
speedupActive
private boolean speedupActive -
speedupModifiers
private final it.unimi.dsi.fastutil.ints.IntSet speedupModifiers -
scrollSpeed
private float scrollSpeed -
unmodifiedScrollSpeed
private final float unmodifiedScrollSpeed -
direction
private int direction -
logoRenderer
-
-
构造器详细资料
-
WinScreen
-
-
方法详细资料
-
calculateScrollSpeed
private float calculateScrollSpeed() -
tick
public void tick() -
keyPressed
public boolean keyPressed(int p_169469_, int p_169470_, int p_169471_) - 指定者:
keyPressed
在接口中ContainerEventHandler
- 指定者:
keyPressed
在接口中GuiEventListener
- 覆盖:
keyPressed
在类中Screen
-
keyReleased
public boolean keyReleased(int p_169476_, int p_169477_, int p_169478_) -
onClose
public void onClose() -
respawn
private void respawn() -
init
protected void init() -
wrapCreditsIO
-
addPoemFile
- 抛出:
IOException
-
addCreditsFile
-
addEmptyLine
private void addEmptyLine() -
addPoemLines
-
addCreditsLine
-
render
- 指定者:
render
在接口中Renderable
- 覆盖:
render
在类中Screen
-
renderVignette
-
renderBackground
- 覆盖:
renderBackground
在类中Screen
-
renderMenuBackground
protected void renderMenuBackground(GuiGraphics p_335873_, int p_330470_, int p_334347_, int p_334935_, int p_329161_) - 覆盖:
renderMenuBackground
在类中Screen
-
isPauseScreen
public boolean isPauseScreen()- 覆盖:
isPauseScreen
在类中Screen
-
removed
public void removed() -
getBackgroundMusic
- 覆盖:
getBackgroundMusic
在类中Screen
-