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 ffc
intermediary net/minecraft/class_3742
named 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
Modifier and TypeFieldDescriptionprivate ButtonWidget
private static final Text
private TextFieldWidget
private ButtonWidget
(package private) int
private final JigsawBlockEntity
private JigsawBlockEntity.Joint
private static final Text
private boolean
private static final Text
private TextFieldWidget
private static final Text
private static final Text
private TextFieldWidget
private static final Text
private TextFieldWidget
private static final Text
private static final Text
private TextFieldWidget
private static final Text
private TextFieldWidget
Fields inherited from class net.minecraft.client.gui.screen.Screen
client, executor, height, OPTIONS_BACKGROUND_TEXTURE, textRenderer, title, width
Fields inherited from interface net.minecraft.client.gui.Element
MAX_DOUBLE_CLICK_INTERVAL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
private void
generate()
protected void
init()
Called when a screen should be initialized.boolean
keyPressed
(int keyCode, int scanCode, int modifiers) Callback for when a key down event has been captured.private void
onCancel()
private void
onDone()
private int
void
render
(DrawContext context, int mouseX, int mouseY, float delta) void
resize
(MinecraftClient client, int width, int height) private void
private void
Methods 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, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
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.Element
mouseMoved
Methods inherited from interface net.minecraft.client.gui.navigation.Navigable
getNavigationOrder
Methods inherited from interface net.minecraft.client.gui.ParentElement
charTyped, focusOn, getFocusedPath, getNavigationPath, hoveredElement, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setFocused
-
Field Details
-
JOINT_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector official a
Lffc;a:Lvf;
intermediary field_26564
Lnet/minecraft/class_3742;field_26564:Lnet/minecraft/class_2561;
named JOINT_LABEL_TEXT
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;JOINT_LABEL_TEXT:Lnet/minecraft/text/Text;
-
POOL_TEXT
- Mappings:
Namespace Name Mixin selector official b
Lffc;b:Lvf;
intermediary field_26565
Lnet/minecraft/class_3742;field_26565:Lnet/minecraft/class_2561;
named POOL_TEXT
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;POOL_TEXT:Lnet/minecraft/text/Text;
-
NAME_TEXT
- Mappings:
Namespace Name Mixin selector official c
Lffc;c:Lvf;
intermediary field_26566
Lnet/minecraft/class_3742;field_26566:Lnet/minecraft/class_2561;
named NAME_TEXT
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;NAME_TEXT:Lnet/minecraft/text/Text;
-
TARGET_TEXT
- Mappings:
Namespace Name Mixin selector official k
Lffc;k:Lvf;
intermediary field_26567
Lnet/minecraft/class_3742;field_26567:Lnet/minecraft/class_2561;
named TARGET_TEXT
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;TARGET_TEXT:Lnet/minecraft/text/Text;
-
FINAL_STATE_TEXT
- Mappings:
Namespace Name Mixin selector official l
Lffc;l:Lvf;
intermediary field_26568
Lnet/minecraft/class_3742;field_26568:Lnet/minecraft/class_2561;
named FINAL_STATE_TEXT
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;FINAL_STATE_TEXT:Lnet/minecraft/text/Text;
-
PLACEMENT_PRIORITY_TEXT
- Mappings:
Namespace Name Mixin selector official m
Lffc;m:Lvf;
intermediary field_47119
Lnet/minecraft/class_3742;field_47119:Lnet/minecraft/class_2561;
named PLACEMENT_PRIORITY_TEXT
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;PLACEMENT_PRIORITY_TEXT:Lnet/minecraft/text/Text;
-
PLACEMENT_PRIORITY_TOOLTIP
- Mappings:
Namespace Name Mixin selector official n
Lffc;n:Lvf;
intermediary field_47120
Lnet/minecraft/class_3742;field_47120:Lnet/minecraft/class_2561;
named PLACEMENT_PRIORITY_TOOLTIP
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;PLACEMENT_PRIORITY_TOOLTIP:Lnet/minecraft/text/Text;
-
SELECTION_PRIORITY_TEXT
- Mappings:
Namespace Name Mixin selector official o
Lffc;o:Lvf;
intermediary field_47121
Lnet/minecraft/class_3742;field_47121:Lnet/minecraft/class_2561;
named SELECTION_PRIORITY_TEXT
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;SELECTION_PRIORITY_TEXT:Lnet/minecraft/text/Text;
-
SELECTION_PRIORITY_TOOLTIP
- Mappings:
Namespace Name Mixin selector official p
Lffc;p:Lvf;
intermediary field_47122
Lnet/minecraft/class_3742;field_47122:Lnet/minecraft/class_2561;
named SELECTION_PRIORITY_TOOLTIP
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;SELECTION_PRIORITY_TOOLTIP:Lnet/minecraft/text/Text;
-
jigsaw
- Mappings:
Namespace Name Mixin selector official q
Lffc;q:Ldhv;
intermediary field_16522
Lnet/minecraft/class_3742;field_16522:Lnet/minecraft/class_3751;
named jigsaw
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;jigsaw:Lnet/minecraft/block/entity/JigsawBlockEntity;
-
nameField
- Mappings:
Namespace Name Mixin selector official r
Lffc;r:Lexp;
intermediary field_23348
Lnet/minecraft/class_3742;field_23348:Lnet/minecraft/class_342;
named nameField
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;nameField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
targetField
- Mappings:
Namespace Name Mixin selector official t
Lffc;t:Lexp;
intermediary field_23349
Lnet/minecraft/class_3742;field_23349:Lnet/minecraft/class_342;
named targetField
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;targetField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
poolField
- Mappings:
Namespace Name Mixin selector official u
Lffc;u:Lexp;
intermediary field_23350
Lnet/minecraft/class_3742;field_23350:Lnet/minecraft/class_342;
named poolField
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;poolField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
finalStateField
- Mappings:
Namespace Name Mixin selector official v
Lffc;v:Lexp;
intermediary field_16519
Lnet/minecraft/class_3742;field_16519:Lnet/minecraft/class_342;
named finalStateField
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;finalStateField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
selectionPriorityField
- Mappings:
Namespace Name Mixin selector official w
Lffc;w:Lexp;
intermediary field_47123
Lnet/minecraft/class_3742;field_47123:Lnet/minecraft/class_342;
named selectionPriorityField
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;selectionPriorityField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
placementPriorityField
- Mappings:
Namespace Name Mixin selector official x
Lffc;x:Lexp;
intermediary field_47124
Lnet/minecraft/class_3742;field_47124:Lnet/minecraft/class_342;
named placementPriorityField
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;placementPriorityField:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
generationDepth
int generationDepth- Mappings:
Namespace Name Mixin selector official y
Lffc;y:I
intermediary field_24052
Lnet/minecraft/class_3742;field_24052:I
named generationDepth
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generationDepth:I
-
keepJigsaws
private boolean keepJigsaws- Mappings:
Namespace Name Mixin selector official z
Lffc;z:Z
intermediary field_25271
Lnet/minecraft/class_3742;field_25271:Z
named keepJigsaws
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;keepJigsaws:Z
-
jointRotationButton
- Mappings:
Namespace Name Mixin selector official A
Lffc;A:Lexn;
intermediary field_23351
Lnet/minecraft/class_3742;field_23351:Lnet/minecraft/class_5676;
named jointRotationButton
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;jointRotationButton:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
doneButton
- Mappings:
Namespace Name Mixin selector official B
Lffc;B:Lexg;
intermediary field_19103
Lnet/minecraft/class_3742;field_19103:Lnet/minecraft/class_4185;
named doneButton
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;doneButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
generateButton
- Mappings:
Namespace Name Mixin selector official C
Lffc;C:Lexg;
intermediary field_33958
Lnet/minecraft/class_3742;field_33958:Lnet/minecraft/class_4185;
named generateButton
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generateButton:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
joint
- Mappings:
Namespace Name Mixin selector official D
Lffc;D:Ldhv$a;
intermediary field_23352
Lnet/minecraft/class_3742;field_23352:Lnet/minecraft/class_3751$class_4991;
named joint
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;joint:Lnet/minecraft/block/entity/JigsawBlockEntity$Joint;
-
-
Constructor Details
-
JigsawBlockScreen
- Mappings:
Namespace Name Mixin selector official <init>
Lffc;<init>(Ldhv;)V
intermediary <init>
Lnet/minecraft/class_3742;<init>(Lnet/minecraft/class_3751;)V
named <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 n
Lffc;n()V
intermediary method_16346
Lnet/minecraft/class_3742;method_16346()V
named onDone
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;onDone()V
-
onCancel
private void onCancel()- Mappings:
Namespace Name Mixin selector official D
Lffc;D()V
intermediary method_16349
Lnet/minecraft/class_3742;method_16349()V
named onCancel
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;onCancel()V
-
updateServer
private void updateServer()- Mappings:
Namespace Name Mixin selector official E
Lffc;E()V
intermediary method_16348
Lnet/minecraft/class_3742;method_16348()V
named updateServer
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;updateServer()V
-
parseInt
- Mappings:
Namespace Name Mixin selector official a
Lffc;a(Ljava/lang/String;)I
intermediary method_54800
Lnet/minecraft/class_3742;method_54800(Ljava/lang/String;)I
named parseInt
Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;parseInt(Ljava/lang/String;)I
-
generate
private void generate()- Mappings:
Namespace Name Mixin selector official H
Lffc;H()V
intermediary method_27272
Lnet/minecraft/class_3742;method_27272()V
named generate
Lnet/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(net.minecraft.client.gui.Element)
to set the element that is initially focused. -
updateDoneButtonState
private void updateDoneButtonState()- Mappings:
Namespace Name Mixin selector official I
Lffc;I()V
intermediary method_20118
Lnet/minecraft/class_3742;method_20118()V
named updateDoneButtonState
Lnet/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 inGLFW
class.- Specified by:
keyPressed
in interfaceElement
- Specified by:
keyPressed
in interfaceParentElement
- Overrides:
keyPressed
in classScreen
- Parameters:
keyCode
- the named key code of the event as described in theGLFW
classscanCode
- 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:
true
to indicate that the event handling is successful/valid- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lezb;a(III)Z
intermediary method_25404
Lnet/minecraft/class_364;method_25404(III)Z
named keyPressed
Lnet/minecraft/client/gui/Element;keyPressed(III)Z
-
render
- Specified by:
render
in interfaceDrawable
- Overrides:
render
in classScreen
- Mappings:
Namespace Name Mixin selector official a
Leyj;a(Lewu;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_332;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/gui/DrawContext;IIF)V
-