Class OptimizeWorldScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.world.OptimizeWorldScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/world/OptimizeWorldScreenintermediary net/minecraft/class_527official ftg
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BooleanConsumerprivate static final ToIntFunction<RegistryKey<World>> private static final Loggerprivate final WorldUpdaterFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, PANORAMA_RENDERER, ROTATING_PANORAMA_RENDERER, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateOptimizeWorldScreen(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, DynamicRegistryManager registryManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static @Nullable OptimizeWorldScreencreate(MinecraftClient client, BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, boolean eraseCache) protected voidinit()Called when a screen should be initialized.voidremoved()voidrender(DrawContext context, int mouseX, int mouseY, float delta) voidtick()Methods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, children, clearAndInit, clearChildren, clearTooltip, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, keyPressed, narrateScreenIfNarrationEnabled, onDisplayed, refreshNarrator, remove, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, resize, setInitialFocus, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGERLnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;LOGGER:Lorg/slf4j/Logger;intermediary field_25482Lnet/minecraft/class_527;field_25482:Lorg/slf4j/Logger;official aLftg;a:Lorg/slf4j/Logger;
-
DIMENSION_COLORS
- Mappings:
Namespace Name Mixin selector named DIMENSION_COLORSLnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;DIMENSION_COLORS:Ljava/util/function/ToIntFunction;intermediary field_3232Lnet/minecraft/class_527;field_3232:Ljava/util/function/ToIntFunction;official bLftg;b:Ljava/util/function/ToIntFunction;
-
callback
- Mappings:
Namespace Name Mixin selector named callbackLnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_3233Lnet/minecraft/class_527;field_3233:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;official cLftg;c:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
updater
- Mappings:
Namespace Name Mixin selector named updaterLnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;updater:Lnet/minecraft/world/updater/WorldUpdater;intermediary field_3234Lnet/minecraft/class_527;field_3234:Lnet/minecraft/class_1257;official rLftg;r:Lbqf;
-
-
Constructor Details
-
OptimizeWorldScreen
private OptimizeWorldScreen(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, DynamicRegistryManager registryManager) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/world/level/LevelInfo;ZLnet/minecraft/registry/DynamicRegistryManager;)Vintermediary <init>Lnet/minecraft/class_527;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_1940;ZLnet/minecraft/class_5455;)Vofficial <init>Lftg;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lerf$c;Ldda;ZLka;)V
-
-
Method Details
-
create
@Nullable public static @Nullable OptimizeWorldScreen create(MinecraftClient client, BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, boolean eraseCache) - Mappings:
Namespace Name Mixin selector named createLnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;create(Lnet/minecraft/client/MinecraftClient;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/world/level/storage/LevelStorage$Session;Z)Lnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;intermediary method_27031Lnet/minecraft/class_527;method_27031(Lnet/minecraft/class_310;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lnet/minecraft/class_32$class_5143;Z)Lnet/minecraft/class_527;official aLftg;a(Lfgo;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Lerf$c;Z)Lftg;
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
This should call
Screen.setInitialFocus()to set the element that is initially focused. -
tick
public void tick() -
close
public void close() -
removed
public void removed() -
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLfjp;a(Lfhz;IIF)V
-