Class RealmsPendingInvitesScreen.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsPendingInvitesScreen.Entry>
net.minecraft.client.gui.components.ContainerObjectSelectionList.Entry<RealmsPendingInvitesScreen.Entry>
com.mojang.realmsclient.gui.screens.RealmsPendingInvitesScreen.Entry
- All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, TabOrderedElement, LayoutElement
- Enclosing class:
RealmsPendingInvitesScreen
private class RealmsPendingInvitesScreen.Entry
extends ContainerObjectSelectionList.Entry<RealmsPendingInvitesScreen.Entry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Componentprivate static final WidgetSpritesprivate final SpriteIconButtonprivate final List<AbstractWidget> private final StringWidgetprivate final PendingInviteprivate final StringWidgetprivate final StringWidgetprivate static final Componentprivate static final WidgetSpritesprivate final SpriteIconButtonprivate static final intprivate static final intprivate static final intFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<? extends GuiEventListener> children()private Button.CreateNarrationgetCreateNarration(PendingInvite pendingInvite) private voidhandleInvitation(boolean accept) List<? extends NarratableEntry> voidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) Methods inherited from class ContainerObjectSelectionList.Entry
focusPathAtIndex, getFocused, isDragging, mouseClicked, nextFocusPath, setDragging, setFocusedMethods inherited from class AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyPressed, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setFocusedMethods inherited from interface GuiEventListener
getRectangle, isMouseOver, mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
ACCEPT_INVITE
-
REJECT_INVITE
-
ACCEPT_SPRITE
-
REJECT_SPRITE
-
SPRITE_TEXTURE_SIZE
private static final int SPRITE_TEXTURE_SIZE- See Also:
-
SPRITE_SIZE
private static final int SPRITE_SIZE- See Also:
-
TEXT_LEFT
private static final int TEXT_LEFT- See Also:
-
pendingInvite
-
children
-
acceptButton
-
rejectButton
-
realmName
-
realmOwnerName
-
inviteDate
-
-
Constructor Details
-
Entry
Entry(PendingInvite pendingInvite)
-
-
Method Details
-
getCreateNarration
-
children
-
narratables
- Specified by:
narratablesin classContainerObjectSelectionList.Entry<RealmsPendingInvitesScreen.Entry>
-
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<RealmsPendingInvitesScreen.Entry>
-
handleInvitation
private void handleInvitation(boolean accept)
-