Package net.minecraft.client.gui.screen
Class LanguageScreen.List
- java.lang.Object
-
- net.minecraft.client.gui.AbstractGui
-
- net.minecraft.client.gui.FocusableGui
-
- net.minecraft.client.gui.widget.list.AbstractList<E>
-
- net.minecraft.client.gui.widget.list.ExtendedList<LanguageScreen.List.LanguageEntry>
-
- net.minecraft.client.gui.screen.LanguageScreen.List
-
- All Implemented Interfaces:
IGuiEventListener
,INestedGuiEventHandler
,IRenderable
- Enclosing class:
- LanguageScreen
class LanguageScreen.List extends ExtendedList<LanguageScreen.List.LanguageEntry>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
LanguageScreen.List.LanguageEntry
-
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.ExtendedList
ExtendedList.AbstractListEntry<E extends ExtendedList.AbstractListEntry<E>>
-
Nested classes/interfaces inherited from class net.minecraft.client.gui.widget.list.AbstractList
AbstractList.Ordering
-
-
Field Summary
-
Fields inherited from class net.minecraft.client.gui.widget.list.AbstractList
centerListVertically, headerHeight, height, itemHeight, minecraft, width, x0, x1, y0, y1
-
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRowWidth()
protected int
getScrollbarPosition()
protected boolean
isFocused()
protected void
renderBackground(MatrixStack p_230433_1_)
void
setSelected(LanguageScreen.List.LanguageEntry p_241215_1_)
-
Methods inherited from class net.minecraft.client.gui.widget.list.ExtendedList
changeFocus
-
Methods inherited from class net.minecraft.client.gui.widget.list.AbstractList
addEntry, centerScrollOn, children, clearEntries, clickedHeader, ensureVisible, getBottom, getEntry, getEntryAtPosition, getFocused, getHeight, getItemCount, getLeft, getMaxPosition, getMaxScroll, getRight, getRowLeft, getRowRight, getRowTop, getScrollAmount, getSelected, getTop, getWidth, isMouseOver, isSelectedItem, keyPressed, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, moveSelection, moveSelection, refreshSelection, remove, removeEntry, render, renderDecorations, renderHeader, renderList, replaceEntries, setLeftPos, setRenderBackground, setRenderHeader, setRenderSelection, setRenderTopAndBottom, setScrollAmount, updateScrollingState, updateSize
-
Methods inherited from class net.minecraft.client.gui.FocusableGui
isDragging, setDragging, setFocused
-
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
-
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.IGuiEventListener
mouseMoved
-
Methods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, setInitialFocus
-
-
-
-
Constructor Detail
-
List
public List(Minecraft p_i45519_2_)
-
-
Method Detail
-
getScrollbarPosition
protected int getScrollbarPosition()
- Overrides:
getScrollbarPosition
in classAbstractList<LanguageScreen.List.LanguageEntry>
-
getRowWidth
public int getRowWidth()
- Overrides:
getRowWidth
in classAbstractList<LanguageScreen.List.LanguageEntry>
-
setSelected
public void setSelected(@Nullable LanguageScreen.List.LanguageEntry p_241215_1_)
- Overrides:
setSelected
in classAbstractList<LanguageScreen.List.LanguageEntry>
-
renderBackground
protected void renderBackground(MatrixStack p_230433_1_)
- Overrides:
renderBackground
in classAbstractList<LanguageScreen.List.LanguageEntry>
-
isFocused
protected boolean isFocused()
- Overrides:
isFocused
in classAbstractList<LanguageScreen.List.LanguageEntry>
-
-