Class RealmsSelectWorldTemplateScreen.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsSelectWorldTemplateScreen.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<RealmsSelectWorldTemplateScreen.Entry>
com.mojang.realmsclient.gui.screens.RealmsSelectWorldTemplateScreen.Entry
- All Implemented Interfaces:
GuiEventListener, TabOrderedElement, LayoutElement, NarrationSupplier
- Enclosing class:
RealmsSelectWorldTemplateScreen
private class RealmsSelectWorldTemplateScreen.Entry
extends ObjectSelectionList.Entry<RealmsSelectWorldTemplateScreen.Entry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Componentfinal WorldTemplateprivate static final WidgetSpritesprivate static final Componentprivate @Nullable ImageButtonprivate static final WidgetSpritesprivate @Nullable ImageButtonFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanmouseClicked(MouseButtonEvent event, boolean doubleClick) voidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) Methods inherited from class ObjectSelectionList.Entry
updateNarrationMethods 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 GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
WEBSITE_LINK_SPRITES
-
TRAILER_LINK_SPRITES
-
PUBLISHER_LINK_TOOLTIP
-
TRAILER_LINK_TOOLTIP
-
template
-
websiteButton
-
trailerButton
-
-
Constructor Details
-
Entry
-
-
Method Details
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<RealmsSelectWorldTemplateScreen.Entry>
-
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<RealmsSelectWorldTemplateScreen.Entry>
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<RealmsSelectWorldTemplateScreen.Entry>
-