public class WinGameScreen extends Screen
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
field_194401_g |
private java.util.List<java.lang.String> |
lines |
private static org.apache.logging.log4j.Logger |
LOGGER |
private static ResourceLocation |
MINECRAFT_LOGO |
private java.lang.Runnable |
onFinished |
private boolean |
poem |
private float |
scrollSpeed |
private float |
time |
private int |
totalScrollLength |
private static ResourceLocation |
VIGNETTE_TEXTURE |
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Constructor and Description |
---|
WinGameScreen(boolean poemIn,
java.lang.Runnable onFinishedIn) |
Modifier and Type | Method and Description |
---|---|
private void |
drawWinGameScreen(int p_146575_1_,
int p_146575_2_,
float p_146575_3_) |
protected void |
init() |
void |
onClose() |
void |
render(int p_render_1_,
int p_render_2_,
float p_render_3_) |
private void |
sendRespawnPacket() |
void |
tick() |
addButton, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, removed, renderBackground, renderBackground, renderComponentHoverEffect, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, setSize, shouldCloseOnEsc, wrapScreenError
getFocused, isDragging, setDragging, setFocused
blit, blit, blit, blit, blit, drawCenteredString, drawRightAlignedString, drawString, fill, fill, fillGradient, getBlitOffset, hLine, innerBlit, setBlitOffset, vLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, func_212932_b, getEventListenerForPos, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocusedDefault
mouseMoved
private static final org.apache.logging.log4j.Logger LOGGER
private static final ResourceLocation MINECRAFT_LOGO
private static final ResourceLocation field_194401_g
private static final ResourceLocation VIGNETTE_TEXTURE
private final boolean poem
private final java.lang.Runnable onFinished
private float time
private java.util.List<java.lang.String> lines
private int totalScrollLength
private float scrollSpeed
public WinGameScreen(boolean poemIn, java.lang.Runnable onFinishedIn)
private void sendRespawnPacket()
private void drawWinGameScreen(int p_146575_1_, int p_146575_2_, float p_146575_3_)
public void render(int p_render_1_, int p_render_2_, float p_render_3_)
render
in interface IRenderable
render
in class Screen