Class RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
com.mojang.realmsclient.gui.screens.configuration.RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry
- All Implemented Interfaces:
GuiEventListener,TabOrderedElement,LayoutElement,NarrationSupplier
- Enclosing class:
RealmsPreferredRegionSelectionScreen.RegionSelectionList
class RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry
extends ObjectSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Component(package private) final RealmsSettingsTab.RegionSelectionFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsConstructorDescriptionEntry(RegionSelectionPreference pRegionSelectionPreference, @Nullable RealmsRegion pPreferredRegion) Entry(RealmsSettingsTab.RegionSelection pRegionSelection) -
Method Summary
Modifier and TypeMethodDescriptionbooleankeyPressed(KeyEvent p_470638_) booleanmouseClicked(MouseButtonEvent p_446798_, boolean p_434634_) voidrenderContent(GuiGraphics p_438873_, int p_439141_, int p_439882_, boolean p_440139_, float p_440313_) Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface net.minecraft.client.gui.layouts.LayoutElement
setPositionMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
regionSelection
-
name
-
-
Constructor Details
-
Entry
public Entry(RegionSelectionPreference pRegionSelectionPreference, @Nullable RealmsRegion pPreferredRegion) -
Entry
-
-
Method Details
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
-
renderContent
public void renderContent(GuiGraphics p_438873_, int p_439141_, int p_439882_, boolean p_440139_, float p_440313_) - Specified by:
renderContentin classAbstractSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
-
keyPressed
-