Class JigsawBlockEditScreen
java.lang.Object
net.minecraft.client.gui.GuiComponent
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.inventory.JigsawBlockEditScreen
- All Implemented Interfaces:
ContainerEventHandler
,GuiEventListener
,Widget
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screens.Screen
Screen.NarratableSearchResult
-
Field Summary
Modifier and TypeFieldDescriptionprivate Button
private static final Component
private EditBox
private Button
private final JigsawBlockEntity
private JigsawBlockEntity.JointType
private static final Component
private CycleButton<JigsawBlockEntity.JointType>
private boolean
(package private) int
private static final int
private static final Component
private EditBox
private static final Component
private EditBox
private static final Component
private EditBox
Fields inherited from class net.minecraft.client.gui.screens.Screen
font, height, itemRenderer, minecraft, passEvents, renderables, title, width
Fields inherited from class net.minecraft.client.gui.GuiComponent
BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
Fields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.client.gui.screens.Screen
addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, children, clearWidgets, findNarratableWidget, getMinecraft, getNarrationMessage, getTitle, getTooltipFromItem, handleComponentClicked, handleDelayedNarration, hasAltDown, hasControlDown, hasShiftDown, hideWidgets, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrationEnabled, onFilesDrop, rebuildWidgets, removeWidget, renderBackground, renderBackground, renderComponentHoverEffect, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderComponentTooltip, renderDirtBackground, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, renderTooltip, shouldCloseOnEsc, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, wrapScreenError
Methods inherited from class net.minecraft.client.gui.components.events.AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.GuiComponent
blit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, 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.components.events.ContainerEventHandler
changeFocus, charTyped, getChildAt, keyReleased, magicalSpecialHackyFocus, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
Methods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
mouseMoved
-
Field Details
-
MAX_LEVELS
private static final int MAX_LEVELS- See Also:
-
JOINT_LABEL
-
POOL_LABEL
-
NAME_LABEL
-
TARGET_LABEL
-
FINAL_STATE_LABEL
-
jigsawEntity
-
nameEdit
-
targetEdit
-
poolEdit
-
finalStateEdit
-
levels
int levels -
keepJigsaws
private boolean keepJigsaws -
jointButton
-
doneButton
-
generateButton
-
joint
-
-
Constructor Details
-
JigsawBlockEditScreen
-
-
Method Details
-
tick
public void tick() -
onDone
private void onDone() -
onCancel
private void onCancel() -
sendToServer
private void sendToServer() -
sendGenerate
private void sendGenerate() -
onClose
public void onClose() -
init
protected void init() -
updateValidity
private void updateValidity() -
resize
-
removed
public void removed() -
keyPressed
public boolean keyPressed(int p_98951_, int p_98952_, int p_98953_) - Specified by:
keyPressed
in interfaceContainerEventHandler
- Specified by:
keyPressed
in interfaceGuiEventListener
- Overrides:
keyPressed
in classScreen
-
render
-