net.minecraft.client.gui.screens.telemetry

public class TelemetryEventWidget

extends AbstractScrollWidget

All mapped superinterfaces:

Renderable, GuiEventListener, TabOrderedElement, LayoutElement, NarratableEntry, NarrationSupplier

eyw
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 Component
d
PROPERTY_TITLE
field_41358
PROPERTY_TITLE_TEXT
f_260432_
private final Font
e
font
field_41359
textRenderer
f_260606_
private TelemetryEventWidget$Content
f
content
field_41360
contents
f_260489_
private DoubleConsumer
g
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
f()
getInnerHeight()
method_44391()
getContentsHeight()
m_239019_()
protected double
g()
scrollRate()
method_44393()
getDeltaYPerScroll()
m_239725_()
protected void
c(eox 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(esp arg0)
updateWidgetNarration(NarrationElementOutput arg0)
method_47399(class_6382 arg0)
appendClickableNarrations(NarrationMessageBuilder arg0)
m_168797_(C_141608_ arg0)
private void
a(eyw$b arg0, fzl arg1)
addEventType(TelemetryEventWidget$ContentBuilder arg0, TelemetryEventType arg1)
method_47635(class_7941$class_7943 arg0, class_7966 arg1)
appendEventInfo(TelemetryEventWidget$ContentsBuilder builder, TelemetryEventType eventType)
m_261199_(C_260377_$C_260380_ p_262127_, C_260408_ arg1)
private void
a(fzl arg0, eyw$b arg1)
addEventTypeProperties(TelemetryEventType arg0, TelemetryEventWidget$ContentBuilder arg1)
method_47636(class_7966 arg0, class_7941$class_7943 arg1)
appendProperties(TelemetryEventType eventType, TelemetryEventWidget$ContentsBuilder builder)
m_260944_(C_260408_ p_261932_, C_260377_$C_260380_ arg1)
private int
v()
containerWidth()
method_47640()
getGridWidth()
m_261310_()