Class LanguageSelectScreen.LanguageSelectionList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
net.minecraft.client.gui.screens.options.LanguageSelectScreen.LanguageSelectionList.Entry
- All Implemented Interfaces:
GuiEventListener, TabOrderedElement, LayoutElement, NarrationSupplier
- Enclosing class:
LanguageSelectScreen.LanguageSelectionList
public class LanguageSelectScreen.LanguageSelectionList.Entry
extends ObjectSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-
Field Summary
FieldsFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleankeyPressed(KeyEvent event) booleanmouseClicked(MouseButtonEvent event, boolean doubleClick) voidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) private voidselect()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, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
code
-
language
-
-
Constructor Details
-
Entry
-
-
Method Details
-
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-
keyPressed
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-
select
private void select() -
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-