@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 static Gson |
field_25481 |
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() |
static void |
method_29784(LevelStorage levelStorage,
String string) |
void |
onClose() |
void |
removed() |
void |
render(MatrixStack matrices,
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, method_29638, renderBackground, renderBackground, renderBackgroundTexture, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, 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_23776
private static final Gson field_25481
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 tick()
tick in interface TickableElementtick in class Screenpublic void resize(MinecraftClient client, int width, int height)
private void commit()
public static void method_29784(LevelStorage levelStorage, String string)
public static boolean backupLevel(LevelStorage.Session session)
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)