类 OptimizeWorldScreen
- java.lang.Object
-
- net.minecraft.client.gui.DrawableHelper
-
- net.minecraft.client.gui.AbstractParentElement
-
- net.minecraft.client.gui.screen.Screen
-
- net.minecraft.client.gui.screen.world.OptimizeWorldScreen
-
- 所有已实现的接口:
Drawable,Element,ParentElement,TickableElement
@Environment(CLIENT) public class OptimizeWorldScreen extends Screen
- Mappings:
Namespace Name official ecwintermediary net/minecraft/class_527named net/minecraft/client/gui/screen/world/OptimizeWorldScreen
-
-
字段概要
字段 修饰符和类型 字段 说明 private BooleanConsumercallbackprivate static Object2IntMap<RegistryKey<World>>DIMENSION_COLORSprivate static LoggerLOGGERprivate WorldUpdaterupdater-
从类继承的字段 net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
-
从类继承的字段 net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
-
构造器概要
构造器 限定符 构造器 说明 privateOptimizeWorldScreen(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, ImmutableSet<RegistryKey<World>> worlds)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 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.voidonClose()voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidtick()-
从类继承的方法 net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
-
从类继承的方法 net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
-
从类继承的方法 net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, method_35719, method_35720, setZOffset
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.gui.Element
mouseMoved
-
从接口继承的方法 net.minecraft.client.gui.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
-
-
-
字段详细资料
-
LOGGER
private static final Logger LOGGER
- Mappings:
Namespace Name Mixin selector official aLecw;a:Lorg/apache/logging/log4j/Logger;intermediary field_25482Lnet/minecraft/class_527;field_25482:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;LOGGER:Lorg/apache/logging/log4j/Logger;
-
DIMENSION_COLORS
private static final Object2IntMap<RegistryKey<World>> DIMENSION_COLORS
- Mappings:
Namespace Name Mixin selector official bLecw;b:Lit/unimi/dsi/fastutil/objects/Object2IntMap;intermediary field_3232Lnet/minecraft/class_527;field_3232:Lit/unimi/dsi/fastutil/objects/Object2IntMap;named DIMENSION_COLORSLnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;DIMENSION_COLORS:Lit/unimi/dsi/fastutil/objects/Object2IntMap;
-
callback
private final BooleanConsumer callback
- Mappings:
Namespace Name Mixin selector official cLecw;c:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;intermediary field_3233Lnet/minecraft/class_527;field_3233:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;named callbackLnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;callback:Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;
-
updater
private final WorldUpdater updater
- Mappings:
Namespace Name Mixin selector official pLecw;p:Laqu;intermediary field_3234Lnet/minecraft/class_527;field_3234:Lnet/minecraft/class_1257;named updaterLnet/minecraft/client/gui/screen/world/OptimizeWorldScreen;updater:Lnet/minecraft/world/updater/WorldUpdater;
-
-
构造器详细资料
-
OptimizeWorldScreen
private OptimizeWorldScreen(BooleanConsumer callback, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session storageSession, LevelInfo levelInfo, boolean eraseCache, ImmutableSet<RegistryKey<World>> worlds)
- Mappings:
Namespace Name Mixin selector official <init>Lecw;<init>(Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Ldhb$a;Lbvv;ZLcom/google/common/collect/ImmutableSet;)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;ZLcom/google/common/collect/ImmutableSet;)Vnamed <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;ZLcom/google/common/collect/ImmutableSet;)V
-
-
方法详细资料
-
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 official aLecw;a(Ldum;Lit/unimi/dsi/fastutil/booleans/BooleanConsumer;Lcom/mojang/datafixers/DataFixer;Ldhb$a;Z)Lecw;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;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;
-
init
protected void init()
Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
tick
public void tick()
- 指定者:
tick在接口中TickableElement- 覆盖:
tick在类中Screen- 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
-
onClose
public void onClose()
-
removed
public void removed()
-
render
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)
- 指定者:
render在接口中Drawable- 覆盖:
render在类中Screen- Mappings:
Namespace Name Mixin selector official aLdws;a(Ldpi;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
-