public class GuiEditStructure extends GuiScreen
allowUserInput, buttonList, fontRenderer, height, itemRender, keyHandled, labelList, mc, mouseHandled, selectedButton, width
ICONS, OPTIONS_BACKGROUND, STAT_ICONS, zLevel
Constructor and Description |
---|
GuiEditStructure(TileEntityStructure p_i47142_1_) |
Modifier and Type | Method and Description |
---|---|
protected void |
actionPerformed(GuiButton button) |
boolean |
doesGuiPauseGame() |
void |
drawScreen(int mouseX,
int mouseY,
float partialTicks) |
void |
initGui() |
private static boolean |
isValidCharacterForName(char p_190301_0_,
int p_190301_1_) |
protected void |
keyTyped(char typedChar,
int keyCode) |
protected void |
mouseClicked(int mouseX,
int mouseY,
int mouseButton) |
void |
onGuiClosed() |
private int |
parseCoordinate(java.lang.String p_189817_1_) |
private float |
parseIntegrity(java.lang.String p_189819_1_) |
private long |
parseSeed(java.lang.String p_189821_1_) |
private boolean |
sendToServer(int p_189820_1_) |
private void |
updateDirectionButtons() |
private void |
updateEntitiesButton() |
private void |
updateMirrorButton() |
private void |
updateMode() |
void |
updateScreen() |
private void |
updateToggleAirButton() |
private void |
updateToggleBoundingBox() |
addButton, confirmClicked, drawBackground, drawDefaultBackground, drawHoveringText, drawHoveringText, drawHoveringText, drawWorldBackground, getClipboardString, getItemToolTip, handleComponentClick, handleComponentHover, handleInput, handleKeyboardInput, handleMouseInput, isAltKeyDown, isCtrlKeyDown, isFocused, isKeyComboCtrlA, isKeyComboCtrlC, isKeyComboCtrlV, isKeyComboCtrlX, isShiftKeyDown, mouseClickMove, mouseReleased, onResize, renderToolTip, sendChatMessage, sendChatMessage, setClipboardString, setFocused, setGuiSize, setText, setWorldAndResolution
drawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLine
private static final org.apache.logging.log4j.Logger LOGGER
public static final int[] LEGAL_KEY_CODES
private final TileEntityStructure tileStructure
private Mirror mirror
private Rotation rotation
private TileEntityStructure.Mode mode
private boolean ignoreEntities
private boolean showAir
private boolean showBoundingBox
private GuiTextField nameEdit
private GuiTextField posXEdit
private GuiTextField posYEdit
private GuiTextField posZEdit
private GuiTextField sizeXEdit
private GuiTextField sizeYEdit
private GuiTextField sizeZEdit
private GuiTextField integrityEdit
private GuiTextField seedEdit
private GuiTextField dataEdit
private GuiButton doneButton
private GuiButton cancelButton
private GuiButton saveButton
private GuiButton loadButton
private GuiButton rotateZeroDegreesButton
private GuiButton rotateNinetyDegreesButton
private GuiButton rotate180DegreesButton
private GuiButton rotate270DegressButton
private GuiButton modeButton
private GuiButton detectSizeButton
private GuiButton showEntitiesButton
private GuiButton mirrorButton
private GuiButton showAirButton
private GuiButton showBoundingBoxButton
private final java.util.List<GuiTextField> tabOrder
private final java.text.DecimalFormat decimalFormat
public GuiEditStructure(TileEntityStructure p_i47142_1_)
public void updateScreen()
updateScreen
in class GuiScreen
public void onGuiClosed()
onGuiClosed
in class GuiScreen
protected void actionPerformed(GuiButton button) throws java.io.IOException
actionPerformed
in class GuiScreen
java.io.IOException
private void updateEntitiesButton()
private void updateToggleAirButton()
private void updateToggleBoundingBox()
private void updateMirrorButton()
private void updateDirectionButtons()
private void updateMode()
private boolean sendToServer(int p_189820_1_)
private long parseSeed(java.lang.String p_189821_1_)
private float parseIntegrity(java.lang.String p_189819_1_)
private int parseCoordinate(java.lang.String p_189817_1_)
protected void keyTyped(char typedChar, int keyCode) throws java.io.IOException
private static boolean isValidCharacterForName(char p_190301_0_, int p_190301_1_)
protected void mouseClicked(int mouseX, int mouseY, int mouseButton) throws java.io.IOException
mouseClicked
in class GuiScreen
java.io.IOException
public void drawScreen(int mouseX, int mouseY, float partialTicks)
drawScreen
in class GuiScreen
public boolean doesGuiPauseGame()
doesGuiPauseGame
in class GuiScreen