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$SuperflatPresetsListWidgetintermediary net/minecraft/class_430$class_4196official gmg$a
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassNested classes/interfaces inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
AlwaysSelectedEntryListWidget.Entry<E extends AlwaysSelectedEntryListWidget.Entry<E>>Nested classes/interfaces inherited from interface net.minecraft.client.gui.Selectable
Selectable.SelectionType -
Field Summary
Fields inherited from class net.minecraft.client.gui.widget.EntryListWidget
centerListVertically, client, itemHeightFields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH -
Constructor Summary
ConstructorsConstructorDescriptionSuperflatPresetsListWidget(DynamicRegistryManager dynamicRegistryManager, FeatureSet featureSet) -
Method Summary
Modifier and TypeMethodDescriptionbooleankeyPressed(KeyInput input) 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.AlwaysSelectedEntryListWidget
appendClickableNarrations, getNavigationPathMethods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, addEntry, addEntryToTop, addEntryToTop, appendNarrations, centerScrollOn, children, clearEntries, clearEntriesExcept, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, getContentsHeightWithPadding, getDeltaYPerScroll, getEntryAtPosition, getEntryCount, getFocused, getHoveredEntry, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollbarX, getSelectedOrNull, getType, getYOfNextEntry, hoveredElement, isEntrySelectionAllowed, position, position, position, removeEntries, removeEntry, removeEntryWithoutScrolling, renderEntry, renderList, renderWidget, replaceEntries, scrollTo, setFocused, setFocused, setScrollY, sort, swapEntriesOnPositionsMethods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDraggingMethods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, isInScrollbar, mouseScrolled, onRelease, overflows, refreshScrollMethods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getWidth, getX, getY, isHovered, isInteractable, isMouseOver, isSelected, isValidClickButton, onClick, onDrag, playClickSound, playDownSound, render, setAlpha, setDimensions, setDimensionsAndPosition, setHeight, setMessage, setNavigationOrder, setTooltip, setTooltipDelay, setWidth, setX, setYMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, getNavigationFocus, isClickable, isMouseOver, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, keyReleased, mouseScrolledMethods inherited from interface net.minecraft.client.gui.Selectable
getNarratedPartsMethods inherited from interface net.minecraft.client.gui.widget.Widget
setPosition
-
Constructor Details
-
SuperflatPresetsListWidget
public 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;)Vintermediary <init>Lnet/minecraft/class_430$class_4196;<init>(Lnet/minecraft/class_430;Lnet/minecraft/class_5455;Lnet/minecraft/class_7699;)Vofficial <init>Lgmg$a;<init>(Lgmg;Ljy;Ldcx;)V
-
-
Method Details
-
setSelected
public void setSelected(@Nullable @Nullable PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry superflatPresetEntry) - Overrides:
setSelectedin classEntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>- Mappings:
Namespace Name Mixin selector named setSelectedLnet/minecraft/client/gui/screen/world/PresetsScreen$SuperflatPresetsListWidget;setSelected(Lnet/minecraft/client/gui/screen/world/PresetsScreen$SuperflatPresetsListWidget$SuperflatPresetEntry;)Vintermediary method_20103Lnet/minecraft/class_430$class_4196;method_20103(Lnet/minecraft/class_430$class_4196$class_432;)Vofficial aLgmg$a;a(Lgmg$a$a;)V
-
keyPressed
Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Zofficial aLggw;a(Lgth;)Z
-