Class StructureBlockScreen
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.StructureBlockScreen
- All Implemented Interfaces:
Drawable
,Element
,ParentElement
,TickableElement
@Environment(CLIENT) public class StructureBlockScreen extends Screen
- Mappings:
Namespace Name official dxk
intermediary net/minecraft/class_497
named net/minecraft/client/gui/screen/ingame/StructureBlockScreen
-
Field Summary
Fields inherited from class net.minecraft.client.gui.screen.Screen
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
Fields inherited from class net.minecraft.client.gui.DrawableHelper
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
-
Constructor Summary
Constructors Constructor Description StructureBlockScreen(StructureBlockBlockEntity structureBlock)
-
Method Summary
Modifier and Type Method Description private void
cancel()
private void
done()
protected void
init()
Called when a screen should be initialized.boolean
isPauseScreen()
boolean
keyPressed(int keyCode, int scanCode, int modifiers)
Callback for when a key down event has been captured.private boolean
method_2516(StructureBlockBlockEntity.Action action)
private void
method_32650(StructureBlockMode structureBlockMode)
void
onClose()
private float
parseFloat(String string)
private int
parseInt(String string)
private long
parseLong(String string)
void
removed()
void
render(MatrixStack matrices, int mouseX, int mouseY, float delta)
void
resize(MinecraftClient client, int width, int height)
void
tick()
private void
updateRotationButton()
Methods inherited from class net.minecraft.client.gui.screen.Screen
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, renderTooltip, sendMessage, sendMessage, shouldCloseOnEsc, wrapScreenError
Methods inherited from class net.minecraft.client.gui.AbstractParentElement
getFocused, isDragging, setDragging, setFocused
Methods inherited from class net.minecraft.client.gui.DrawableHelper
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, method_33284, setZOffset
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.ParentElement
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
-
Field Details
-
STRUCTURE_NAME_TEXT
- Mappings:
Namespace Name Mixin selector official a
Ldxk;a:Loi;
intermediary field_26572
Lnet/minecraft/class_497;field_26572:Lnet/minecraft/class_2561;
named STRUCTURE_NAME_TEXT
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;STRUCTURE_NAME_TEXT:Lnet/minecraft/text/Text;
-
POSITION_TEXT
- Mappings:
Namespace Name Mixin selector official b
Ldxk;b:Loi;
intermediary field_26573
Lnet/minecraft/class_497;field_26573:Lnet/minecraft/class_2561;
named POSITION_TEXT
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;POSITION_TEXT:Lnet/minecraft/text/Text;
-
SIZE_TEXT
- Mappings:
Namespace Name Mixin selector official c
Ldxk;c:Loi;
intermediary field_26574
Lnet/minecraft/class_497;field_26574:Lnet/minecraft/class_2561;
named SIZE_TEXT
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;SIZE_TEXT:Lnet/minecraft/text/Text;
-
INTEGRITY_TEXT
- Mappings:
Namespace Name Mixin selector official p
Ldxk;p:Loi;
intermediary field_26575
Lnet/minecraft/class_497;field_26575:Lnet/minecraft/class_2561;
named INTEGRITY_TEXT
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;INTEGRITY_TEXT:Lnet/minecraft/text/Text;
-
CUSTOM_DATA_TEXT
- Mappings:
Namespace Name Mixin selector official q
Ldxk;q:Loi;
intermediary field_26576
Lnet/minecraft/class_497;field_26576:Lnet/minecraft/class_2561;
named CUSTOM_DATA_TEXT
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;CUSTOM_DATA_TEXT:Lnet/minecraft/text/Text;
-
INCLUDE_ENTITIES_TEXT
- Mappings:
Namespace Name Mixin selector official r
Ldxk;r:Loi;
intermediary field_26577
Lnet/minecraft/class_497;field_26577:Lnet/minecraft/class_2561;
named INCLUDE_ENTITIES_TEXT
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;INCLUDE_ENTITIES_TEXT:Lnet/minecraft/text/Text;
-
DETECT_SIZE_TEXT
- Mappings:
Namespace Name Mixin selector official s
Ldxk;s:Loi;
intermediary field_26578
Lnet/minecraft/class_497;field_26578:Lnet/minecraft/class_2561;
named DETECT_SIZE_TEXT
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;DETECT_SIZE_TEXT:Lnet/minecraft/text/Text;
-
SHOW_AIR_TEXT
- Mappings:
Namespace Name Mixin selector official t
Ldxk;t:Loi;
intermediary field_26579
Lnet/minecraft/class_497;field_26579:Lnet/minecraft/class_2561;
named SHOW_AIR_TEXT
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;SHOW_AIR_TEXT:Lnet/minecraft/text/Text;
-
SHOW_BOUNDING_BOX_TEXT
- Mappings:
Namespace Name Mixin selector official u
Ldxk;u:Loi;
intermediary field_26580
Lnet/minecraft/class_497;field_26580:Lnet/minecraft/class_2561;
named SHOW_BOUNDING_BOX_TEXT
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;SHOW_BOUNDING_BOX_TEXT:Lnet/minecraft/text/Text;
-
MODES
- Mappings:
Namespace Name Mixin selector official v
Ldxk;v:Lcom/google/common/collect/ImmutableList;
intermediary field_27993
Lnet/minecraft/class_497;field_27993:Lcom/google/common/collect/ImmutableList;
named MODES
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;MODES:Lcom/google/common/collect/ImmutableList;
-
MODES_EXCEPT_DATA
- Mappings:
Namespace Name Mixin selector official w
Ldxk;w:Lcom/google/common/collect/ImmutableList;
intermediary field_27994
Lnet/minecraft/class_497;field_27994:Lcom/google/common/collect/ImmutableList;
named MODES_EXCEPT_DATA
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;MODES_EXCEPT_DATA:Lcom/google/common/collect/ImmutableList;
-
structureBlock
- Mappings:
Namespace Name Mixin selector official x
Ldxk;x:Lcgv;
intermediary field_2980
Lnet/minecraft/class_497;field_2980:Lnet/minecraft/class_2633;
named structureBlock
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;structureBlock:Lnet/minecraft/block/entity/StructureBlockBlockEntity;
-
mirror
- Mappings:
Namespace Name Mixin selector official y
Ldxk;y:Lcbb;
intermediary field_2996
Lnet/minecraft/class_497;field_2996:Lnet/minecraft/class_2415;
named mirror
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;mirror:Lnet/minecraft/util/BlockMirror;
-
rotation
- Mappings:
Namespace Name Mixin selector official z
Ldxk;z:Lccm;
intermediary field_3003
Lnet/minecraft/class_497;field_3003:Lnet/minecraft/class_2470;
named rotation
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;rotation:Lnet/minecraft/util/BlockRotation;
-
mode
- Mappings:
Namespace Name Mixin selector official A
Ldxk;A:Lcjc;
intermediary field_3004
Lnet/minecraft/class_497;field_3004:Lnet/minecraft/class_2776;
named mode
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;mode:Lnet/minecraft/block/enums/StructureBlockMode;
-
ignoreEntities
private boolean ignoreEntities- Mappings:
Namespace Name Mixin selector official B
Ldxk;B:Z
intermediary field_2985
Lnet/minecraft/class_497;field_2985:Z
named ignoreEntities
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;ignoreEntities:Z
-
showAir
private boolean showAir- Mappings:
Namespace Name Mixin selector official C
Ldxk;C:Z
intermediary field_2997
Lnet/minecraft/class_497;field_2997:Z
named showAir
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;showAir:Z
-
showBoundingBox
private boolean showBoundingBox- Mappings:
Namespace Name Mixin selector official D
Ldxk;D:Z
intermediary field_2983
Lnet/minecraft/class_497;field_2983:Z
named showBoundingBox
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;showBoundingBox:Z
-
inputName
- Mappings:
Namespace Name Mixin selector official E
Ldxk;E:Ldsc;
intermediary field_3005
Lnet/minecraft/class_497;field_3005:Lnet/minecraft/class_342;
named inputName
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputName:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputPosX
- Mappings:
Namespace Name Mixin selector official F
Ldxk;F:Ldsc;
intermediary field_2982
Lnet/minecraft/class_497;field_2982:Lnet/minecraft/class_342;
named inputPosX
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputPosX:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputPosY
- Mappings:
Namespace Name Mixin selector official G
Ldxk;G:Ldsc;
intermediary field_2999
Lnet/minecraft/class_497;field_2999:Lnet/minecraft/class_342;
named inputPosY
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputPosY:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputPosZ
- Mappings:
Namespace Name Mixin selector official H
Ldxk;H:Ldsc;
intermediary field_3010
Lnet/minecraft/class_497;field_3010:Lnet/minecraft/class_342;
named inputPosZ
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputPosZ:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputSizeX
- Mappings:
Namespace Name Mixin selector official I
Ldxk;I:Ldsc;
intermediary field_2988
Lnet/minecraft/class_497;field_2988:Lnet/minecraft/class_342;
named inputSizeX
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSizeX:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputSizeY
- Mappings:
Namespace Name Mixin selector official J
Ldxk;J:Ldsc;
intermediary field_2998
Lnet/minecraft/class_497;field_2998:Lnet/minecraft/class_342;
named inputSizeY
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSizeY:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputSizeZ
- Mappings:
Namespace Name Mixin selector official K
Ldxk;K:Ldsc;
intermediary field_2978
Lnet/minecraft/class_497;field_2978:Lnet/minecraft/class_342;
named inputSizeZ
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSizeZ:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputIntegrity
- Mappings:
Namespace Name Mixin selector official L
Ldxk;L:Ldsc;
intermediary field_3000
Lnet/minecraft/class_497;field_3000:Lnet/minecraft/class_342;
named inputIntegrity
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputIntegrity:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputSeed
- Mappings:
Namespace Name Mixin selector official M
Ldxk;M:Ldsc;
intermediary field_2992
Lnet/minecraft/class_497;field_2992:Lnet/minecraft/class_342;
named inputSeed
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputSeed:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
inputMetadata
- Mappings:
Namespace Name Mixin selector official N
Ldxk;N:Ldsc;
intermediary field_2986
Lnet/minecraft/class_497;field_2986:Lnet/minecraft/class_342;
named inputMetadata
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;inputMetadata:Lnet/minecraft/client/gui/widget/TextFieldWidget;
-
buttonSave
- Mappings:
Namespace Name Mixin selector official O
Ldxk;O:Ldru;
intermediary field_2987
Lnet/minecraft/class_497;field_2987:Lnet/minecraft/class_4185;
named buttonSave
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonSave:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonLoad
- Mappings:
Namespace Name Mixin selector official P
Ldxk;P:Ldru;
intermediary field_3006
Lnet/minecraft/class_497;field_3006:Lnet/minecraft/class_4185;
named buttonLoad
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonLoad:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonRotate0
- Mappings:
Namespace Name Mixin selector official Q
Ldxk;Q:Ldru;
intermediary field_2995
Lnet/minecraft/class_497;field_2995:Lnet/minecraft/class_4185;
named buttonRotate0
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate0:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonRotate90
- Mappings:
Namespace Name Mixin selector official R
Ldxk;R:Ldru;
intermediary field_2981
Lnet/minecraft/class_497;field_2981:Lnet/minecraft/class_4185;
named buttonRotate90
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate90:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonRotate180
- Mappings:
Namespace Name Mixin selector official S
Ldxk;S:Ldru;
intermediary field_3007
Lnet/minecraft/class_497;field_3007:Lnet/minecraft/class_4185;
named buttonRotate180
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate180:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonRotate270
- Mappings:
Namespace Name Mixin selector official T
Ldxk;T:Ldru;
intermediary field_2993
Lnet/minecraft/class_497;field_2993:Lnet/minecraft/class_4185;
named buttonRotate270
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonRotate270:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonDetect
- Mappings:
Namespace Name Mixin selector official U
Ldxk;U:Ldru;
intermediary field_3009
Lnet/minecraft/class_497;field_3009:Lnet/minecraft/class_4185;
named buttonDetect
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonDetect:Lnet/minecraft/client/gui/widget/ButtonWidget;
-
buttonEntities
- Mappings:
Namespace Name Mixin selector official V
Ldxk;V:Ldsa;
intermediary field_2990
Lnet/minecraft/class_497;field_2990:Lnet/minecraft/class_5676;
named buttonEntities
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonEntities:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
buttonMirror
- Mappings:
Namespace Name Mixin selector official W
Ldxk;W:Ldsa;
intermediary field_2979
Lnet/minecraft/class_497;field_2979:Lnet/minecraft/class_5676;
named buttonMirror
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonMirror:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
buttonShowAir
- Mappings:
Namespace Name Mixin selector official X
Ldxk;X:Ldsa;
intermediary field_3008
Lnet/minecraft/class_497;field_3008:Lnet/minecraft/class_5676;
named buttonShowAir
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonShowAir:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
buttonShowBoundingBox
- Mappings:
Namespace Name Mixin selector official Y
Ldxk;Y:Ldsa;
intermediary field_3001
Lnet/minecraft/class_497;field_3001:Lnet/minecraft/class_5676;
named buttonShowBoundingBox
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;buttonShowBoundingBox:Lnet/minecraft/client/gui/widget/CyclingButtonWidget;
-
decimalFormat
- Mappings:
Namespace Name Mixin selector official Z
Ldxk;Z:Ljava/text/DecimalFormat;
intermediary field_2991
Lnet/minecraft/class_497;field_2991:Ljava/text/DecimalFormat;
named decimalFormat
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;decimalFormat:Ljava/text/DecimalFormat;
-
-
Constructor Details
-
StructureBlockScreen
- Mappings:
Namespace Name Mixin selector official <init>
Ldxk;<init>(Lcgv;)V
intermediary <init>
Lnet/minecraft/class_497;<init>(Lnet/minecraft/class_2633;)V
named <init>
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;<init>(Lnet/minecraft/block/entity/StructureBlockBlockEntity;)V
-
-
Method Details
-
tick
public void tick()- Specified by:
tick
in interfaceTickableElement
- Overrides:
tick
in classScreen
- Mappings:
Namespace Name Mixin selector official d
Ldsn;d()V
intermediary method_25393
Lnet/minecraft/class_4893;method_25393()V
named tick
Lnet/minecraft/client/gui/screen/TickableElement;tick()V
-
done
private void done()- Mappings:
Namespace Name Mixin selector official h
Ldxk;h()V
intermediary method_2515
Lnet/minecraft/class_497;method_2515()V
named done
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;done()V
-
cancel
private void cancel()- Mappings:
Namespace Name Mixin selector official i
Ldxk;i()V
intermediary method_2514
Lnet/minecraft/class_497;method_2514()V
named cancel
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;cancel()V
-
init
protected void init()Called when a screen should be initialized.This method is called when this screen is opened or resized.
-
resize
-
removed
public void removed() -
updateRotationButton
private void updateRotationButton()- Mappings:
Namespace Name Mixin selector official k
Ldxk;k()V
intermediary method_2510
Lnet/minecraft/class_497;method_2510()V
named updateRotationButton
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;updateRotationButton()V
-
method_32650
- Mappings:
Namespace Name Mixin selector official a
Ldxk;a(Lcjc;)V
intermediary method_32650
Lnet/minecraft/class_497;method_32650(Lnet/minecraft/class_2776;)V
named method_32650
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;method_32650(Lnet/minecraft/block/enums/StructureBlockMode;)V
-
method_2516
- Mappings:
Namespace Name Mixin selector official a
Ldxk;a(Lcgv$a;)Z
intermediary method_2516
Lnet/minecraft/class_497;method_2516(Lnet/minecraft/class_2633$class_2634;)Z
named method_2516
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;method_2516(Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;)Z
-
parseLong
- Mappings:
Namespace Name Mixin selector official b
Ldxk;b(Ljava/lang/String;)J
intermediary method_2504
Lnet/minecraft/class_497;method_2504(Ljava/lang/String;)J
named parseLong
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;parseLong(Ljava/lang/String;)J
-
parseFloat
- Mappings:
Namespace Name Mixin selector official c
Ldxk;c(Ljava/lang/String;)F
intermediary method_2500
Lnet/minecraft/class_497;method_2500(Ljava/lang/String;)F
named parseFloat
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;parseFloat(Ljava/lang/String;)F
-
parseInt
- Mappings:
Namespace Name Mixin selector official d
Ldxk;d(Ljava/lang/String;)I
intermediary method_2517
Lnet/minecraft/class_497;method_2517(Ljava/lang/String;)I
named parseInt
Lnet/minecraft/client/gui/screen/ingame/StructureBlockScreen;parseInt(Ljava/lang/String;)I
-
onClose
public void onClose() -
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:
Keyboard.onKey(long, int, int, int, int)
,GLFW.GLFW_KEY_Q
,GLFWKeyCallbackI.invoke(long, int, int, int, int)
- Mappings:
Namespace Name Mixin selector official a
Ldst;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
Ldsq;a(Ldlr;IIF)V
intermediary method_25394
Lnet/minecraft/class_4068;method_25394(Lnet/minecraft/class_4587;IIF)V
named render
Lnet/minecraft/client/gui/Drawable;render(Lnet/minecraft/client/util/math/MatrixStack;IIF)V
-
isPauseScreen
public boolean isPauseScreen()- Overrides:
isPauseScreen
in classScreen
- Mappings:
Namespace Name Mixin selector official aD_
Ldve;aD_()Z
intermediary method_25421
Lnet/minecraft/class_437;method_25421()Z
named isPauseScreen
Lnet/minecraft/client/gui/screen/Screen;isPauseScreen()Z
-