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 dyy
intermediary net/minecraft/class_5292
named net/minecraft/client/gui/screen/world/MoreOptionsDialog
-
Field Summary
Fields Modifier and Type Field Description private static Text
AMPLIFIED_INFO_TEXT
private CyclingButtonWidget<Boolean>
bonusItemsButton
private static Text
CUSTOM_TEXT
private ButtonWidget
customizeTypeButton
private ButtonWidget
field_28001
private MultilineText
generatorInfoText
private GeneratorOptions
generatorOptions
private Optional<GeneratorType>
generatorType
private ButtonWidget
importSettingsButton
private static Logger
LOGGER
private static Text
MAP_FEATURES_INFO_TEXT
private CyclingButtonWidget<Boolean>
mapFeaturesButton
private CyclingButtonWidget<GeneratorType>
mapTypeButton
private int
parentWidth
private DynamicRegistryManager.Impl
registryManager
private OptionalLong
seed
private TextFieldWidget
seedTextField
private static Text
SELECT_SETTINGS_FILE_TEXT
private TextRenderer
textRenderer
-
Constructor Summary
Constructors Constructor Description MoreOptionsDialog(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions, Optional<GeneratorType> generatorType, OptionalLong seed)
-
Method Summary
Modifier and Type Method Description void
disableBonusItems()
void
enableBonusItems()
GeneratorOptions
getGeneratorOptions(boolean hardcore)
DynamicRegistryManager.Impl
getRegistryManager()
private OptionalLong
getSeed()
private void
importOptions(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions)
void
init(CreateWorldScreen parent, MinecraftClient client, TextRenderer textRenderer)
boolean
isDebugWorld()
(package private) void
loadDatapacks(ServerResourceManager serverResourceManager)
private void
method_32683(boolean bool)
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
protected void
setGeneratorOptions(GeneratorOptions generatorOptions)
void
setVisible(boolean visible)
void
tick()
private static String
toSeedText(OptionalLong seed)
private static OptionalLong
tryParseLong(String string)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Ldyy;a:Lorg/apache/logging/log4j/Logger;
intermediary field_25046
Lnet/minecraft/class_5292;field_25046:Lorg/apache/logging/log4j/Logger;
named LOGGER
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;LOGGER:Lorg/apache/logging/log4j/Logger;
-
CUSTOM_TEXT
- Mappings:
Namespace Name Mixin selector official b
Ldyy;b:Loi;
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
Ldyy;c:Loi;
intermediary field_24591
Lnet/minecraft/class_5292;field_24591: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
Ldyy;d:Loi;
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
Ldyy;e:Loi;
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;
-
generatorInfoText
- Mappings:
Namespace Name Mixin selector official f
Ldyy;f:Ldsg;
intermediary field_26605
Lnet/minecraft/class_5292;field_26605:Lnet/minecraft/class_5489;
named generatorInfoText
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;generatorInfoText:Lnet/minecraft/client/font/MultilineText;
-
textRenderer
- Mappings:
Namespace Name Mixin selector official g
Ldyy;g:Ldrf;
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
Ldyy;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
Ldyy;i:Ldsc;
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
Ldyy;j:Ldsa;
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
Ldyy;k:Ldsa;
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
Ldyy;l:Ldsa;
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;
-
field_28001
- Mappings:
Namespace Name Mixin selector official m
Ldyy;m:Ldru;
intermediary field_28001
Lnet/minecraft/class_5292;field_28001:Lnet/minecraft/class_4185;
named field_28001
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;field_28001:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
customizeTypeButton
- Mappings:
Namespace Name Mixin selector official n
Ldyy;n:Ldru;
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
Ldyy;o:Ldru;
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;
-
registryManager
- Mappings:
Namespace Name Mixin selector official p
Ldyy;p:Lgo$b;
intermediary field_25483
Lnet/minecraft/class_5292;field_25483:Lnet/minecraft/class_5455$class_5457;
named registryManager
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;registryManager:Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;
-
generatorOptions
- Mappings:
Namespace Name Mixin selector official q
Ldyy;q:Lcmy;
intermediary field_24598
Lnet/minecraft/class_5292;field_24598:Lnet/minecraft/class_5285;
named generatorOptions
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;generatorOptions:Lnet/minecraft/world/gen/GeneratorOptions;
-
generatorType
- Mappings:
Namespace Name Mixin selector official r
Ldyy;r:Ljava/util/Optional;
intermediary field_25049
Lnet/minecraft/class_5292;field_25049:Ljava/util/Optional;
named generatorType
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;generatorType:Ljava/util/Optional;
-
seed
- Mappings:
Namespace Name Mixin selector official s
Ldyy;s: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(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;)V
intermediary <init>
Lnet/minecraft/class_5292;<init>(Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_5285;Ljava/util/Optional;Ljava/util/OptionalLong;)V
named <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 a
Ldyy;a(Ldyt;Ldqk;Ldrf;)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
-
importOptions
private void importOptions(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions)- Mappings:
Namespace Name Mixin selector official a
Ldyy;a(Lgo$b;Lcmy;)V
intermediary method_29073
Lnet/minecraft/class_5292;method_29073(Lnet/minecraft/class_5455$class_5457;Lnet/minecraft/class_5285;)V
named importOptions
Lnet/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:
tick
in interfaceTickableElement
- Mappings:
Namespace Name Mixin selector official d
Ldsn;d()V
intermediary method_25393
Lnet/minecraft/class_4893;method_25393()V
named tick
Lnet/minecraft/client/gui/screen/TickableElement;tick()V
-
render
- Specified by:
render
in interfaceDrawable
- Mappings:
Namespace Name Mixin selector official a
Ldsq;a(Ldlr;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
-
setGeneratorOptions
- Mappings:
Namespace Name Mixin selector official a
Ldyy;a(Lcmy;)V
intermediary method_28086
Lnet/minecraft/class_5292;method_28086(Lnet/minecraft/class_5285;)V
named setGeneratorOptions
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;setGeneratorOptions(Lnet/minecraft/world/gen/GeneratorOptions;)V
-
toSeedText
- Mappings:
Namespace Name Mixin selector official a
Ldyy;a(Ljava/util/OptionalLong;)Ljava/lang/String;
intermediary method_30510
Lnet/minecraft/class_5292;method_30510(Ljava/util/OptionalLong;)Ljava/lang/String;
named toSeedText
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;toSeedText(Ljava/util/OptionalLong;)Ljava/lang/String;
-
tryParseLong
- Mappings:
Namespace Name Mixin selector official a
Ldyy;a(Ljava/lang/String;)Ljava/util/OptionalLong;
intermediary method_28095
Lnet/minecraft/class_5292;method_28095(Ljava/lang/String;)Ljava/util/OptionalLong;
named tryParseLong
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;tryParseLong(Ljava/lang/String;)Ljava/util/OptionalLong;
-
getGeneratorOptions
- Mappings:
Namespace Name Mixin selector official a
Ldyy;a(Z)Lcmy;
intermediary method_28096
Lnet/minecraft/class_5292;method_28096(Z)Lnet/minecraft/class_5285;
named getGeneratorOptions
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getGeneratorOptions(Z)Lnet/minecraft/world/gen/GeneratorOptions;
-
getSeed
- Mappings:
Namespace Name Mixin selector official f
Ldyy;f()Ljava/util/OptionalLong;
intermediary method_30511
Lnet/minecraft/class_5292;method_30511()Ljava/util/OptionalLong;
named getSeed
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getSeed()Ljava/util/OptionalLong;
-
isDebugWorld
public boolean isDebugWorld()- Mappings:
Namespace Name Mixin selector official a
Ldyy;a()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
Ldyy;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
-
method_32683
private void method_32683(boolean bool)- Mappings:
Namespace Name Mixin selector official c
Ldyy;c(Z)V
intermediary method_32683
Lnet/minecraft/class_5292;method_32683(Z)V
named method_32683
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;method_32683(Z)V
-
getRegistryManager
- Mappings:
Namespace Name Mixin selector official b
Ldyy;b()Lgo$b;
intermediary method_29700
Lnet/minecraft/class_5292;method_29700()Lnet/minecraft/class_5455$class_5457;
named getRegistryManager
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;getRegistryManager()Lnet/minecraft/util/registry/DynamicRegistryManager$Impl;
-
loadDatapacks
- Mappings:
Namespace Name Mixin selector official a
Ldyy;a(Lwp;)V
intermediary method_31132
Lnet/minecraft/class_5292;method_31132(Lnet/minecraft/class_5350;)V
named loadDatapacks
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;loadDatapacks(Lnet/minecraft/resource/ServerResourceManager;)V
-
disableBonusItems
public void disableBonusItems()- Mappings:
Namespace Name Mixin selector official c
Ldyy;c()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 e
Ldyy;e()V
intermediary method_32684
Lnet/minecraft/class_5292;method_32684()V
named enableBonusItems
Lnet/minecraft/client/gui/screen/world/MoreOptionsDialog;enableBonusItems()V
-