@Environment(value=CLIENT) public class CreditsScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
private List<StringRenderable> |
credits |
private int |
creditsHeight |
private static Identifier |
EDITION_TITLE_TEXTURE |
private boolean |
endCredits |
private static String |
field_24260 |
private it.unimi.dsi.fastutil.ints.IntSet |
field_24261 |
private Runnable |
finishAction |
private static Logger |
LOGGER |
private static Identifier |
MINECRAFT_TITLE_TEXTURE |
private float |
speed |
private float |
time |
private static Identifier |
VIGNETTE_TEXTURE |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
CreditsScreen(boolean endCredits,
Runnable finishAction) |
| Modifier and Type | Method and Description |
|---|---|
private void |
close() |
protected void |
init() |
void |
onClose() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
private void |
renderBackground(int mouseX,
int mouseY,
float tickDelta) |
void |
tick() |
addButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, method_29638, removed, renderBackground, renderBackground, renderBackgroundTexture, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Logger LOGGER
private static final Identifier MINECRAFT_TITLE_TEXTURE
private static final Identifier EDITION_TITLE_TEXTURE
private static final Identifier VIGNETTE_TEXTURE
private static final String field_24260
private final boolean endCredits
private final Runnable finishAction
private float time
private List<StringRenderable> credits
private it.unimi.dsi.fastutil.ints.IntSet field_24261
private int creditsHeight
private float speed
public CreditsScreen(boolean endCredits,
Runnable finishAction)
public void tick()
tick in interface TickableElementtick in class Screenprivate void close()
private void renderBackground(int mouseX,
int mouseY,
float tickDelta)
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)