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,NarrationSupplier
- Enclosing class:
LanguageSelectScreen.LanguageSelectionList
public class LanguageSelectScreen.LanguageSelectionList.Entry
extends ObjectSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final Stringprivate final Componentprivate longFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleankeyPressed(int p_346403_, int p_345881_, int p_345858_) booleanmouseClicked(double p_344965_, double p_345385_, int p_345080_) voidrender(GuiGraphics p_345300_, int p_345469_, int p_345328_, int p_345700_, int p_345311_, int p_345185_, int p_344805_, int p_345963_, boolean p_345912_, float p_346091_) private voidselect()Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocusedMethods 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, getCurrentFocusPath, getRectangle, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
code
-
language
-
lastClickTime
private long lastClickTime
-
-
Constructor Details
-
Entry
-
-
Method Details
-
render
public void render(GuiGraphics p_345300_, int p_345469_, int p_345328_, int p_345700_, int p_345311_, int p_345185_, int p_344805_, int p_345963_, boolean p_345912_, float p_346091_) - Specified by:
renderin classAbstractSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-
keyPressed
public boolean keyPressed(int p_346403_, int p_345881_, int p_345858_) -
mouseClicked
public boolean mouseClicked(double p_344965_, double p_345385_, int p_345080_) - Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-
select
private void select() -
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-