net.minecraft.client.gui.screen.world

public class PresetsScreen

extends Screen

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

net.minecraft.client.gui.screens.PresetFlatWorldScreen
net.minecraft.client.gui.screens.PresetFlatWorldScreen
net.minecraft.class_430
net.minecraft.client.gui.screen.world.PresetsScreen

Field summary

Modifier and TypeField
private static final Identifier
SLOT_SPRITE
SLOT_SPRITE
field_45417
SLOT_TEXTURE
private static final org.slf4j.Logger
LOGGER
LOGGER
field_25043
LOGGER
private static final int
SLOT_BG_SIZE
SLOT_BG_SIZE
field_32264
ICON_SIZE
private static final int
SLOT_STAT_HEIGHT
SLOT_STAT_HEIGHT
field_32265
BUTTON_HEIGHT
private static final int
SLOT_BG_X
SLOT_BG_X
field_32266
ICON_BACKGROUND_OFFSET_X
private static final int
SLOT_BG_Y
SLOT_BG_Y
field_32267
ICON_BACKGROUND_OFFSET_Y
private static final int
SLOT_FG_X
SLOT_FG_X
field_32268
ICON_OFFSET_X
private static final int
SLOT_FG_Y
SLOT_FG_Y
field_32269
ICON_OFFSET_Y
private static final RegistryKey<Biome>
DEFAULT_BIOME
DEFAULT_BIOME
field_27985
BIOME_KEY
public static final Text
UNKNOWN_PRESET
UNKNOWN_PRESET
field_37908
UNKNOWN_PRESET_TEXT
private final CustomizeFlatLevelScreen
parent
parent
field_2519
parent
private Text
shareText
shareText
field_2520
shareText
private Text
listText
listText
field_2524
listText
private PresetsScreen$SuperflatPresetsListWidget
list
list
field_2521
listWidget
private ButtonWidget
selectButton
selectButton
field_2525
selectPresetButton
private TextFieldWidget
export
export
field_2523
customPresetField
private FlatChunkGeneratorConfig
settings
settings
field_25044
config

Constructor summary

ModifierConstructor
public (CustomizeFlatLevelScreen parent)

Method summary

Modifier and TypeMethod
private static FlatChunkGeneratorLayer
getLayerInfoFromString(HolderGetter<Block> blocks, String input, int firstFree)
getLayerInfoFromString(HolderGetter<Block> blocks, String input, int firstFree)
method_29059(class_7871<class_2248> arg0, String arg1, int arg2)
parseLayerString(RegistryEntryLookup<Block> blockLookup, String layer, int layerStartHeight)
private static List<FlatChunkGeneratorLayer>
getLayersInfoFromString(HolderGetter<Block> blocks, String input)
getLayersInfoFromString(HolderGetter<Block> blocks, String input)
method_29058(class_7871<class_2248> arg0, String arg1)
parsePresetLayersString(RegistryEntryLookup<Block> blockLookup, String layers)
public static FlatChunkGeneratorConfig
fromString(HolderGetter<Block> blocks, HolderGetter<Biome> biomes, HolderGetter<StructureSet> structureSets, HolderGetter<PlacedFeature> placedFeatures, String definition, FlatLevelGeneratorSettings settings)
fromString(HolderGetter<Block> blocks, HolderGetter<Biome> biomes, HolderGetter<StructureSet> structureSets, HolderGetter<PlacedFeature> placedFeatures, String definition, FlatLevelGeneratorSettings settings)
method_29060(class_7871<class_2248> arg0, class_7871<class_1959> arg1, class_7871<class_7059> arg2, class_7871<class_6796> arg3, String arg4, class_3232 arg5)
parsePresetString(RegistryEntryLookup<Block> blockLookup, RegistryEntryLookup<Biome> biomeLookup, RegistryEntryLookup<StructureSet> structureSetLookup, RegistryEntryLookup<PlacedFeature> placedFeatureLookup, String preset, FlatChunkGeneratorConfig config)
private static String
save(FlatLevelGeneratorSettings settings)
save(FlatLevelGeneratorSettings settings)
method_29062(class_3232 arg0)
getGeneratorConfigString(FlatChunkGeneratorConfig config)
protected void
init()
init()
method_25426()
init()
public boolean
mouseScrolled(double x, double y, double scrollX, double scrollY)
mouseScrolled(double x, double y, double scrollX, double scrollY)
method_25401(double arg0, double arg1, double arg2, double arg3)
mouseScrolled(double arg0, double arg1, double arg2, double arg3)
public void
resize(int width, int height)
resize(int width, int height)
method_25410(int arg0, int arg1)
resize(int arg0, int arg1)
public void
onClose()
onClose()
method_25419()
close()
public void
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
extractRenderState(GuiGraphicsExtractor graphics, int mouseX, int mouseY, float a)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
public void
updateButtonValidity(boolean hasSelected)
updateButtonValidity(boolean hasSelected)
method_20102(boolean arg0)
updateSelectButton(boolean hasSelected)