Class MoreOptionsDialog
java.lang.Object
net.minecraft.client.gui.screen.world.MoreOptionsDialog
- All Implemented Interfaces:
Drawable
- Mappings:
Namespace Name official eps
intermediary net/minecraft/class_5292
named net/minecraft/client/gui/screen/world/MoreOptionsDialog
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Text
private MultilineText
private CyclingButtonWidget<Boolean>
private static final Text
private ButtonWidget
private GeneratorOptionsHolder
private ButtonWidget
private static final org.slf4j.Logger
private static final Text
private CyclingButtonWidget<Boolean>
private CyclingButtonWidget<RegistryEntry<WorldPreset>>
private int
private Optional<RegistryEntry<WorldPreset>>
private OptionalLong
private TextFieldWidget
private static final Text
private TextRenderer
private ButtonWidget
-
Constructor Summary
ConstructorDescriptionMoreOptionsDialog
(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> presetKey, OptionalLong seed) -
Method Summary
Modifier and TypeMethodDescription(package private) void
apply
(GeneratorOptionsHolder.Modifier modifier) (package private) void
private static Optional<List<RegistryEntry<WorldPreset>>>
collectPresets
(Registry<WorldPreset> presetRegistry, TagKey<WorldPreset> tag) private static Optional<RegistryEntry<WorldPreset>>
createPresetEntry
(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> presetKey) void
void
getGeneratorOptionsHolder
(boolean hardcore) private static Text
getText
(RegistryEntry<WorldPreset> presetEntry) private void
importOptions
(GeneratorOptions generatorOptions) void
init
(CreateWorldScreen parent, MinecraftClient client, TextRenderer textRenderer) private static boolean
isAmplified
(RegistryEntry<WorldPreset> presetEntry) boolean
void
render
(MatrixStack matrices, int mouseX, int mouseY, float delta) private static String
seedToString
(OptionalLong seed) (package private) void
setGeneratorOptionsHolder
(GeneratorOptionsHolder generatorOptionsHolder) private void
setMapTypeButtonVisible
(boolean visible) void
setVisible
(boolean visible) void
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official a
Leps;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
- Mappings:
Namespace Name Mixin selector official b
Leps;b:Lrq;
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
- Mappings:
Namespace Name Mixin selector official c
Leps;c:Lrq;
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
- Mappings:
Namespace Name Mixin selector official d
Leps;d:Lrq;
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
- Mappings:
Namespace Name Mixin selector official e
Leps;e:Lrq;
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
- Mappings:
Namespace Name Mixin selector official f
Leps;f:Leic;
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
- Mappings:
Namespace Name Mixin selector official g
Leps;g:Leha;
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
Leps;h:I
intermediary field_24593
Lnet/minecraft/class_5292;field_24593:I
named parentWidth
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;parentWidth:I
-
seedTextField
- Mappings:
Namespace Name Mixin selector official i
Leps;i:Lehx;
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
- Mappings:
Namespace Name Mixin selector official j
Leps;j:Lehv;
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
- Mappings:
Namespace Name Mixin selector official k
Leps;k:Lehv;
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
Leps;l:Lehv;
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
- Mappings:
Namespace Name Mixin selector official m
Leps;m:Lehp;
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
- Mappings:
Namespace Name Mixin selector official n
Leps;n:Lehp;
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
- Mappings:
Namespace Name Mixin selector official o
Leps;o:Lehp;
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
- Mappings:
Namespace Name Mixin selector official p
Leps;p:Lepr;
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
- Mappings:
Namespace Name Mixin selector official q
Leps;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
- Mappings:
Namespace Name Mixin selector official r
Leps;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>
Leps;<init>(Lepr;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
Leps;a(Lepr;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
- Mappings:
Namespace Name Mixin selector official a
Leps;a(Lepl;Lefu;Leha;)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
Leps;a(Lhm;Lakz;)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/util/registry/Registry;Lnet/minecraft/tag/TagKey;)Ljava/util/Optional;
-
isAmplified
- Mappings:
Namespace Name Mixin selector official a
Leps;a(Lhc;)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/util/registry/RegistryEntry;)Z
-
getText
- Mappings:
Namespace Name Mixin selector official b
Leps;b(Lhc;)Lrq;
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/util/registry/RegistryEntry;)Lnet/minecraft/text/Text;
-
importOptions
- Mappings:
Namespace Name Mixin selector official a
Leps;a(Ldbm;)V
intermediary method_29073
Lnet/minecraft/class_5292;method_29073(Lnet/minecraft/class_5285;)V
named importOptions
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;importOptions(Lnet/minecraft/world/gen/GeneratorOptions;)V
-
tickSeedTextField
public void tickSeedTextField()- Mappings:
Namespace Name Mixin selector official a
Leps;a()V
intermediary method_37090
Lnet/minecraft/class_5292;method_37090()V
named tickSeedTextField
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;tickSeedTextField()V
-
render
- Specified by:
render
in interfaceDrawable
- Mappings:
Namespace Name Mixin selector official a
Leio;a(Leaq;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
Leps;a(Lepr$a;)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
-
apply
- Mappings:
Namespace Name Mixin selector official a
Leps;a(Lepr$b;)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
-
setGeneratorOptionsHolder
- Mappings:
Namespace Name Mixin selector official a
Leps;a(Lepr;)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
-
seedToString
- Mappings:
Namespace Name Mixin selector official a
Leps;a(Ljava/util/OptionalLong;)Ljava/lang/String;
intermediary method_30510
Lnet/minecraft/class_5292;method_30510(Ljava/util/OptionalLong;)Ljava/lang/String;
named seedToString
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;seedToString(Ljava/util/OptionalLong;)Ljava/lang/String;
-
getGeneratorOptionsHolder
- Mappings:
Namespace Name Mixin selector official a
Leps;a(Z)Lepr;
intermediary method_28096
Lnet/minecraft/class_5292;method_28096(Z)Lnet/minecraft/class_7193;
named getGeneratorOptionsHolder
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getGeneratorOptionsHolder(Z)Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
isDebugWorld
public boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector official b
Leps;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 b
Leps;b(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 c
Leps;c(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
- Mappings:
Namespace Name Mixin selector official c
Leps;c()Lepr;
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
- Mappings:
Namespace Name Mixin selector official d
Leps;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/util/registry/DynamicRegistryManager;
-
disableBonusItems
public void disableBonusItems()- Mappings:
Namespace Name Mixin selector official e
Leps;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
Leps;f()V
intermediary method_32684
Lnet/minecraft/class_5292;method_32684()V
named enableBonusItems
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;enableBonusItems()V
-