net.minecraft.client.gui.screens.telemetry

public class TelemetryEventWidget

extends AbstractScrollWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fys
net.minecraft.client.gui.screens.telemetry.TelemetryEventWidget
net.minecraft.class_7941
net.minecraft.client.gui.screen.option.TelemetryEventWidget

Field summary

Modifier and TypeField
private static final int
a
HEADER_HORIZONTAL_PADDING
field_41355
MARGIN_X
private static final String
b
TELEMETRY_REQUIRED_TRANSLATION_KEY
field_41356
REQUIRED_TRANSLATION_KEY
private static final String
c
TELEMETRY_OPTIONAL_TRANSLATION_KEY
field_41357
OPTIONAL_TRANSLATION_KEY
private static final String
d
TELEMETRY_OPTIONAL_DISABLED_TRANSLATION_KEY
field_47125
DISABLED_TRANSLATION_KEY
private static final Component
e
PROPERTY_TITLE
field_41358
PROPERTY_TITLE_TEXT
private final Font
f
font
field_41359
textRenderer
private TelemetryEventWidget$Content
m
content
field_41360
contents
private DoubleConsumer
n
onScrolledListener
field_41361
scrollConsumer

Constructor summary

ModifierConstructor
public (int x, int y, int width, int height, Font textRenderer)

Method summary

Modifier and TypeMethod
public void
b(boolean arg0)
onOptInChanged(boolean arg0)
method_47638(boolean arg0)
refresh(boolean optionalTelemetryEnabled)
public void
j()
updateLayout()
method_57767()
initContents()
private TelemetryEventWidget$Content
c(boolean arg0)
buildContent(boolean arg0)
method_47639(boolean arg0)
collectContents(boolean optionalTelemetryEnabled)
public void
a(DoubleConsumer arg0)
setOnScrolledListener(DoubleConsumer arg0)
method_47637(DoubleConsumer arg0)
setScrollConsumer(DoubleConsumer scrollConsumer)
protected void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
setScrollY(double arg0)
protected int
h()
getInnerHeight()
method_44391()
getContentsHeight()
protected double
i()
scrollRate()
method_44393()
getDeltaYPerScroll()
protected void
c(fns arg0, int arg1, int arg2, float arg3)
renderContents(GuiGraphics arg0, int arg1, int arg2, float arg3)
method_44389(class_332 arg0, int arg1, int arg2, float arg3)
renderContents(DrawContext arg0, int arg1, int arg2, float arg3)
protected void
a(fsd arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
private Component
a(xv arg0, boolean arg1)
grayOutIfDisabled(Component arg0, boolean arg1)
method_54801(class_2561 arg0, boolean arg1)
formatTitleText(Text title, boolean disabled)
private void
a(fys$b arg0, hgw arg1, boolean arg2)
addEventType(TelemetryEventWidget$ContentBuilder arg0, TelemetryEventType arg1, boolean arg2)
method_47635(class_7941$class_7943 arg0, class_7966 arg1, boolean arg2)
appendEventInfo(TelemetryEventWidget$ContentsBuilder builder, TelemetryEventType eventType, boolean disabled)
private void
a(hgw arg0, fys$b arg1, boolean arg2)
addEventTypeProperties(TelemetryEventType arg0, TelemetryEventWidget$ContentBuilder arg1, boolean arg2)
method_47636(class_7966 arg0, class_7941$class_7943 arg1, boolean arg2)
appendProperties(TelemetryEventType eventType, TelemetryEventWidget$ContentsBuilder builder, boolean disabled)
private int
k()
containerWidth()
method_47640()
getGridWidth()