类 MoreOptionsDialog
- java.lang.Object
-
- net.minecraft.client.gui.screen.world.MoreOptionsDialog
-
- 所有已实现的接口:
Drawable,TickableElement
@Environment(CLIENT) public class MoreOptionsDialog extends Object implements TickableElement, Drawable
- Mappings:
Namespace Name official ecyintermediary net/minecraft/class_5292named net/minecraft/client/gui/screen/world/MoreOptionsDialog
-
-
字段概要
字段 修饰符和类型 字段 说明 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
-
构造器概要
构造器 构造器 说明 MoreOptionsDialog(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions, Optional<GeneratorType> generatorType, OptionalLong seed)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voiddisableBonusItems()voidenableBonusItems()GeneratorOptionsgetGeneratorOptions(boolean hardcore)DynamicRegistryManager.ImplgetRegistryManager()private OptionalLonggetSeed()private voidimportOptions(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions)voidinit(CreateWorldScreen parent, MinecraftClient client, TextRenderer textRenderer)booleanisDebugWorld()(专用程序包) voidloadDatapacks(ServerResourceManager serverResourceManager)private voidmethod_32683(boolean bool)voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)private static StringseedToString(OptionalLong seed)protected voidsetGeneratorOptions(GeneratorOptions generatorOptions)voidsetVisible(boolean visible)voidtick()private static OptionalLongtryParseLong(String string)
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLecy;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
private static final Text CUSTOM_TEXT
- Mappings:
Namespace Name Mixin selector official bLecy;b:Lon;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
private static final Text AMPLIFIED_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official cLecy;c:Lon;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
private static final Text MAP_FEATURES_INFO_TEXT
- Mappings:
Namespace Name Mixin selector official dLecy;d:Lon;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
private static final Text SELECT_SETTINGS_FILE_TEXT
- Mappings:
Namespace Name Mixin selector official eLecy;e:Lon;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
private MultilineText generatorInfoText
- Mappings:
Namespace Name Mixin selector official fLecy;f:Ldwi;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
private TextRenderer textRenderer
- Mappings:
Namespace Name Mixin selector official gLecy;g:Ldvh;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 hLecy;h:Iintermediary field_24593Lnet/minecraft/class_5292;field_24593:Inamed parentWidthLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;parentWidth:I
-
seedTextField
private TextFieldWidget seedTextField
- Mappings:
Namespace Name Mixin selector official iLecy;i:Ldwe;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
private CyclingButtonWidget<Boolean> mapFeaturesButton
- Mappings:
Namespace Name Mixin selector official jLecy;j:Ldwc;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
private CyclingButtonWidget<Boolean> bonusItemsButton
- Mappings:
Namespace Name Mixin selector official kLecy;k:Ldwc;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
private CyclingButtonWidget<GeneratorType> mapTypeButton
- Mappings:
Namespace Name Mixin selector official lLecy;l:Ldwc;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
private ButtonWidget field_28001
- Mappings:
Namespace Name Mixin selector official mLecy;m:Ldvw;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
private ButtonWidget customizeTypeButton
- Mappings:
Namespace Name Mixin selector official nLecy;n:Ldvw;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
private ButtonWidget importSettingsButton
- Mappings:
Namespace Name Mixin selector official oLecy;o:Ldvw;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
private DynamicRegistryManager.Impl registryManager
- Mappings:
Namespace Name Mixin selector official pLecy;p:Lgs$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
private GeneratorOptions generatorOptions
- Mappings:
Namespace Name Mixin selector official qLecy;q:Lcpf;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
private Optional<GeneratorType> generatorType
- Mappings:
Namespace Name Mixin selector official rLecy;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
private OptionalLong seed
- Mappings:
Namespace Name Mixin selector official sLecy;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;
-
-
构造器详细资料
-
MoreOptionsDialog
public MoreOptionsDialog(DynamicRegistryManager.Impl registryManager, GeneratorOptions generatorOptions, Optional<GeneratorType> generatorType, OptionalLong seed)
- Mappings:
Namespace Name Mixin selector official <init>Lecy;<init>(Lgs$b;Lcpf;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
-
-
方法详细资料
-
init
public void init(CreateWorldScreen parent, MinecraftClient client, TextRenderer textRenderer)
- Mappings:
Namespace Name Mixin selector official aLecy;a(Lect;Ldum;Ldvh;)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 aLecy;a(Lgs$b;Lcpf;)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()
- 指定者:
tick在接口中TickableElement- Mappings:
Namespace Name Mixin selector official dLdwp;d()Vintermediary method_25393Lnet/minecraft/class_4893;method_25393()Vnamed tickLnet/minecraft/client/gui/screen/TickableElement;tick()V
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
-
setGeneratorOptions
protected void setGeneratorOptions(GeneratorOptions generatorOptions)
- Mappings:
Namespace Name Mixin selector official aLecy;a(Lcpf;)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
-
seedToString
private static String seedToString(OptionalLong seed)
- Mappings:
Namespace Name Mixin selector official aLecy;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;
-
tryParseLong
private static OptionalLong tryParseLong(String string)
- Mappings:
Namespace Name Mixin selector official aLecy;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
public GeneratorOptions getGeneratorOptions(boolean hardcore)
- Mappings:
Namespace Name Mixin selector official aLecy;a(Z)Lcpf;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
private OptionalLong getSeed()
- Mappings:
Namespace Name Mixin selector official fLecy;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 aLecy;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 bLecy;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 cLecy;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
public DynamicRegistryManager.Impl getRegistryManager()
- Mappings:
Namespace Name Mixin selector official bLecy;b()Lgs$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
void loadDatapacks(ServerResourceManager serverResourceManager)
- Mappings:
Namespace Name Mixin selector official aLecy;a(Lxd;)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 cLecy;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 eLecy;e()Vintermediary method_32684Lnet/minecraft/class_5292;method_32684()Vnamed enableBonusItemsLnet/minecraft/client/gui/screen/world/MoreOptionsDialog;enableBonusItems()V
-
-