@Environment(value=CLIENT) public class OptimizeWorldScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
private it.unimi.dsi.fastutil.booleans.BooleanConsumer |
callback |
private static it.unimi.dsi.fastutil.objects.Object2IntMap<RegistryKey<World>> |
DIMENSION_COLORS |
private static Logger |
field_25482 |
private WorldUpdater |
updater |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthGUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE| Modifier | Constructor and Description |
|---|---|
private |
OptimizeWorldScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback,
com.mojang.datafixers.DataFixer dataFixer,
LevelStorage.Session session,
LevelInfo levelInfo,
boolean bool,
ImmutableSet<RegistryKey<World>> immutableSet) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
Called when a screen should be initialized.
|
static OptimizeWorldScreen |
method_27031(MinecraftClient minecraftClient,
it.unimi.dsi.fastutil.booleans.BooleanConsumer booleanConsumer,
com.mojang.datafixers.DataFixer dataFixer,
LevelStorage.Session session,
boolean bool) |
void |
onClose() |
void |
removed() |
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
void |
tick() |
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, resize, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Logger field_25482
private static final it.unimi.dsi.fastutil.objects.Object2IntMap<RegistryKey<World>> DIMENSION_COLORS
private final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback
private final WorldUpdater updater
private OptimizeWorldScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback,
com.mojang.datafixers.DataFixer dataFixer,
LevelStorage.Session session,
LevelInfo levelInfo,
boolean bool,
ImmutableSet<RegistryKey<World>> immutableSet)
@Nullable public static OptimizeWorldScreen method_27031(MinecraftClient minecraftClient, it.unimi.dsi.fastutil.booleans.BooleanConsumer booleanConsumer, com.mojang.datafixers.DataFixer dataFixer, LevelStorage.Session session, boolean bool)
protected void init()
This method is called when this screen is opened or resized.
public void tick()
tick in interface TickableElementtick in class Screenpublic void render(MatrixStack matrices, int mouseX, int mouseY, float delta)