Package net.minecraft.client.gui.screens
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.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_330829_, int p_334115_, int p_333114_) boolean
mouseClicked
(double p_96122_, double p_96123_, int p_96124_) void
render
(GuiGraphics p_282025_, int p_283548_, int p_282485_, int p_282109_, int p_283314_, int p_283303_, int p_281337_, int p_283527_, boolean p_283295_, float p_282169_) 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_282025_, int p_283548_, int p_282485_, int p_282109_, int p_283314_, int p_283303_, int p_281337_, int p_283527_, boolean p_283295_, float p_282169_) - Specified by:
render
in classAbstractSelectionList.Entry<LanguageSelectScreen.LanguageSelectionList.Entry>
-
keyPressed
public boolean keyPressed(int p_330829_, int p_334115_, int p_333114_) -
mouseClicked
public boolean mouseClicked(double p_96122_, double p_96123_, int p_96124_) - 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>
-