Class JigsawBlockScreen
java.lang.Object
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.JigsawBlockScreen
- All Implemented Interfaces:
Drawable,Element,Navigable,ParentElement
- Mappings:
Namespace Name named net/minecraft/client/gui/screen/ingame/JigsawBlockScreenintermediary net/minecraft/class_3742official gsa
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.gui.screen.Screen
Screen.SelectedElementNarrationData -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ButtonWidgetprivate static final Textprivate TextFieldWidgetprivate ButtonWidget(package private) intprivate final JigsawBlockEntityprivate JigsawBlockEntity.Jointprivate static final Textprivate booleanprivate static final Textprivate TextFieldWidgetprivate static final Textprivate static final Textprivate TextFieldWidgetprivate static final Textprivate TextFieldWidgetprivate static final Textprivate static final Textprivate TextFieldWidgetprivate static final Textprivate TextFieldWidgetFields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, field_60460, FOOTER_SEPARATOR_TEXTURE, HEADER_SEPARATOR_TEXTURE, height, INWORLD_FOOTER_SEPARATOR_TEXTURE, INWORLD_HEADER_SEPARATOR_TEXTURE, MENU_BACKGROUND_TEXTURE, narratorToggleButton, textRenderer, title, width -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanprivate voidgenerate()protected voidinit()Called when a screen should be initialized.static booleanbooleankeyPressed(KeyInput input) Callback for when a key down event has been captured.private voidonCancel()private voidonDone()private intvoidrender(DrawContext context, int mouseX, int mouseY, float deltaTicks) voidresize(int width, int height) protected voidThis should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.private voidprivate voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addCrashReportSection, addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, allowRotatingPanorama, applyBlur, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, blur, canInterruptOtherScreen, children, clearAndInit, clearChildren, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTextRenderer, getTitle, getTooltipFromItem, getUsageNarrationText, handleBasicClickEvent, handleClickEvent, handleOpenUri, handleRunCommand, hasUsageText, init, insertText, isMouseOver, isValidCharacterForName, keepOpenThroughPortal, narrateScreenIfNarrationEnabled, onDisplayed, onFilesDropped, refreshNarrator, refreshWidgetPositions, remove, removed, renderBackground, renderBackgroundTexture, renderDarkening, renderDarkening, renderInGameBackground, renderPanoramaBackground, renderWithTooltip, setInitialFocus, setWidgetAlpha, shouldCloseOnEsc, shouldPause, showsStatusEffects, switchFocus, tick, updateNarratorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.Element
getBorder, isClickable, mouseMovedMethods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrderMethods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
JOINT_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector named JOINT_LABEL_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;JOINT_LABEL_TEXT:Lnet/minecraft/text/Text;intermediary field_26564Lnet/minecraft/class_3742;field_26564:Lnet/minecraft/class_2561;official aLgsa;a:Lym;
-
POOL_TEXT
- Mappings:
Namespace Name Mixin selector named POOL_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;POOL_TEXT:Lnet/minecraft/text/Text;intermediary field_26565Lnet/minecraft/class_3742;field_26565:Lnet/minecraft/class_2561;official bLgsa;b:Lym;
-
NAME_TEXT
- Mappings:
Namespace Name Mixin selector named NAME_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;NAME_TEXT:Lnet/minecraft/text/Text;intermediary field_26566Lnet/minecraft/class_3742;field_26566:Lnet/minecraft/class_2561;official cLgsa;c:Lym;
-
TARGET_TEXT
- Mappings:
Namespace Name Mixin selector named TARGET_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;TARGET_TEXT:Lnet/minecraft/text/Text;intermediary field_26567Lnet/minecraft/class_3742;field_26567:Lnet/minecraft/class_2561;official dLgsa;d:Lym;
-
FINAL_STATE_TEXT
- Mappings:
Namespace Name Mixin selector named FINAL_STATE_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;FINAL_STATE_TEXT:Lnet/minecraft/text/Text;intermediary field_26568Lnet/minecraft/class_3742;field_26568:Lnet/minecraft/class_2561;official eLgsa;e:Lym;
-
PLACEMENT_PRIORITY_TEXT
- Mappings:
Namespace Name Mixin selector named PLACEMENT_PRIORITY_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;PLACEMENT_PRIORITY_TEXT:Lnet/minecraft/text/Text;intermediary field_47119Lnet/minecraft/class_3742;field_47119:Lnet/minecraft/class_2561;official fLgsa;f:Lym;
-
PLACEMENT_PRIORITY_TOOLTIP
- Mappings:
Namespace Name Mixin selector named PLACEMENT_PRIORITY_TOOLTIPLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;PLACEMENT_PRIORITY_TOOLTIP:Lnet/minecraft/text/Text;intermediary field_47120Lnet/minecraft/class_3742;field_47120:Lnet/minecraft/class_2561;official tLgsa;t:Lym;
-
SELECTION_PRIORITY_TEXT
- Mappings:
Namespace Name Mixin selector named SELECTION_PRIORITY_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;SELECTION_PRIORITY_TEXT:Lnet/minecraft/text/Text;intermediary field_47121Lnet/minecraft/class_3742;field_47121:Lnet/minecraft/class_2561;official uLgsa;u:Lym;
-
SELECTION_PRIORITY_TOOLTIP
- Mappings:
Namespace Name Mixin selector named SELECTION_PRIORITY_TOOLTIPLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;SELECTION_PRIORITY_TOOLTIP:Lnet/minecraft/text/Text;intermediary field_47122Lnet/minecraft/class_3742;field_47122:Lnet/minecraft/class_2561;official vLgsa;v:Lym;
-
jigsaw
- Mappings:
Namespace Name Mixin selector named jigsawLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;jigsaw:Lnet/minecraft/block/entity/JigsawBlockEntity;intermediary field_16522Lnet/minecraft/class_3742;field_16522:Lnet/minecraft/class_3751;official wLgsa;w:Leki;
-
nameField
- Mappings:
Namespace Name Mixin selector named nameFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;nameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_23348Lnet/minecraft/class_3742;field_23348:Lnet/minecraft/class_342;official xLgsa;x:Lghb;
-
targetField
- Mappings:
Namespace Name Mixin selector named targetFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;targetField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_23349Lnet/minecraft/class_3742;field_23349:Lnet/minecraft/class_342;official yLgsa;y:Lghb;
-
poolField
- Mappings:
Namespace Name Mixin selector named poolFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;poolField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_23350Lnet/minecraft/class_3742;field_23350:Lnet/minecraft/class_342;official zLgsa;z:Lghb;
-
finalStateField
- Mappings:
Namespace Name Mixin selector named finalStateFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;finalStateField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_16519Lnet/minecraft/class_3742;field_16519:Lnet/minecraft/class_342;official ALgsa;A:Lghb;
-
selectionPriorityField
- Mappings:
Namespace Name Mixin selector named selectionPriorityFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;selectionPriorityField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_47123Lnet/minecraft/class_3742;field_47123:Lnet/minecraft/class_342;official BLgsa;B:Lghb;
-
placementPriorityField
- Mappings:
Namespace Name Mixin selector named placementPriorityFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;placementPriorityField:Lnet/minecraft/client/gui/widget/TextFieldWidget;intermediary field_47124Lnet/minecraft/class_3742;field_47124:Lnet/minecraft/class_342;official CLgsa;C:Lghb;
-
generationDepth
int generationDepth- Mappings:
Namespace Name Mixin selector named generationDepthLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generationDepth:Iintermediary field_24052Lnet/minecraft/class_3742;field_24052:Iofficial DLgsa;D:I
-
keepJigsaws
private boolean keepJigsaws- Mappings:
Namespace Name Mixin selector named keepJigsawsLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;keepJigsaws:Zintermediary field_25271Lnet/minecraft/class_3742;field_25271:Zofficial ELgsa;E:Z
-
jointRotationButton
- Mappings:
Namespace Name Mixin selector named jointRotationButtonLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;jointRotationButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;intermediary field_23351Lnet/minecraft/class_3742;field_23351:Lnet/minecraft/class_5676;official FLgsa;F:Lggz;
-
doneButton
- Mappings:
Namespace Name Mixin selector named doneButtonLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_19103Lnet/minecraft/class_3742;field_19103:Lnet/minecraft/class_4185;official GLgsa;G:Lggs;
-
generateButton
- Mappings:
Namespace Name Mixin selector named generateButtonLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generateButton:Lnet/minecraft/client/gui/widget/ButtonWidget;intermediary field_33958Lnet/minecraft/class_3742;field_33958:Lnet/minecraft/class_4185;official HLgsa;H:Lggs;
-
joint
- Mappings:
Namespace Name Mixin selector named jointLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;joint:Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;intermediary field_23352Lnet/minecraft/class_3742;field_23352:Lnet/minecraft/class_3751$class_4991;official ILgsa;I:Leki$a;
-
-
Constructor Details
-
JigsawBlockScreen
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;<init>(Lnet/minecraft/block/entity/JigsawBlockEntity;)Vintermediary <init>Lnet/minecraft/class_3742;<init>(Lnet/minecraft/class_3751;)Vofficial <init>Lgsa;<init>(Leki;)V
-
-
Method Details
-
onDone
private void onDone()- Mappings:
Namespace Name Mixin selector named onDoneLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;onDone()Vintermediary method_16346Lnet/minecraft/class_3742;method_16346()Vofficial oLgsa;o()V
-
onCancel
private void onCancel()- Mappings:
Namespace Name Mixin selector named onCancelLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;onCancel()Vintermediary method_16349Lnet/minecraft/class_3742;method_16349()Vofficial pLgsa;p()V
-
updateServer
private void updateServer()- Mappings:
Namespace Name Mixin selector named updateServerLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;updateServer()Vintermediary method_16348Lnet/minecraft/class_3742;method_16348()Vofficial FLgsa;F()V
-
parseInt
- Mappings:
Namespace Name Mixin selector named parseIntLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;parseInt(Ljava/lang/String;)Iintermediary method_54800Lnet/minecraft/class_3742;method_54800(Ljava/lang/String;)Iofficial bLgsa;b(Ljava/lang/String;)I
-
generate
private void generate()- Mappings:
Namespace Name Mixin selector named generateLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generate()Vintermediary method_27272Lnet/minecraft/class_3742;method_27272()Vofficial ILgsa;I()V
-
close
public void close() -
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
setInitialFocus
protected void setInitialFocus()This should be overridden with a call toScreen.setInitialFocus(Element)to set the element that is initially focused.- Overrides:
setInitialFocusin classScreen- Mappings:
Namespace Name Mixin selector named setInitialFocusLnet/minecraft/client/gui/screen/Screen;setInitialFocus()Vintermediary method_56131Lnet/minecraft/class_437;method_56131()Vofficial aI_Lgpp;aI_()V
-
isValidId
- Mappings:
Namespace Name Mixin selector named isValidIdLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;isValidId(Ljava/lang/String;)Zintermediary method_61042Lnet/minecraft/class_3742;method_61042(Ljava/lang/String;)Zofficial aLgsa;a(Ljava/lang/String;)Z
-
updateDoneButtonState
private void updateDoneButtonState()- Mappings:
Namespace Name Mixin selector named updateDoneButtonStateLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;updateDoneButtonState()Vintermediary method_20118Lnet/minecraft/class_3742;method_20118()Vofficial JLgsa;J()V
-
deferSubtitles
public boolean deferSubtitles()- Overrides:
deferSubtitlesin classScreen- Mappings:
Namespace Name Mixin selector named deferSubtitlesLnet/minecraft/client/gui/screen/Screen;deferSubtitles()Zintermediary method_73150Lnet/minecraft/class_437;method_73150()Zofficial vLgpp;v()Z
-
resize
public void resize(int width, int height) -
keyPressed
Callback for when a key down event has been captured. The key code is identified by the constants inGLFWclass.- Specified by:
keyPressedin interfaceElement- Specified by:
keyPressedin interfaceParentElement- Overrides:
keyPressedin classScreen- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector named keyPressedLnet/minecraft/client/gui/Element;keyPressed(Lnet/minecraft/client/input/KeyInput;)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(Lnet/minecraft/class_11908;)Zofficial aLgka;a(Lgwn;)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vofficial aLghw;a(Lggf;IIF)V
-