Class RealmsSubscriptionInfoScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.realms.RealmsScreen
com.mojang.realmsclient.gui.screens.RealmsSubscriptionInfoScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class RealmsSubscriptionInfoScreen extends RealmsScreen
-
Field Summary
Fields Modifier and Type Field Description private intdaysLeftprivate StringdaysLeftLabelTextprivate ScreenlastScreenprivate static LoggerLOGGERprivate ScreenmainScreenprivate RealmsServerserverDataprivate StringstartDateprivate StringsubscriptionStartLabelTextprivate StringsubscriptionTitleprivate StringtimeLeftLabelTextprivate Subscription.SubscriptionTypetypeFields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
BACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors Constructor Description RealmsSubscriptionInfoScreen(Screen screen, RealmsServer serverData, Screen screen2) -
Method Summary
Modifier and Type Method Description private StringdaysLeftPresentation(int daysLeft)private voidgetSubscription(long worldId)voidinit()booleankeyPressed(int keyCode, int scanCode, int modifiers)private StringlocalPresentation(long cetTime)private voidmethod_25271(boolean bool)voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, method_29638, onClose, renderBackground, renderBackground, renderBackgroundTexture, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
Constructor Details
-
Method Details
-
init
public void init() -
method_25271
private void method_25271(boolean bool) -
getSubscription
private void getSubscription(long worldId) -
localPresentation
-
removed
public void removed() -
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers)- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen
-
render
-
daysLeftPresentation
-