Class MoreOptionsDialog
java.lang.Object
net.minecraft.client.gui.screen.world.MoreOptionsDialog
- All Implemented Interfaces:
Drawable
- Mappings:
Namespace Name official etp
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 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 TypeMethodDescriptionprivate 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 debug, boolean hardcore) private static Text
getText
(RegistryEntry<WorldPreset> presetEntry) private void
importOptions
(GeneratorOptions generatorOptions, DimensionOptionsRegistryHolder dimensionsRegistryHolder) 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) (package private) void
setGeneratorOptionsHolder
(GeneratorOptionsHolder generatorOptionsHolder) private void
setMapTypeButtonVisible
(boolean visible) void
setVisible
(boolean visible) void
private static String
toString
(OptionalLong seed)
-
Field Details
-
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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- Specified by:
render
in interfaceDrawable
- 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
- 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
- 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
- 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
- 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
- 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
- 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
-