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
Modifier and TypeFieldDescription(package private) final String
private final Component
private long
Fields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
list
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
keyPressed
(int p_343262_, int p_344349_, int p_345020_) boolean
mouseClicked
(double p_342624_, double p_342099_, int p_344982_) void
render
(GuiGraphics p_344847_, int p_342936_, int p_344271_, int p_343473_, int p_343669_, int p_343479_, int p_342702_, int p_343137_, boolean p_344510_, float p_345266_) private void
select()
Methods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarration
Methods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocused
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath
Methods 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_344847_, int p_342936_, int p_344271_, int p_343473_, int p_343669_, int p_343479_, int p_342702_, int p_343137_, boolean p_344510_, float p_345266_) - Specified by:
render
in classAbstractSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-
keyPressed
public boolean keyPressed(int p_343262_, int p_344349_, int p_345020_) -
mouseClicked
public boolean mouseClicked(double p_342624_, double p_342099_, int p_344982_) - Specified by:
mouseClicked
in interfaceGuiEventListener
- Overrides:
mouseClicked
in classObjectSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-
select
private void select() -
getNarration
- Specified by:
getNarration
in classObjectSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-