Class PresetsScreen.SuperflatPresetsListWidget
java.lang.Object
net.minecraft.client.gui.widget.ClickableWidget
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 fnt$a
-
Nested Class Summary
Modifier 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, field_45909, headerHeight, itemHeight
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
ConstructorDescriptionSuperflatPresetsListWidget
(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, clickedHeader, drawHeaderAndFooterSeparators, drawMenuListBackground, drawSelectionHighlight, enableScissor, ensureVisible, getDefaultScrollbarX, getEntry, getEntryAtPosition, getEntryCount, getFirst, getFocused, getHoveredEntry, getMaxPosition, getMaxScroll, getNeighboringEntry, getNeighboringEntry, getNeighboringEntry, getRowBottom, getRowLeft, getRowRight, getRowTop, getRowWidth, getScrollAmount, getScrollbarX, getSelectedOrNull, getType, isMouseOver, isScrollbarVisible, isSelectButton, isSelectedEntry, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, position, position, refreshScroll, remove, removeEntry, removeEntryWithoutScrolling, renderDecorations, renderEntry, renderHeader, renderList, renderWidget, replaceEntries, setFocused, setRenderHeader, setScrollAmount, setScrollAmountOnly, updateScrollingState
Methods inherited from class net.minecraft.client.gui.widget.ContainerWidget
isDragging, isFocused, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.widget.ClickableWidget
appendDefaultNarrations, appendNarrations, clicked, drawScrollableText, drawScrollableText, drawScrollableText, forEachChild, getBottom, getHeight, getMessage, getNarrationMessage, getNarrationMessage, getNavigationFocus, getNavigationOrder, getRight, getTooltip, getWidth, getX, getY, isHovered, isNarratable, isSelected, isValidClickButton, onClick, onDrag, onRelease, 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
getNavigationFocus, mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, hoveredElement, keyReleased
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>
Lfnt$a;<init>(Lfnt;Lka;Lcpj;)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
Lfnt$a;a(Lfnt$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
Lfkc;a(III)Z
-