Package net.minecraft.client.gui.screen
Class EditStructureScreen
java.lang.Object
net.minecraft.client.gui.AbstractGui
net.minecraft.client.gui.FocusableGui
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.EditStructureScreen
- All Implemented Interfaces:
IGuiEventListener
,INestedGuiEventHandler
,IRenderable
,IScreen
-
Field Summary
Modifier and TypeFieldDescriptionprivate Button
private static final ITextComponent
private TextFieldWidget
private final DecimalFormat
private static final ITextComponent
private Button
private Button
private Button
private static final ITextComponent
private boolean
private Mirror
private StructureMode
private Rotation
private boolean
private boolean
private static final ITextComponent
private TextFieldWidget
private Button
private Button
private Button
private static final ITextComponent
private TextFieldWidget
private static final ITextComponent
private TextFieldWidget
private TextFieldWidget
private TextFieldWidget
private Button
private Button
private Button
private Button
private Button
private TextFieldWidget
private static final ITextComponent
private static final ITextComponent
private static final ITextComponent
private TextFieldWidget
private TextFieldWidget
private TextFieldWidget
private final StructureBlockTileEntity
private Button
private Button
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, font, height, itemRenderer, minecraft, passEvents, title, width
Fields inherited from class net.minecraft.client.gui.AbstractGui
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
init()
boolean
boolean
keyPressed
(int p_231046_1_, int p_231046_2_, int p_231046_3_) private void
onCancel()
void
onClose()
private void
onDone()
private int
parseCoordinate
(String p_189817_1_) private float
parseIntegrity
(String p_189819_1_) private long
void
removed()
void
render
(MatrixStack p_230430_1_, int p_230430_2_, int p_230430_3_, float p_230430_4_) void
private boolean
sendToServer
(StructureBlockTileEntity.UpdateCommand p_210143_1_) void
tick()
private void
private void
private void
private void
private void
private void
Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addWidget, children, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, onFilesDrop, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderToolTip, renderWrappedToolTip, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
Methods inherited from class net.minecraft.client.gui.FocusableGui
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.AbstractGui
blit, blit, blit, blit, blit, blitOutlineBlack, drawCenteredString, drawCenteredString, drawString, drawString, fill, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.IGuiEventListener
mouseMoved
Methods inherited from interface net.minecraft.client.gui.INestedGuiEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
NAME_LABEL
-
POSITION_LABEL
-
SIZE_LABEL
-
INTEGRITY_LABEL
-
CUSTOM_DATA_LABEL
-
INCLUDE_ENTITIES_LABEL
-
DETECT_SIZE_LABEL
-
SHOW_AIR_LABEL
-
SHOW_BOUNDING_BOX_LABEL
-
structure
-
initialMirror
-
initialRotation
-
initialMode
-
initialEntityIgnoring
private boolean initialEntityIgnoring -
initialShowAir
private boolean initialShowAir -
initialShowBoundingBox
private boolean initialShowBoundingBox -
nameEdit
-
posXEdit
-
posYEdit
-
posZEdit
-
sizeXEdit
-
sizeYEdit
-
sizeZEdit
-
integrityEdit
-
seedEdit
-
dataEdit
-
doneButton
-
cancelButton
-
saveButton
-
loadButton
-
rot0Button
-
rot90Button
-
rot180Button
-
rot270Button
-
modeButton
-
detectButton
-
entitiesButton
-
mirrorButton
-
toggleAirButton
-
toggleBoundingBox
-
decimalFormat
-
-
Constructor Details
-
EditStructureScreen
-
-
Method Details
-
tick
public void tick() -
onDone
private void onDone() -
onCancel
private void onCancel() -
init
protected void init() -
resize
-
removed
public void removed() -
updateEntitiesButton
private void updateEntitiesButton() -
updateToggleAirButton
private void updateToggleAirButton() -
updateToggleBoundingBox
private void updateToggleBoundingBox() -
updateMirrorButton
private void updateMirrorButton() -
updateDirectionButtons
private void updateDirectionButtons() -
updateMode
private void updateMode() -
sendToServer
-
parseSeed
-
parseIntegrity
-
parseCoordinate
-
onClose
public void onClose() -
keyPressed
public boolean keyPressed(int p_231046_1_, int p_231046_2_, int p_231046_3_) - Specified by:
keyPressed
in interfaceIGuiEventListener
- Specified by:
keyPressed
in interfaceINestedGuiEventHandler
- Overrides:
keyPressed
in classScreen
-
render
- Specified by:
render
in interfaceIRenderable
- Overrides:
render
in classScreen
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreen
in classScreen
-