Class MoreOptionsDialog

java.lang.Object
net.minecraft.client.gui.screen.world.MoreOptionsDialog
All Implemented Interfaces:
Drawable

@Environment(CLIENT) public class MoreOptionsDialog extends Object implements Drawable
Mappings:
Namespace Name
official etp
intermediary net/minecraft/class_5292
named net/minecraft/client/gui/screen/world/MoreOptionsDialog
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a:Lorg/slf4j/Logger;
      intermediary field_25046 Lnet/minecraft/class_5292;field_25046:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;LOGGER:Lorg/slf4j/Logger;
    • CUSTOM_TEXT

      private static final Text CUSTOM_TEXT
      Mappings:
      Namespace Name Mixin selector
      official b Letp;b:Lss;
      intermediary field_25047 Lnet/minecraft/class_5292;field_25047:Lnet/minecraft/class_2561;
      named CUSTOM_TEXT Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;CUSTOM_TEXT:Lnet/minecraft/text/Text;
    • AMPLIFIED_INFO_TEXT

      private static final Text AMPLIFIED_INFO_TEXT
      Mappings:
      Namespace Name Mixin selector
      official c Letp;c:Lss;
      intermediary field_35754 Lnet/minecraft/class_5292;field_35754:Lnet/minecraft/class_2561;
      named AMPLIFIED_INFO_TEXT Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;AMPLIFIED_INFO_TEXT:Lnet/minecraft/text/Text;
    • MAP_FEATURES_INFO_TEXT

      private static final Text MAP_FEATURES_INFO_TEXT
      Mappings:
      Namespace Name Mixin selector
      official d Letp;d:Lss;
      intermediary field_26604 Lnet/minecraft/class_5292;field_26604:Lnet/minecraft/class_2561;
      named MAP_FEATURES_INFO_TEXT Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;MAP_FEATURES_INFO_TEXT:Lnet/minecraft/text/Text;
    • SELECT_SETTINGS_FILE_TEXT

      private static final Text SELECT_SETTINGS_FILE_TEXT
      Mappings:
      Namespace Name Mixin selector
      official e Letp;e:Lss;
      intermediary field_28000 Lnet/minecraft/class_5292;field_28000:Lnet/minecraft/class_2561;
      named SELECT_SETTINGS_FILE_TEXT Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;SELECT_SETTINGS_FILE_TEXT:Lnet/minecraft/text/Text;
    • amplifiedInfoText

      private MultilineText amplifiedInfoText
      Mappings:
      Namespace Name Mixin selector
      official f Letp;f:Lelq;
      intermediary field_35755 Lnet/minecraft/class_5292;field_35755:Lnet/minecraft/class_5489;
      named amplifiedInfoText Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;amplifiedInfoText:Lnet/minecraft/client/font/MultilineText;
    • textRenderer

      private TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      official g Letp;g:Lekm;
      intermediary field_24592 Lnet/minecraft/class_5292;field_24592:Lnet/minecraft/class_327;
      named textRenderer Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;textRenderer:Lnet/minecraft/client/font/TextRenderer;
    • parentWidth

      private int parentWidth
      Mappings:
      Namespace Name Mixin selector
      official h Letp;h:I
      intermediary field_24593 Lnet/minecraft/class_5292;field_24593:I
      named parentWidth Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;parentWidth:I
    • seedTextField

      private TextFieldWidget seedTextField
      Mappings:
      Namespace Name Mixin selector
      official i Letp;i:Lelh;
      intermediary field_24594 Lnet/minecraft/class_5292;field_24594:Lnet/minecraft/class_342;
      named seedTextField Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;seedTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
    • mapFeaturesButton

      private CyclingButtonWidget<Boolean> mapFeaturesButton
      Mappings:
      Namespace Name Mixin selector
      official j Letp;j:Lelf;
      intermediary field_24595 Lnet/minecraft/class_5292;field_24595:Lnet/minecraft/class_5676;
      named mapFeaturesButton Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;mapFeaturesButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
    • bonusItemsButton

      private CyclingButtonWidget<Boolean> bonusItemsButton
      Mappings:
      Namespace Name Mixin selector
      official k Letp;k:Lelf;
      intermediary field_24589 Lnet/minecraft/class_5292;field_24589:Lnet/minecraft/class_5676;
      named bonusItemsButton Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;bonusItemsButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
    • mapTypeButton

      Mappings:
      Namespace Name Mixin selector
      official l Letp;l:Lelf;
      intermediary field_24596 Lnet/minecraft/class_5292;field_24596:Lnet/minecraft/class_5676;
      named mapTypeButton Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;mapTypeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
    • unchangeableMapTypeButton

      private ButtonWidget unchangeableMapTypeButton
      Mappings:
      Namespace Name Mixin selector
      official m Letp;m:Leky;
      intermediary field_28001 Lnet/minecraft/class_5292;field_28001:Lnet/minecraft/class_4185;
      named unchangeableMapTypeButton Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;unchangeableMapTypeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • customizeTypeButton

      private ButtonWidget customizeTypeButton
      Mappings:
      Namespace Name Mixin selector
      official n Letp;n:Leky;
      intermediary field_24597 Lnet/minecraft/class_5292;field_24597:Lnet/minecraft/class_4185;
      named customizeTypeButton Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;customizeTypeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • importSettingsButton

      private ButtonWidget importSettingsButton
      Mappings:
      Namespace Name Mixin selector
      official o Letp;o:Leky;
      intermediary field_25048 Lnet/minecraft/class_5292;field_25048:Lnet/minecraft/class_4185;
      named importSettingsButton Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;importSettingsButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
    • generatorOptionsHolder

      private GeneratorOptionsHolder generatorOptionsHolder
      Mappings:
      Namespace Name Mixin selector
      official p Letp;p:Leto;
      intermediary field_24598 Lnet/minecraft/class_5292;field_24598:Lnet/minecraft/class_7193;
      named generatorOptionsHolder Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;generatorOptionsHolder:Lnet/minecraft/client/world/GeneratorOptionsHolder;
    • presetEntry

      private Optional<RegistryEntry<WorldPreset>> presetEntry
      Mappings:
      Namespace Name Mixin selector
      official q Letp;q:Ljava/util/Optional;
      intermediary field_25049 Lnet/minecraft/class_5292;field_25049:Ljava/util/Optional;
      named presetEntry Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;presetEntry:Ljava/util/Optional;
    • seed

      private OptionalLong seed
      Mappings:
      Namespace Name Mixin selector
      official r Letp;r:Ljava/util/OptionalLong;
      intermediary field_24600 Lnet/minecraft/class_5292;field_24600:Ljava/util/OptionalLong;
      named seed Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;seed:Ljava/util/OptionalLong;
  • Constructor Details

    • MoreOptionsDialog

      public MoreOptionsDialog(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> presetKey, OptionalLong seed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Letp;<init>(Leto;Ljava/util/Optional;Ljava/util/OptionalLong;)V
      intermediary <init> Lnet/minecraft/class_5292;<init>(Lnet/minecraft/class_7193;Ljava/util/Optional;Ljava/util/OptionalLong;)V
      named <init> Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;<init>(Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/Optional;Ljava/util/OptionalLong;)V
  • Method Details

    • createPresetEntry

      private static Optional<RegistryEntry<WorldPreset>> createPresetEntry(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> presetKey)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Leto;Ljava/util/Optional;)Ljava/util/Optional;
      intermediary method_41870 Lnet/minecraft/class_5292;method_41870(Lnet/minecraft/class_7193;Ljava/util/Optional;)Ljava/util/Optional;
      named createPresetEntry Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;createPresetEntry(Lnet/minecraft/client/world/GeneratorOptionsHolder;Ljava/util/Optional;)Ljava/util/Optional;
    • init

      public void init(CreateWorldScreen parent, MinecraftClient client, TextRenderer textRenderer)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Leti;Lejf;Lekm;)V
      intermediary method_28092 Lnet/minecraft/class_5292;method_28092(Lnet/minecraft/class_525;Lnet/minecraft/class_310;Lnet/minecraft/class_327;)V
      named init Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;init(Lnet/minecraft/client/gui/screen/world/CreateWorldScreen;Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/client/font/TextRenderer;)V
    • collectPresets

      private static Optional<List<RegistryEntry<WorldPreset>>> collectPresets(Registry<WorldPreset> presetRegistry, TagKey<WorldPreset> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Lhm;Lamr;)Ljava/util/Optional;
      intermediary method_41876 Lnet/minecraft/class_5292;method_41876(Lnet/minecraft/class_2378;Lnet/minecraft/class_6862;)Ljava/util/Optional;
      named collectPresets Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;collectPresets(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/tag/TagKey;)Ljava/util/Optional;
    • isAmplified

      private static boolean isAmplified(RegistryEntry<WorldPreset> presetEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Lgz;)Z
      intermediary method_41872 Lnet/minecraft/class_5292;method_41872(Lnet/minecraft/class_6880;)Z
      named isAmplified Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;isAmplified(Lnet/minecraft/registry/entry/RegistryEntry;)Z
    • getText

      private static Text getText(RegistryEntry<WorldPreset> presetEntry)
      Mappings:
      Namespace Name Mixin selector
      official b Letp;b(Lgz;)Lss;
      intermediary method_41882 Lnet/minecraft/class_5292;method_41882(Lnet/minecraft/class_6880;)Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getText(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/text/Text;
    • importOptions

      private void importOptions(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder dimensionsRegistryHolder)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Ldez;Ldew;)V
      intermediary method_29073 Lnet/minecraft/class_5292;method_29073(Lnet/minecraft/class_5285;Lnet/minecraft/class_7723;)V
      named importOptions Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;importOptions(Lnet/minecraft/world/gen/GeneratorOptions;Lnet/minecraft/world/dimension/DimensionOptionsRegistryHolder;)V
    • tickSeedTextField

      public void tickSeedTextField()
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a()V
      intermediary method_37090 Lnet/minecraft/class_5292;method_37090()V
      named tickSeedTextField Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;tickSeedTextField()V
    • render

      public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
      Specified by:
      render in interface Drawable
      Mappings:
      Namespace Name Mixin selector
      official a Lely;a(Leed;IIF)V
      intermediary method_25394 Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
      named render Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
    • apply

      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Leto$a;)V
      intermediary method_41869 Lnet/minecraft/class_5292;method_41869(Lnet/minecraft/class_7193$class_7195;)V
      named apply Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$RegistryAwareModifier;)V
    • apply

      private void apply(GeneratorOptionsHolder.Modifier modifier)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Leto$b;)V
      intermediary method_41868 Lnet/minecraft/class_5292;method_41868(Lnet/minecraft/class_7193$class_7194;)V
      named apply Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$Modifier;)V
    • setGeneratorOptionsHolder

      void setGeneratorOptionsHolder(GeneratorOptionsHolder generatorOptionsHolder)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Leto;)V
      intermediary method_28086 Lnet/minecraft/class_5292;method_28086(Lnet/minecraft/class_7193;)V
      named setGeneratorOptionsHolder Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;setGeneratorOptionsHolder(Lnet/minecraft/client/world/GeneratorOptionsHolder;)V
    • toString

      private static String toString(OptionalLong seed)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Ljava/util/OptionalLong;)Ljava/lang/String;
      intermediary method_47654 Lnet/minecraft/class_5292;method_47654(Ljava/util/OptionalLong;)Ljava/lang/String;
      named toString Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;toString(Ljava/util/OptionalLong;)Ljava/lang/String;
    • getGeneratorOptionsHolder

      public GeneratorOptions getGeneratorOptionsHolder(boolean debug, boolean hardcore)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(ZZ)Ldez;
      intermediary method_28096 Lnet/minecraft/class_5292;method_28096(ZZ)Lnet/minecraft/class_5285;
      named getGeneratorOptionsHolder Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getGeneratorOptionsHolder(ZZ)Lnet/minecraft/world/gen/GeneratorOptions;
    • isDebugWorld

      public boolean isDebugWorld()
      Mappings:
      Namespace Name Mixin selector
      official b Letp;b()Z
      intermediary method_28085 Lnet/minecraft/class_5292;method_28085()Z
      named isDebugWorld Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;isDebugWorld()Z
    • setVisible

      public void setVisible(boolean visible)
      Mappings:
      Namespace Name Mixin selector
      official a Letp;a(Z)V
      intermediary method_28101 Lnet/minecraft/class_5292;method_28101(Z)V
      named setVisible Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;setVisible(Z)V
    • setMapTypeButtonVisible

      private void setMapTypeButtonVisible(boolean visible)
      Mappings:
      Namespace Name Mixin selector
      official b Letp;b(Z)V
      intermediary method_32683 Lnet/minecraft/class_5292;method_32683(Z)V
      named setMapTypeButtonVisible Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;setMapTypeButtonVisible(Z)V
    • getGeneratorOptionsHolder

      public GeneratorOptionsHolder getGeneratorOptionsHolder()
      Mappings:
      Namespace Name Mixin selector
      official c Letp;c()Leto;
      intermediary method_41884 Lnet/minecraft/class_5292;method_41884()Lnet/minecraft/class_7193;
      named getGeneratorOptionsHolder Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getGeneratorOptionsHolder()Lnet/minecraft/client/world/GeneratorOptionsHolder;
    • getRegistryManager

      public DynamicRegistryManager getRegistryManager()
      Mappings:
      Namespace Name Mixin selector
      official d Letp;d()Lhn;
      intermediary method_29700 Lnet/minecraft/class_5292;method_29700()Lnet/minecraft/class_5455;
      named getRegistryManager Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager;
    • disableBonusItems

      public void disableBonusItems()
      Mappings:
      Namespace Name Mixin selector
      official e Letp;e()V
      intermediary method_32682 Lnet/minecraft/class_5292;method_32682()V
      named disableBonusItems Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;disableBonusItems()V
    • enableBonusItems

      public void enableBonusItems()
      Mappings:
      Namespace Name Mixin selector
      official f Letp;f()V
      intermediary method_32684 Lnet/minecraft/class_5292;method_32684()V
      named enableBonusItems Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;enableBonusItems()V