net.minecraft.client.gui.screen.ingame

public class TestInstanceBlockScreen

extends Screen

All mapped superinterfaces:

ParentElement, Element, Navigable, Drawable

net.minecraft.client.gui.screens.inventory.TestInstanceBlockEditScreen
net.minecraft.class_10643
net.minecraft.client.gui.screen.ingame.TestInstanceBlockScreen

Field summary

Modifier and TypeField
private static final Text
ID_LABEL
field_56048
TEST_ID_TEXT
private static final Text
SIZE_LABEL
field_56049
SIZE_TEXT
private static final Text
INCLUDE_ENTITIES_LABEL
field_56050
ENTITIES_TEXT
private static final Text
ROTATION_LABEL
field_56051
ROTATION_TEXT
private static final int
BUTTON_PADDING
field_56052
field_56052
private static final int
WIDTH
field_56053
field_56053
private final TestInstanceBlockEntity
blockEntity
field_56054
testInstanceBlockEntity
private TextFieldWidget
idEdit
field_56055
testIdTextField
private TextFieldWidget
sizeXEdit
field_56056
sizeXField
private TextFieldWidget
sizeYEdit
field_56057
sizeYField
private TextFieldWidget
sizeZEdit
field_56058
sizeZField
private ScrollableTextWidget
infoWidget
field_56043
statusWidget
private ButtonWidget
saveButton
field_56044
saveButton
private ButtonWidget
exportButton
field_56045
exportButton
private CyclingButtonWidget<Boolean>
includeEntitiesButton
field_56046
entitiesButton
private CyclingButtonWidget<BlockRotation>
rotationButton
field_56047
rotationButton

Constructor summary

ModifierConstructor
public (TestInstanceBlockEntity testInstanceBlockEntity)

Method summary

Modifier and TypeMethod
protected void
init()
method_25426()
init()
private void
updateSaveState()
method_66819()
refresh()
private static Text
rotationDisplay(Rotation rotation)
method_66804(class_2470 arg0)
rotationAsText(BlockRotation rotation)
private void
setSize(Vec3i size)
method_66808(class_2382 arg0)
setSize(Vec3i vec)
private int
widgetX(int index, int count)
method_66801(int arg0, int arg1)
getX(int index, int total)
private static int
widgetSize(int count)
method_66800(int arg0)
getRoundedWidth(int total)
private static float
exactWidgetSize(int count)
method_66811(int arg0)
getWidth(int total)
public void
render(GuiGraphics graphics, int mouseX, int mouseY, float a)
method_25394(class_332 arg0, int arg1, int arg2, float arg3)
render(DrawContext arg0, int arg1, int arg2, float arg3)
private void
updateTestInfo(boolean isInit)
method_66815(boolean arg0)
refresh(boolean initial)
private void
onDone()
method_66798()
onDone()
private boolean
sendToServer(ServerboundTestInstanceBlockActionPacket$Action action)
method_66802(class_10616$class_10617 arg0)
executeAction(TestInstanceBlockActionC2SPacket$Action action)
public void
setStatus(Component status, Optional<Vec3i> size)
method_66809(class_2561 arg0, Optional<class_2382> arg1)
handleStatus(Text status, Optional<Vec3i> size)
private void
onCancel()
method_66799()
onCancel()
private static int
parseSize(String value)
method_66807(String arg0)
parse(String value)
public boolean
isInGameUi()
method_73150()
deferSubtitles()
private static void
lambda$setStatus$9(MutableComponent arg0, Component arg1)
method_66810(class_5250 arg0, class_2561 arg1)
method_66810(MutableText arg0, Text message)
private static RegistryKey
lambda$sendToServer$8(Identifier arg0)
method_66803(class_2960 arg0)
method_66803(Identifier testId)
private void
lambda$init$7(Button arg0)
method_66816(class_4185 arg0)
method_66816(ButtonWidget button)
private void
lambda$init$6(Button arg0)
method_66817(class_4185 arg0)
method_66817(ButtonWidget button)
private void
lambda$init$5(Button arg0)
method_67261(class_4185 arg0)
method_67261(ButtonWidget button)
private void
lambda$init$4(Button arg0)
method_67262(class_4185 arg0)
method_67262(ButtonWidget button)
private void
lambda$init$3(Button arg0)
method_67263(class_4185 arg0)
method_67263(ButtonWidget button)
private void
lambda$init$2(Button arg0)
method_67264(class_4185 arg0)
method_67264(ButtonWidget button)
private void
lambda$init$1(CycleButton arg0, Rotation arg1)
method_66806(class_5676 arg0, class_2470 arg1)
method_66806(CyclingButtonWidget button, BlockRotation rotation)
private void
lambda$init$0(String arg0)
method_66813(String arg0)
method_66813(String value)