Package net.minecraft.client.gui.screen
Class WorldOptionsScreen
java.lang.Object
net.minecraft.client.gui.screen.WorldOptionsScreen
- All Implemented Interfaces:
IRenderable
,IScreen
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final ITextComponent
private IBidiRenderer
private static final ITextComponent
private Button
private Button
private FontRenderer
private Button
private static final org.apache.logging.log4j.Logger
private static final ITextComponent
private Optional<BiomeGeneratorTypeScreens>
private DynamicRegistries.Impl
private OptionalLong
private TextFieldWidget
private DimensionGeneratorSettings
private Button
private int
-
Constructor Summary
ConstructorDescriptionWorldOptionsScreen
(DynamicRegistries.Impl p_i242065_1_, DimensionGeneratorSettings p_i242065_2_, Optional<BiomeGeneratorTypeScreens> p_i242065_3_, OptionalLong p_i242065_4_) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
importSettings
(DynamicRegistries.Impl p_239052_1_, DimensionGeneratorSettings p_239052_2_) void
init
(CreateWorldScreen p_239048_1_, Minecraft p_239048_2_, FontRenderer p_239048_3_) boolean
isDebug()
makeSettings
(boolean p_239054_1_) private static OptionalLong
private OptionalLong
void
render
(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_) void
setDisplayOptions
(boolean p_239059_1_) void
tick()
private static String
toString
(OptionalLong p_243445_0_) (package private) void
updateDataPacks
(DataPackRegistries p_243447_1_) void
updateSettings
(DimensionGeneratorSettings p_239043_1_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
CUSTOM_WORLD_DESCRIPTION
-
AMPLIFIED_HELP_TEXT
-
MAP_FEATURES_INFO
-
amplifiedWorldInfo
-
font
-
width
private int width -
seedEdit
-
featuresButton
-
bonusItemsButton
-
typeButton
-
customizeTypeButton
-
importSettingsButton
-
registryHolder
-
settings
-
preset
-
seed
-
-
Constructor Details
-
WorldOptionsScreen
public WorldOptionsScreen(DynamicRegistries.Impl p_i242065_1_, DimensionGeneratorSettings p_i242065_2_, Optional<BiomeGeneratorTypeScreens> p_i242065_3_, OptionalLong p_i242065_4_)
-
-
Method Details
-
init
-
importSettings
private void importSettings(DynamicRegistries.Impl p_239052_1_, DimensionGeneratorSettings p_239052_2_) -
tick
public void tick() -
render
- Specified by:
render
in interfaceIRenderable
-
updateSettings
-
toString
-
parseLong
-
makeSettings
-
parseSeed
-
isDebug
public boolean isDebug() -
setDisplayOptions
public void setDisplayOptions(boolean p_239059_1_) -
registryHolder
-
updateDataPacks
-