Class PresetsScreen.SuperflatPresetsListWidget

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

Mappings:
Namespace Name
named net/minecraft/client/gui/screen/world/PresetsScreen$SuperflatPresetsListWidget
intermediary net/minecraft/class_430$class_4196
official gmg$a
  • 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> Lgmg$a;<init>(Lgmg;Ljy;Ldcx;)V
  • Method Details

    • setSelected

      Overrides:
      setSelected in 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 Lgmg$a;a(Lgmg$a$a;)V
    • keyPressed

      public boolean keyPressed(KeyInput input)
      Callback for when a key down event has been captured. The key code is identified by the constants in GLFW class.
      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(Lnet/minecraft/client/input/KeyInput;)Z
      intermediary method_25404 Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Z
      official a Lggw;a(Lgth;)Z