Class PresetsScreen.SuperflatPresetsListWidget

All Implemented Interfaces:
Drawable, Element, Narratable, Navigable, ParentElement, Selectable
Enclosing class:
PresetsScreen

Mappings:
Namespace Name
official eyh$a
intermediary net/minecraft/class_430$class_4196
named net/minecraft/client/gui/screen/PresetsScreen$SuperflatPresetsListWidget
  • Constructor Details

    • SuperflatPresetsListWidget

      public SuperflatPresetsListWidget(DynamicRegistryManager dynamicRegistryManager, FeatureSet featureSet)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyh$a;<init>(Leyh;Lhr;Lcec;)V
      intermediary <init> Lnet/minecraft/class_430$class_4196;<init>(Lnet/minecraft/class_430;Lnet/minecraft/class_5455;Lnet/minecraft/class_7699;)V
      named <init> Lnet/minecraft/client/gui/screen/PresetsScreen$SuperflatPresetsListWidget;<init>(Lnet/minecraft/client/gui/screen/PresetsScreen;Lnet/minecraft/registry/DynamicRegistryManager;Lnet/minecraft/resource/featuretoggle/FeatureSet;)V
  • Method Details

    • setSelected

      public void setSelected(@Nullable @Nullable PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry superflatPresetEntry)
      Overrides:
      setSelected in class EntryListWidget<PresetsScreen.SuperflatPresetsListWidget.SuperflatPresetEntry>
      Mappings:
      Namespace Name Mixin selector
      official a Leyh$a;a(Leyh$a$a;)V
      intermediary method_20103 Lnet/minecraft/class_430$class_4196;method_20103(Lnet/minecraft/class_430$class_4196$class_432;)V
      named setSelected Lnet/minecraft/client/gui/screen/PresetsScreen$SuperflatPresetsListWidget;setSelected(Lnet/minecraft/client/gui/screen/PresetsScreen$SuperflatPresetsListWidget$SuperflatPresetEntry;)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 in GLFW class.
      Parameters:
      keyCode - the named key code of the event as described in the GLFW class
      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:
      true to indicate that the event handling is successful/valid
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leuk;a(III)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(III)Z
      named keyPressed Lnet/minecraft/client/gui/Element;keyPressed(III)Z