Class PresetsScreen.SuperflatPresetsListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
net.minecraft.client.gui.widget.ScrollableWidget
net.minecraft.client.gui.widget.ContainerWidget
net.minecraft.client.gui.widget.EntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>
net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>
net.minecraft.client.gui.screen.world.PresetsScreen.SuperflatPresetsListWidget
- All Implemented Interfaces:
- Drawable,- Element,- Narratable,- Navigable,- ParentElement,- Selectable,- Widget
- Enclosing class:
- PresetsScreen
@Environment(CLIENT)
private class PresetsScreen.SuperflatPresetsListWidget
extends AlwaysSelectedEntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/screen/world/PresetsScreen$SuperflatPresetsListWidget- intermediary - net/minecraft/class_430$class_4196- official - fui$a
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionclassNested classes/interfaces inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidgetAlwaysSelectedEntryListWidget.Entry<E extends AlwaysSelectedEntryListWidget.Entry<E>>Nested classes/interfaces inherited from interface net.minecraft.client.gui.SelectableSelectable.SelectionType
- 
Field SummaryFields inherited from class net.minecraft.client.gui.widget.EntryListWidgetcenterListVertically, client, headerHeight, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidgetSCROLLBAR_WIDTHFields inherited from class net.minecraft.client.gui.widget.ClickableWidgetactive, alpha, height, hovered, visible, widthFields inherited from interface net.minecraft.client.gui.ElementMAX_DOUBLE_CLICK_INTERVAL
- 
Constructor SummaryConstructorsConstructorDescriptionSuperflatPresetsListWidget(DynamicRegistryManager dynamicRegistryManager, FeatureSet featureSet) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.voidsetSelected(@Nullable PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry superflatPresetEntry) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidgetappendClickableNarrations, getNavigationPathMethods inherited from class net.minecraft.client.gui.widget.EntryListWidgetaddEntry, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getContentsHeightWithPadding, getDeltaYPerScroll, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollbarX, getSelectedOrNull, getType, hoveredElement, isSelectedEntry, position, position, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderEntry, renderHeader, renderList, renderWidget, replaceEntries, setFocused, setSelectedMethods inherited from class net.minecraft.client.gui.widget.ContainerWidgetisDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidgetcheckScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, mouseScrolled, onRelease, overflows, refreshScroll, setScrollYMethods inherited from class net.minecraft.client.gui.widget.ClickableWidgetappendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isMouseOver, isNarratable, isSelected, isValidClickButton, onClick, onDrag, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.ElementgetBorder, getNavigationFocus, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.NavigablegetNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElementcharTyped, getFocusedPath, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.SelectablegetNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.WidgetsetPosition
- 
Constructor Details- 
SuperflatPresetsListWidgetpublic SuperflatPresetsListWidget(DynamicRegistryManager dynamicRegistryManager, FeatureSet featureSet) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/gui/screen/world/PresetsScreen$SuperflatPresetsListWidget;<init>(Lnet/minecraft/client/gui/screen/world/PresetsScreen;Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/resource/featuretoggle/FeatureSet;)V- intermediary - <init>- Lnet/minecraft/class_430$class_4196;<init>(Lnet/minecraft/class_430;Lnet/minecraft/class_5455;Lnet/minecraft/class_7699;)V- official - <init>- Lfui$a;<init>(Lfui;Lkf;Lcru;)V
 
 
- 
- 
Method Details- 
setSelectedpublic void setSelected(@Nullable @Nullable PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry superflatPresetEntry) - Overrides:
- setSelectedin class- EntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>
- Mappings:
- Namespace - Name - Mixin selector - named - setSelected- Lnet/minecraft/client/gui/screen/world/PresetsScreen$SuperflatPresetsListWidget;setSelected(Lnet/minecraft/client/gui/screen/world/PresetsScreen$SuperflatPresetsListWidget$SuperflatPresetEntry;)V- intermediary - method_20103- Lnet/minecraft/class_430$class_4196;method_20103(Lnet/minecraft/class_430$class_4196$class_432;)V- official - a- Lfui$a;a(Lfui$a$a;)V
 
- 
keyPressedpublic boolean keyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Parameters:
- keyCode- the named key code of the event as described in the- GLFWclass
- scanCode- the unique/platform-specific scan code of the keyboard input
- modifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)
- Returns:
- trueto indicate that the event handling is successful/valid
- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - keyPressed- Lnet/minecraft/client/gui/Element;keyPressed(III)Z- intermediary - method_25404- Lnet/minecraft/class_364;method_25404(III)Z- official - a- Lfqr;a(III)Z
 
 
-