@Environment(value=CLIENT) public class EditWorldScreen extends Screen
| Modifier and Type | Field and Description |
|---|---|
private it.unimi.dsi.fastutil.booleans.BooleanConsumer |
callback |
private static Logger |
field_23776 |
private LevelStorage.Session |
field_23777 |
private TextFieldWidget |
levelNameTextField |
private ButtonWidget |
saveButton |
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
EditWorldScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback,
LevelStorage.Session session) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
backupLevel(LevelStorage.Session session) |
private void |
commit() |
protected void |
init() |
void |
onClose() |
void |
removed() |
void |
render(int mouseX,
int mouseY,
float delta) |
void |
resize(MinecraftClient client,
int width,
int height) |
void |
tick() |
addButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedprivate static final Logger field_23776
private ButtonWidget saveButton
private final it.unimi.dsi.fastutil.booleans.BooleanConsumer callback
private TextFieldWidget levelNameTextField
private final LevelStorage.Session field_23777
public EditWorldScreen(it.unimi.dsi.fastutil.booleans.BooleanConsumer callback,
LevelStorage.Session session)
public void resize(MinecraftClient client, int width, int height)
private void commit()
public static boolean backupLevel(LevelStorage.Session session)