Class MoreOptionsDialog
java.lang.Object
net.minecraft.client.gui.screen.world.MoreOptionsDialog
- All Implemented Interfaces:
Drawable,TickableElement
@Environment(CLIENT) public class MoreOptionsDialog extends Object implements TickableElement, Drawable
- Mappings:
Namespace Name official dyyintermediary net/minecraft/class_5292named net/minecraft/client/gui/screen/world/MoreOptionsDialog
-
Field Summary
Fields Modifier and Type Field Description private static TextAMPLIFIED_INFO_TEXTprivate CyclingButtonWidget<Boolean>bonusItemsButtonprivate static TextCUSTOM_TEXTprivate ButtonWidgetcustomizeTypeButtonprivate ButtonWidgetfield_28001private MultilineTextgeneratorInfoTextprivate GeneratorOptionsgeneratorOptionsprivate Optional<GeneratorType>generatorTypeprivate ButtonWidgetimportSettingsButtonprivate static LoggerLOGGERprivate static TextMAP_FEATURES_INFO_TEXTprivate CyclingButtonWidget<Boolean>mapFeaturesButtonprivate CyclingButtonWidget<GeneratorType>mapTypeButtonprivate intparentWidthprivate DynamicRegistryManager.ImplregistryManagerprivate OptionalLongseedprivate TextFieldWidgetseedTextFieldprivate static TextSELECT_SETTINGS_FILE_TEXTprivate TextRenderertextRenderer -
Constructor Summary
Constructors Constructor Description MoreOptionsDialog(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions, Optional<GeneratorType> generatorType, OptionalLong seed) -
Method Summary
Modifier and Type Method Description voiddisableBonusItems()voidenableBonusItems()GeneratorOptionsgetGeneratorOptions(boolean hardcore)DynamicRegistryManager.ImplgetRegistryManager()private OptionalLonggetSeed()private voidimportOptions(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions)voidinit(CreateWorldScreen parent, MinecraftClient client, TextRenderer textRenderer)booleanisDebugWorld()(package private) voidloadDatapacks(ServerResourceManager serverResourceManager)private voidmethod_32683(boolean bool)voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)protected voidsetGeneratorOptions(GeneratorOptions generatorOptions)voidsetVisible(boolean visible)voidtick()private static StringtoSeedText(OptionalLong seed)private static OptionalLongtryParseLong(String string)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLdyy;a:Lorg/apache/logging/log4j/Logger;intermediary field_25046Lnet/minecraft/class_5292;field_25046:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;LOGGER:Lorg/apache/logging/log4j/Logger;
-
CUSTOM_TEXT
- Mappings:
Namespace Name Mixin selector official bLdyy;b:Loi;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 cLdyy;c:Loi;intermediary field_24591Lnet/minecraft/class_5292;field_24591: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 dLdyy;d:Loi;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 eLdyy;e:Loi;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;
-
generatorInfoText
- Mappings:
Namespace Name Mixin selector official fLdyy;f:Ldsg;intermediary field_26605Lnet/minecraft/class_5292;field_26605:Lnet/minecraft/class_5489;named generatorInfoTextLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;generatorInfoText:Lnet/minecraft/client/font/MultilineText;
-
textRenderer
- Mappings:
Namespace Name Mixin selector official gLdyy;g:Ldrf;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 hLdyy;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 iLdyy;i:Ldsc;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 jLdyy;j:Ldsa;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 kLdyy;k:Ldsa;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 lLdyy;l:Ldsa;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;
-
field_28001
- Mappings:
Namespace Name Mixin selector official mLdyy;m:Ldru;intermediary field_28001Lnet/minecraft/class_5292;field_28001:Lnet/minecraft/class_4185;named field_28001Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;field_28001:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
customizeTypeButton
- Mappings:
Namespace Name Mixin selector official nLdyy;n:Ldru;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 oLdyy;o:Ldru;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;
-
registryManager
- Mappings:
Namespace Name Mixin selector official pLdyy;p:Lgo$b;intermediary field_25483Lnet/minecraft/class_5292;field_25483:Lnet/minecraft/class_5455$class_5457;named registryManagerLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;registryManager:Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official qLdyy;q:Lcmy;intermediary field_24598Lnet/minecraft/class_5292;field_24598:Lnet/minecraft/class_5285;named generatorOptionsLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;generatorOptions:Lnet/minecraft/world/gen/GeneratorOptions;
-
generatorType
- Mappings:
Namespace Name Mixin selector official rLdyy;r:Ljava/util/Optional;intermediary field_25049Lnet/minecraft/class_5292;field_25049:Ljava/util/Optional;named generatorTypeLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;generatorType:Ljava/util/Optional;
-
seed
- Mappings:
Namespace Name Mixin selector official sLdyy;s: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(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions, Optional<GeneratorType> generatorType, OptionalLong seed)- Mappings:
Namespace Name Mixin selector official <init>Ldyy;<init>(Lgo$b;Lcmy;Ljava/util/Optional;Ljava/util/OptionalLong;)Vintermediary <init>Lnet/minecraft/class_5292;<init>(Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_5285;Ljava/util/Optional;Ljava/util/OptionalLong;)Vnamed <init>Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;<init>(Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;Lnet/minecraft/world/gen/GeneratorOptions;Ljava/util/Optional;Ljava/util/OptionalLong;)V
-
-
Method Details
-
init
- Mappings:
Namespace Name Mixin selector official aLdyy;a(Ldyt;Ldqk;Ldrf;)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
-
importOptions
private void importOptions(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions)- Mappings:
Namespace Name Mixin selector official aLdyy;a(Lgo$b;Lcmy;)Vintermediary method_29073Lnet/minecraft/class_5292;method_29073(Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_5285;)Vnamed importOptionsLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;importOptions(Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;Lnet/minecraft/world/gen/GeneratorOptions;)V
-
tick
public void tick()- Specified by:
tickin interfaceTickableElement- Mappings:
Namespace Name Mixin selector official dLdsn;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
render
- Specified by:
renderin interfaceDrawable- Mappings:
Namespace Name Mixin selector official aLdsq;a(Ldlr;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
-
setGeneratorOptions
- Mappings:
Namespace Name Mixin selector official aLdyy;a(Lcmy;)Vintermediary method_28086Lnet/minecraft/class_5292;method_28086(Lnet/minecraft/class_5285;)Vnamed setGeneratorOptionsLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;setGeneratorOptions(Lnet/minecraft/world/gen/GeneratorOptions;)V
-
toSeedText
- Mappings:
Namespace Name Mixin selector official aLdyy;a(Ljava/util/OptionalLong;)Ljava/lang/String;intermediary method_30510Lnet/minecraft/class_5292;method_30510(Ljava/util/OptionalLong;)Ljava/lang/String;named toSeedTextLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;toSeedText(Ljava/util/OptionalLong;)Ljava/lang/String;
-
tryParseLong
- Mappings:
Namespace Name Mixin selector official aLdyy;a(Ljava/lang/String;)Ljava/util/OptionalLong;intermediary method_28095Lnet/minecraft/class_5292;method_28095(Ljava/lang/String;)Ljava/util/OptionalLong;named tryParseLongLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;tryParseLong(Ljava/lang/String;)Ljava/util/OptionalLong;
-
getGeneratorOptions
- Mappings:
Namespace Name Mixin selector official aLdyy;a(Z)Lcmy;intermediary method_28096Lnet/minecraft/class_5292;method_28096(Z)Lnet/minecraft/class_5285;named getGeneratorOptionsLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getGeneratorOptions(Z)Lnet/minecraft/world/gen/GeneratorOptions;
-
getSeed
- Mappings:
Namespace Name Mixin selector official fLdyy;f()Ljava/util/OptionalLong;intermediary method_30511Lnet/minecraft/class_5292;method_30511()Ljava/util/OptionalLong;named getSeedLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getSeed()Ljava/util/OptionalLong;
-
isDebugWorld
public boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector official aLdyy;a()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 bLdyy;b(Z)Vintermediary method_28101Lnet/minecraft/class_5292;method_28101(Z)Vnamed setVisibleLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;setVisible(Z)V
-
method_32683
private void method_32683(boolean bool)- Mappings:
Namespace Name Mixin selector official cLdyy;c(Z)Vintermediary method_32683Lnet/minecraft/class_5292;method_32683(Z)Vnamed method_32683Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;method_32683(Z)V
-
getRegistryManager
- Mappings:
Namespace Name Mixin selector official bLdyy;b()Lgo$b;intermediary method_29700Lnet/minecraft/class_5292;method_29700()Lnet/minecraft/class_5455$class_5457;named getRegistryManagerLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;
-
loadDatapacks
- Mappings:
Namespace Name Mixin selector official aLdyy;a(Lwp;)Vintermediary method_31132Lnet/minecraft/class_5292;method_31132(Lnet/minecraft/class_5350;)Vnamed loadDatapacksLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;loadDatapacks(Lnet/minecraft/resource/ServerResourceManager;)V
-
disableBonusItems
public void disableBonusItems()- Mappings:
Namespace Name Mixin selector official cLdyy;c()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 eLdyy;e()Vintermediary method_32684Lnet/minecraft/class_5292;method_32684()Vnamed enableBonusItemsLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;enableBonusItems()V
-