Class MoreOptionsDialog
java.lang.Object
net.minecraft.client.gui.screen.world.MoreOptionsDialog
- All Implemented Interfaces:
Drawable
- Mappings:
Namespace Name official eojintermediary net/minecraft/class_5292named net/minecraft/client/gui/screen/world/MoreOptionsDialog
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate MultilineTextprivate CyclingButtonWidget<Boolean>private static final Textprivate ButtonWidgetprivate GeneratorOptionsHolderprivate ButtonWidgetprivate static final org.slf4j.Loggerprivate static final Textprivate CyclingButtonWidget<Boolean>private CyclingButtonWidget<RegistryEntry<WorldPreset>>private intprivate Optional<RegistryEntry<WorldPreset>>private OptionalLongprivate TextFieldWidgetprivate static final Textprivate TextRendererprivate ButtonWidget -
Constructor Summary
ConstructorsConstructorDescriptionMoreOptionsDialog(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> presetKey, OptionalLong seed) -
Method Summary
Modifier and TypeMethodDescription(package private) voidapply(GeneratorOptionsHolder.Modifier modifier) (package private) voidprivate static Optional<List<RegistryEntry<WorldPreset>>>collectPresets(Registry<WorldPreset> presetRegistry, TagKey<WorldPreset> tag) private static Optional<RegistryEntry<WorldPreset>>createPresetEntry(GeneratorOptionsHolder generatorOptionsHolder, Optional<RegistryKey<WorldPreset>> presetKey) voidvoidgetGeneratorOptionsHolder(boolean hardcore) private static TextgetText(RegistryEntry<WorldPreset> presetEntry) private voidimportOptions(GeneratorOptions generatorOptions) voidinit(CreateWorldScreen parent, MinecraftClient client, TextRenderer textRenderer) private static booleanisAmplified(RegistryEntry<WorldPreset> presetEntry) booleanvoidrender(MatrixStack matrices, int mouseX, int mouseY, float delta) private static StringseedToString(OptionalLong seed) (package private) voidsetGeneratorOptionsHolder(GeneratorOptionsHolder generatorOptionsHolder) private voidsetMapTypeButtonVisible(boolean visible) voidsetVisible(boolean visible) void
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official aLeoj;a:Lorg/slf4j/Logger;intermediary field_25046Lnet/minecraft/class_5292;field_25046:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;LOGGER:Lorg/slf4j/Logger;
-
CUSTOM_TEXT
- Mappings:
Namespace Name Mixin selector official bLeoj;b:Lrm;intermediary field_25047Lnet/minecraft/class_5292;field_25047:Lnet/minecraft/class_2561;named CUSTOM_TEXTLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;CUSTOM_TEXT:Lnet/minecraft/text/Text;
-
AMPLIFIED_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official cLeoj;c:Lrm;intermediary field_35754Lnet/minecraft/class_5292;field_35754:Lnet/minecraft/class_2561;named AMPLIFIED_INFO_TEXTLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;AMPLIFIED_INFO_TEXT:Lnet/minecraft/text/Text;
-
MAP_FEATURES_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official dLeoj;d:Lrm;intermediary field_26604Lnet/minecraft/class_5292;field_26604:Lnet/minecraft/class_2561;named MAP_FEATURES_INFO_TEXTLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;MAP_FEATURES_INFO_TEXT:Lnet/minecraft/text/Text;
-
SELECT_SETTINGS_FILE_TEXT
- Mappings:
Namespace Name Mixin selector official eLeoj;e:Lrm;intermediary field_28000Lnet/minecraft/class_5292;field_28000:Lnet/minecraft/class_2561;named SELECT_SETTINGS_FILE_TEXTLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;SELECT_SETTINGS_FILE_TEXT:Lnet/minecraft/text/Text;
-
amplifiedInfoText
- Mappings:
Namespace Name Mixin selector official fLeoj;f:Lehe;intermediary field_35755Lnet/minecraft/class_5292;field_35755:Lnet/minecraft/class_5489;named amplifiedInfoTextLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;amplifiedInfoText:Lnet/minecraft/client/font/MultilineText;
-
textRenderer
- Mappings:
Namespace Name Mixin selector official gLeoj;g:Legb;intermediary field_24592Lnet/minecraft/class_5292;field_24592:Lnet/minecraft/class_327;named textRendererLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
parentWidth
private int parentWidth- Mappings:
Namespace Name Mixin selector official hLeoj;h:Iintermediary field_24593Lnet/minecraft/class_5292;field_24593:Inamed parentWidthLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;parentWidth:I
-
seedTextField
- Mappings:
Namespace Name Mixin selector official iLeoj;i:Leha;intermediary field_24594Lnet/minecraft/class_5292;field_24594:Lnet/minecraft/class_342;named seedTextFieldLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;seedTextField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
mapFeaturesButton
- Mappings:
Namespace Name Mixin selector official jLeoj;j:Legy;intermediary field_24595Lnet/minecraft/class_5292;field_24595:Lnet/minecraft/class_5676;named mapFeaturesButtonLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;mapFeaturesButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
bonusItemsButton
- Mappings:
Namespace Name Mixin selector official kLeoj;k:Legy;intermediary field_24589Lnet/minecraft/class_5292;field_24589:Lnet/minecraft/class_5676;named bonusItemsButtonLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;bonusItemsButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
mapTypeButton
- Mappings:
Namespace Name Mixin selector official lLeoj;l:Legy;intermediary field_24596Lnet/minecraft/class_5292;field_24596:Lnet/minecraft/class_5676;named mapTypeButtonLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;mapTypeButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
unchangeableMapTypeButton
- Mappings:
Namespace Name Mixin selector official mLeoj;m:Legs;intermediary field_28001Lnet/minecraft/class_5292;field_28001:Lnet/minecraft/class_4185;named unchangeableMapTypeButtonLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;unchangeableMapTypeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
customizeTypeButton
- Mappings:
Namespace Name Mixin selector official nLeoj;n:Legs;intermediary field_24597Lnet/minecraft/class_5292;field_24597:Lnet/minecraft/class_4185;named customizeTypeButtonLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;customizeTypeButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
importSettingsButton
- Mappings:
Namespace Name Mixin selector official oLeoj;o:Legs;intermediary field_25048Lnet/minecraft/class_5292;field_25048:Lnet/minecraft/class_4185;named importSettingsButtonLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;importSettingsButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
generatorOptionsHolder
- Mappings:
Namespace Name Mixin selector official pLeoj;p:Leoi;intermediary field_24598Lnet/minecraft/class_5292;field_24598:Lnet/minecraft/class_7193;named generatorOptionsHolderLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;generatorOptionsHolder:Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
presetEntry
- Mappings:
Namespace Name Mixin selector official qLeoj;q:Ljava/util/Optional;intermediary field_25049Lnet/minecraft/class_5292;field_25049:Ljava/util/Optional;named presetEntryLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;presetEntry:Ljava/util/Optional;
-
seed
- Mappings:
Namespace Name Mixin selector official rLeoj;r:Ljava/util/OptionalLong;intermediary field_24600Lnet/minecraft/class_5292;field_24600:Ljava/util/OptionalLong;named seedLnet/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>Leoj;<init>(Leoi;Ljava/util/Optional;Ljava/util/OptionalLong;)Vintermediary <init>Lnet/minecraft/class_5292;<init>(Lnet/minecraft/class_7193;Ljava/util/Optional;Ljava/util/OptionalLong;)Vnamed <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 aLeoj;a(Leoi;Ljava/util/Optional;)Ljava/util/Optional;intermediary method_41870Lnet/minecraft/class_5292;method_41870(Lnet/minecraft/class_7193;Ljava/util/Optional;)Ljava/util/Optional;named createPresetEntryLnet/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 aLeoj;a(Leoc;Leev;Legb;)Vintermediary method_28092Lnet/minecraft/class_5292;method_28092(Lnet/minecraft/class_525;Lnet/minecraft/class_310;Lnet/minecraft/class_327;)Vnamed initLnet/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 aLeoj;a(Lhm;Lakh;)Ljava/util/Optional;intermediary method_41876Lnet/minecraft/class_5292;method_41876(Lnet/minecraft/class_2378;Lnet/minecraft/class_6862;)Ljava/util/Optional;named collectPresetsLnet/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 aLeoj;a(Lhc;)Zintermediary method_41872Lnet/minecraft/class_5292;method_41872(Lnet/minecraft/class_6880;)Znamed isAmplifiedLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;isAmplified(Lnet/minecraft/util/registry/RegistryEntry;)Z
-
getText
- Mappings:
Namespace Name Mixin selector official bLeoj;b(Lhc;)Lrm;intermediary method_41882Lnet/minecraft/class_5292;method_41882(Lnet/minecraft/class_6880;)Lnet/minecraft/class_2561;named getTextLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getText(Lnet/minecraft/util/registry/RegistryEntry;)Lnet/minecraft/text/Text;
-
importOptions
- Mappings:
Namespace Name Mixin selector official aLeoj;a(Ldap;)Vintermediary method_29073Lnet/minecraft/class_5292;method_29073(Lnet/minecraft/class_5285;)Vnamed importOptionsLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;importOptions(Lnet/minecraft/world/gen/GeneratorOptions;)V
-
tickSeedTextField
public void tickSeedTextField()- Mappings:
Namespace Name Mixin selector official aLeoj;a()Vintermediary method_37090Lnet/minecraft/class_5292;method_37090()Vnamed tickSeedTextFieldLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;tickSeedTextField()V
-
render
- Specified by:
renderin interfaceDrawable- Mappings:
Namespace Name Mixin selector official aLehn;a(Ldzt;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
apply
- Mappings:
Namespace Name Mixin selector official aLeoj;a(Leoi$a;)Vintermediary method_41868Lnet/minecraft/class_5292;method_41868(Lnet/minecraft/class_7193$class_7194;)Vnamed applyLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$Modifier;)V
-
apply
- Mappings:
Namespace Name Mixin selector official aLeoj;a(Leoi$b;)Vintermediary method_41869Lnet/minecraft/class_5292;method_41869(Lnet/minecraft/class_7193$class_7195;)Vnamed applyLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;apply(Lnet/minecraft/client/world/GeneratorOptionsHolder$RegistryAwareModifier;)V
-
setGeneratorOptionsHolder
- Mappings:
Namespace Name Mixin selector official aLeoj;a(Leoi;)Vintermediary method_28086Lnet/minecraft/class_5292;method_28086(Lnet/minecraft/class_7193;)Vnamed setGeneratorOptionsHolderLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;setGeneratorOptionsHolder(Lnet/minecraft/client/world/GeneratorOptionsHolder;)V
-
seedToString
- Mappings:
Namespace Name Mixin selector official aLeoj;a(Ljava/util/OptionalLong;)Ljava/lang/String;intermediary method_30510Lnet/minecraft/class_5292;method_30510(Ljava/util/OptionalLong;)Ljava/lang/String;named seedToStringLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;seedToString(Ljava/util/OptionalLong;)Ljava/lang/String;
-
getGeneratorOptionsHolder
- Mappings:
Namespace Name Mixin selector official aLeoj;a(Z)Leoi;intermediary method_28096Lnet/minecraft/class_5292;method_28096(Z)Lnet/minecraft/class_7193;named getGeneratorOptionsHolderLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getGeneratorOptionsHolder(Z)Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
isDebugWorld
public boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector official bLeoj;b()Zintermediary method_28085Lnet/minecraft/class_5292;method_28085()Znamed isDebugWorldLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;isDebugWorld()Z
-
setVisible
public void setVisible(boolean visible) - Mappings:
Namespace Name Mixin selector official bLeoj;b(Z)Vintermediary method_28101Lnet/minecraft/class_5292;method_28101(Z)Vnamed setVisibleLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;setVisible(Z)V
-
setMapTypeButtonVisible
private void setMapTypeButtonVisible(boolean visible) - Mappings:
Namespace Name Mixin selector official cLeoj;c(Z)Vintermediary method_32683Lnet/minecraft/class_5292;method_32683(Z)Vnamed setMapTypeButtonVisibleLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;setMapTypeButtonVisible(Z)V
-
getGeneratorOptionsHolder
- Mappings:
Namespace Name Mixin selector official cLeoj;c()Leoi;intermediary method_41884Lnet/minecraft/class_5292;method_41884()Lnet/minecraft/class_7193;named getGeneratorOptionsHolderLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getGeneratorOptionsHolder()Lnet/minecraft/client/world/GeneratorOptionsHolder;
-
getRegistryManager
- Mappings:
Namespace Name Mixin selector official dLeoj;d()Lhn;intermediary method_29700Lnet/minecraft/class_5292;method_29700()Lnet/minecraft/class_5455;named getRegistryManagerLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager;
-
disableBonusItems
public void disableBonusItems()- Mappings:
Namespace Name Mixin selector official eLeoj;e()Vintermediary method_32682Lnet/minecraft/class_5292;method_32682()Vnamed disableBonusItemsLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;disableBonusItems()V
-
enableBonusItems
public void enableBonusItems()- Mappings:
Namespace Name Mixin selector official fLeoj;f()Vintermediary method_32684Lnet/minecraft/class_5292;method_32684()Vnamed enableBonusItemsLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;enableBonusItems()V
-