net.minecraft.client.gui.screens.telemetry

public class TelemetryEventWidget

extends AbstractScrollWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

fhn
net.minecraft.client.gui.screens.telemetry.TelemetryEventWidget
net.minecraft.class_7941
net.minecraft.client.gui.screen.option.TelemetryEventWidget
net.minecraft.src.C_260377_

Field summary

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

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)
m_261018_(boolean arg0)
private TelemetryEventWidget$Content
c(boolean arg0)
buildContent(boolean arg0)
method_47639(boolean arg0)
collectContents(boolean optionalTelemetryEnabled)
m_261270_(boolean arg0)
public void
a(DoubleConsumer arg0)
setOnScrolledListener(DoubleConsumer arg0)
method_47637(DoubleConsumer arg0)
setScrollConsumer(DoubleConsumer scrollConsumer)
m_261118_(DoubleConsumer arg0)
protected void
a(double arg0)
setScrollAmount(double arg0)
method_44382(double arg0)
setScrollY(double arg0)
m_240206_(double arg0)
protected int
g()
getInnerHeight()
method_44391()
getContentsHeight()
m_239019_()
protected double
i()
scrollRate()
method_44393()
getDeltaYPerScroll()
m_239725_()
protected void
c(ewu 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)
m_239197_(C_279497_ p_283426_, int p_282414_, int p_283358_, float arg3)
protected void
a(faz arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
private Component
a(vf arg0, boolean arg1)
grayOutIfDisabled(Component arg0, boolean arg1)
method_54801(class_2561 arg0, boolean arg1)
formatTitleText(Text title, boolean disabled)
m_307072_(C_4996_ p_310771_, boolean arg1)
private void
a(fhn$b arg0, gjn 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)
m_261199_(C_260377_$C_260380_ p_262127_, C_260408_ p_310858_, boolean arg2)
private void
a(gjn arg0, fhn$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)
m_260944_(C_260408_ p_261932_, C_260377_$C_260380_ p_310254_, boolean arg2)
private int
j()
containerWidth()
method_47640()
getGridWidth()
m_261310_()