Class JigsawBlockScreen
java.lang.Object
net.minecraft.client.gui.DrawableHelper
net.minecraft.client.gui.AbstractParentElement
net.minecraft.client.gui.screen.Screen
net.minecraft.client.gui.screen.ingame.JigsawBlockScreen
- All Implemented Interfaces:
Drawable,Element,ParentElement
- Mappings:
Namespace Name official eckintermediary 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 intprivate ButtonWidgetprivate static Textprivate TextFieldWidget(package private) intprivate JigsawBlockEntityprivate JigsawBlockEntity.Jointprivate static Textprivate booleanprivate static Textprivate TextFieldWidgetprivate static Textprivate TextFieldWidgetprivate static Textprivate TextFieldWidgetFields inherited from class net.minecraft.client.gui.screen.Screen
client, height, itemRenderer, passEvents, textRenderer, title, widthFields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate 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()voidonClose()private voidonDone()voidremoved()voidrender(MatrixStack matrices, int mouseX, int mouseY, float delta)voidresize(MinecraftClient client, int width, int height)voidtick()private voidprivate voidMethods inherited from class net.minecraft.client.gui.screen.Screen
addDrawable, addDrawableChild, addElementNarrations, addScreenNarrations, addSelectableChild, applyKeyPressNarratorDelay, applyMouseMoveNarratorDelay, applyMousePressScrollNarratorDelay, applyNarratorModeChangeDelay, children, clearChildren, filesDragged, findSelectedElementData, getNarratedTitle, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, narrateScreenIfNarrationEnabled, remove, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, shouldCloseOnEsc, updateNarrator, wrapScreenErrorMethods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocusedMethods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredText, drawCenteredText, drawCenteredTextWithShadow, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, drawWithOutline, drawWithShadow, fill, fillGradient, fillGradient, fillGradient, getZOffset, setZOffsetMethods 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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
field_32344
private static final int field_32344- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLeck;a:Iintermediary field_32344Lnet/minecraft/class_3742;field_32344:Inamed field_32344Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;field_32344:I
-
JOINT_LABEL_TEXT
- Mappings:
Namespace Name Mixin selector official bLeck;b:Los;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 cLeck;c:Los;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 nLeck;n:Los;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 oLeck;o:Los;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 pLeck;p:Los;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;
-
jigsaw
- Mappings:
Namespace Name Mixin selector official qLeck;q:Lcji;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 rLeck;r:Ldxh;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 sLeck;s:Ldxh;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 tLeck;t:Ldxh;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 uLeck;u:Ldxh;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;
-
generationDepth
int generationDepth- Mappings:
Namespace Name Mixin selector official vLeck;v: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 wLeck;w: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 xLeck;x:Ldxf;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 yLeck;y:Ldwz;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;
-
field_33958
- Mappings:
Namespace Name Mixin selector official zLeck;z:Ldwz;intermediary field_33958Lnet/minecraft/class_3742;field_33958:Lnet/minecraft/class_4185;named field_33958Lnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;field_33958:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
joint
- Mappings:
Namespace Name Mixin selector official ALeck;A:Lcji$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>Leck;<init>(Lcji;)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
-
tick
public void tick() -
onDone
private void onDone()- Mappings:
Namespace Name Mixin selector official hLeck;h()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 uLeck;u()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 wLeck;w()Vintermediary method_16348Lnet/minecraft/class_3742;method_16348()Vnamed updateServerLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;updateServer()V
-
generate
private void generate()- Mappings:
Namespace Name Mixin selector official xLeck;x()Vintermediary method_27272Lnet/minecraft/class_3742;method_27272()Vnamed generateLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;generate()V
-
onClose
public void onClose() -
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
updateDoneButtonState
private void updateDoneButtonState()- Mappings:
Namespace Name Mixin selector official yLeck;y()Vintermediary method_20118Lnet/minecraft/class_3742;method_20118()Vnamed updateDoneButtonStateLnet/minecraft/client/gui/screen/ingame/JigsawBlockScreen;updateDoneButtonState()V
-
resize
-
removed
public void removed() -
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:
Keyboard.onKey(long, int, int, int, int),GLFW.GLFW_KEY_Q,GLFWKeyCallbackI.invoke(long, int, int, int, int)- Mappings:
Namespace Name Mixin selector official aLdxx;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 aLdxu;a(Ldqk;IIF)Vintermediary method_25394Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)Vnamed renderLnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-