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 Summary
Nested ClassesModifier and TypeClassDescriptionclass
Nested 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, headerHeight, itemHeight
Fields inherited from class net.minecraft.client.gui.widget.ScrollableWidget
SCROLLBAR_WIDTH
Fields inherited from class net.minecraft.client.gui.widget.ClickableWidget
active, alpha, height, hovered, visible, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
ConstructorsConstructorDescriptionSuperflatPresetsListWidget
(DynamicRegistryManager dynamicRegistryManager, FeatureSet featureSet) -
Method Summary
Modifier and TypeMethodDescriptionboolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.void
setSelected
(@Nullable PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry superflatPresetEntry) Methods inherited from class net.minecraft.client.gui.widget.AlwaysSelectedEntryListWidget
appendClickableNarrations, getNavigationPath
Methods inherited from class net.minecraft.client.gui.widget.EntryListWidget
addEntry, 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, setSelected
Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, mouseClicked, mouseDragged, mouseReleased, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.widget.ScrollableWidget
checkScrollbarDragged, drawScrollbar, getMaxScrollY, getScrollbarThumbHeight, getScrollbarThumbY, getScrollY, mouseScrolled, onRelease, overflows, refreshScroll, setScrollY
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, 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, setY
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.Element
getBorder, getNavigationFocus, isMouseOver, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, keyReleased, mouseScrolled
Methods inherited from interface net.minecraft.client.gui.Selectable
getNarratedParts
Methods 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;)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
-
setSelected
public void setSelected(@Nullable @Nullable PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry superflatPresetEntry) - Overrides:
setSelected
in classEntryListWidget<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
-
keyPressed
public 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 inGLFW
class.- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- the unique/platform-specific scan code of the keyboard inputmodifiers
- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
true
to 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
-