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_346403_, int p_345881_, int p_345858_) boolean
mouseClicked
(double p_344965_, double p_345385_, int p_345080_) 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_) 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_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:
render
in 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:
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>
-