Class RealmsPdpScreen.PdpFeatureEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsPdpScreen.AbstractPdpEntry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<RealmsPdpScreen.AbstractPdpEntry>
com.mojang.realmsclient.gui.screens.RealmsPdpScreen.AbstractPdpEntry
com.mojang.realmsclient.gui.screens.RealmsPdpScreen.PdpFeatureEntry
- All Implemented Interfaces:
GuiEventListener, TabOrderedElement, LayoutElement, NarrationSupplier
- Enclosing class:
RealmsPdpScreen
-
Field Summary
FieldsFields inherited from class RealmsPdpScreen.AbstractPdpEntry
titleFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePdpFeatureEntry(Identifier image, Component title, Component... descriptions) -
Method Summary
Modifier and TypeMethodDescriptionprivate intvoidextractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a) private intprivate inttitleX()Methods inherited from class ObjectSelectionList.Entry
mouseClicked, 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
capturesInput, charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, preeditUpdated, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
image
-
descriptions
-
-
Constructor Details
-
PdpFeatureEntry
-
-
Method Details
-
entryHeight
private int entryHeight() -
textHeight
private int textHeight() -
extractContent
public void extractContent(GuiGraphicsExtractor graphics, int mouseX, int mouseY, boolean hovered, float a) - Specified by:
extractContentin classAbstractSelectionList.Entry<RealmsPdpScreen.AbstractPdpEntry>
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<RealmsPdpScreen.AbstractPdpEntry>
-
titleX
private int titleX()
-