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 official fjiintermediary net/minecraft/class_3742named net/minecraft/client/gui/screen/ingame/JigsawBlockScreen
-
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, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, widthFields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private voidgenerate()protected voidinit()Called when a screen should be initialized.booleankeyPressed(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private voidonCancel()private voidonDone()private intvoidrender(DrawContext context, int mouseX, int mouseY, float delta) voidresize(MinecraftClient client, int width, int height) protected voidprivate voidprivate voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, blur, children, clearAndInit, clearChildren, filesDragged, findSelectedElementData, getMusic, getNarratedTitle, getNavigationFocus, getTitle, getTooltipFromItem, getUsageNarrationText, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, hasUsageText, hide, init, initTabNavigation, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, onDisplayed, remove, removed, renderBackground, renderBackgroundTexture, renderInGameBackground, renderWithTooltip, setInitialFocus, setTooltip, setTooltip, setTooltip, setTooltip, shouldCloseOnEsc, shouldPause, switchFocus, tick, updateNarrator, wrapScreenErrorMethods 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
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 official aLfji;a:Lvu;intermediary field_26564Lnet/minecraft/class_3742;field_26564:Lnet/minecraft/class_2561;named JOINT_LABEL_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;JOINT_LABEL_TEXT:Lnet/minecraft/text/Text;
-
POOL_TEXT
- Mappings:
Namespace Name Mixin selector official bLfji;b:Lvu;intermediary field_26565Lnet/minecraft/class_3742;field_26565:Lnet/minecraft/class_2561;named POOL_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;POOL_TEXT:Lnet/minecraft/text/Text;
-
NAME_TEXT
- Mappings:
Namespace Name Mixin selector official cLfji;c:Lvu;intermediary field_26566Lnet/minecraft/class_3742;field_26566:Lnet/minecraft/class_2561;named NAME_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;NAME_TEXT:Lnet/minecraft/text/Text;
-
TARGET_TEXT
- Mappings:
Namespace Name Mixin selector official kLfji;k:Lvu;intermediary field_26567Lnet/minecraft/class_3742;field_26567:Lnet/minecraft/class_2561;named TARGET_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;TARGET_TEXT:Lnet/minecraft/text/Text;
-
FINAL_STATE_TEXT
- Mappings:
Namespace Name Mixin selector official lLfji;l:Lvu;intermediary field_26568Lnet/minecraft/class_3742;field_26568:Lnet/minecraft/class_2561;named FINAL_STATE_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;FINAL_STATE_TEXT:Lnet/minecraft/text/Text;
-
PLACEMENT_PRIORITY_TEXT
- Mappings:
Namespace Name Mixin selector official mLfji;m:Lvu;intermediary field_47119Lnet/minecraft/class_3742;field_47119:Lnet/minecraft/class_2561;named PLACEMENT_PRIORITY_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;PLACEMENT_PRIORITY_TEXT:Lnet/minecraft/text/Text;
-
PLACEMENT_PRIORITY_TOOLTIP
- Mappings:
Namespace Name Mixin selector official nLfji;n:Lvu;intermediary field_47120Lnet/minecraft/class_3742;field_47120:Lnet/minecraft/class_2561;named PLACEMENT_PRIORITY_TOOLTIPLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;PLACEMENT_PRIORITY_TOOLTIP:Lnet/minecraft/text/Text;
-
SELECTION_PRIORITY_TEXT
- Mappings:
Namespace Name Mixin selector official oLfji;o:Lvu;intermediary field_47121Lnet/minecraft/class_3742;field_47121:Lnet/minecraft/class_2561;named SELECTION_PRIORITY_TEXTLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;SELECTION_PRIORITY_TEXT:Lnet/minecraft/text/Text;
-
SELECTION_PRIORITY_TOOLTIP
- Mappings:
Namespace Name Mixin selector official pLfji;p:Lvu;intermediary field_47122Lnet/minecraft/class_3742;field_47122:Lnet/minecraft/class_2561;named SELECTION_PRIORITY_TOOLTIPLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;SELECTION_PRIORITY_TOOLTIP:Lnet/minecraft/text/Text;
-
jigsaw
- Mappings:
Namespace Name Mixin selector official qLfji;q:Ldli;intermediary field_16522Lnet/minecraft/class_3742;field_16522:Lnet/minecraft/class_3751;named jigsawLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;jigsaw:Lnet/minecraft/block/entity/JigsawBlockEntity;
-
nameField
- Mappings:
Namespace Name Mixin selector official rLfji;r:Lfbr;intermediary field_23348Lnet/minecraft/class_3742;field_23348:Lnet/minecraft/class_342;named nameFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;nameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
targetField
- Mappings:
Namespace Name Mixin selector official tLfji;t:Lfbr;intermediary field_23349Lnet/minecraft/class_3742;field_23349:Lnet/minecraft/class_342;named targetFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;targetField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
poolField
- Mappings:
Namespace Name Mixin selector official uLfji;u:Lfbr;intermediary field_23350Lnet/minecraft/class_3742;field_23350:Lnet/minecraft/class_342;named poolFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;poolField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
finalStateField
- Mappings:
Namespace Name Mixin selector official vLfji;v:Lfbr;intermediary field_16519Lnet/minecraft/class_3742;field_16519:Lnet/minecraft/class_342;named finalStateFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;finalStateField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
selectionPriorityField
- Mappings:
Namespace Name Mixin selector official wLfji;w:Lfbr;intermediary field_47123Lnet/minecraft/class_3742;field_47123:Lnet/minecraft/class_342;named selectionPriorityFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;selectionPriorityField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
placementPriorityField
- Mappings:
Namespace Name Mixin selector official xLfji;x:Lfbr;intermediary field_47124Lnet/minecraft/class_3742;field_47124:Lnet/minecraft/class_342;named placementPriorityFieldLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;placementPriorityField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
generationDepth
int generationDepth- Mappings:
Namespace Name Mixin selector official yLfji;y:Iintermediary field_24052Lnet/minecraft/class_3742;field_24052:Inamed generationDepthLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generationDepth:I
-
keepJigsaws
private boolean keepJigsaws- Mappings:
Namespace Name Mixin selector official zLfji;z:Zintermediary field_25271Lnet/minecraft/class_3742;field_25271:Znamed keepJigsawsLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;keepJigsaws:Z
-
jointRotationButton
- Mappings:
Namespace Name Mixin selector official ALfji;A:Lfbp;intermediary field_23351Lnet/minecraft/class_3742;field_23351:Lnet/minecraft/class_5676;named jointRotationButtonLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;jointRotationButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
doneButton
- Mappings:
Namespace Name Mixin selector official BLfji;B:Lfbi;intermediary field_19103Lnet/minecraft/class_3742;field_19103:Lnet/minecraft/class_4185;named doneButtonLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
generateButton
- Mappings:
Namespace Name Mixin selector official CLfji;C:Lfbi;intermediary field_33958Lnet/minecraft/class_3742;field_33958:Lnet/minecraft/class_4185;named generateButtonLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generateButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
joint
- Mappings:
Namespace Name Mixin selector official DLfji;D:Ldli$a;intermediary field_23352Lnet/minecraft/class_3742;field_23352:Lnet/minecraft/class_3751$class_4991;named jointLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;joint:Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;
-
-
Constructor Details
-
JigsawBlockScreen
- Mappings:
Namespace Name Mixin selector official <init>Lfji;<init>(Ldli;)Vintermediary <init>Lnet/minecraft/class_3742;<init>(Lnet/minecraft/class_3751;)Vnamed <init>Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;<init>(Lnet/minecraft/block/entity/JigsawBlockEntity;)V
-
-
Method Details
-
onDone
private void onDone()- Mappings:
Namespace Name Mixin selector official oLfji;o()Vintermediary method_16346Lnet/minecraft/class_3742;method_16346()Vnamed onDoneLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;onDone()V
-
onCancel
private void onCancel()- Mappings:
Namespace Name Mixin selector official ELfji;E()Vintermediary method_16349Lnet/minecraft/class_3742;method_16349()Vnamed onCancelLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;onCancel()V
-
updateServer
private void updateServer()- Mappings:
Namespace Name Mixin selector official HLfji;H()Vintermediary method_16348Lnet/minecraft/class_3742;method_16348()Vnamed updateServerLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;updateServer()V
-
parseInt
- Mappings:
Namespace Name Mixin selector official aLfji;a(Ljava/lang/String;)Iintermediary method_54800Lnet/minecraft/class_3742;method_54800(Ljava/lang/String;)Inamed parseIntLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;parseInt(Ljava/lang/String;)I
-
generate
private void generate()- Mappings:
Namespace Name Mixin selector official ILfji;I()Vintermediary method_27272Lnet/minecraft/class_3742;method_27272()Vnamed generateLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generate()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.
This should call
Screen.setInitialFocus()to set the element that is initially focused. -
setInitialFocus
protected void setInitialFocus()- Overrides:
setInitialFocusin classScreen- Mappings:
Namespace Name Mixin selector official aF_Lfhh;aF_()Vintermediary method_56131Lnet/minecraft/class_437;method_56131()Vnamed setInitialFocusLnet/minecraft/client/gui/screen/Screen;setInitialFocus()V
-
updateDoneButtonState
private void updateDoneButtonState()- Mappings:
Namespace Name Mixin selector official JLfji;J()Vintermediary method_20118Lnet/minecraft/class_3742;method_20118()Vnamed updateDoneButtonStateLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;updateDoneButtonState()V
-
resize
-
keyPressed
public boolean keyPressed(int keyCode, int scanCode, int modifiers) 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- Parameters:
keyCode- the named key code of the event as described in theGLFWclassscanCode- the unique/platform-specific scan code of the keyboard inputmodifiers- a GLFW bitfield describing the modifier keys that are held down (see GLFW Modifier key flags)- Returns:
trueto indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official aLfde;a(III)Zintermediary method_25404Lnet/minecraft/class_364;method_25404(III)Znamed keyPressedLnet/minecraft/client/gui/Element;keyPressed(III)Z
-
render
- Specified by:
renderin interfaceDrawable- Overrides:
renderin classScreen- Mappings:
Namespace Name Mixin selector official aLfcl;a(Lfav;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-