Package net.minecraft.client.gui.screen
Record Class TitleScreen.DeprecationNotice
java.lang.Object
java.lang.Record
net.minecraft.client.gui.screen.TitleScreen.DeprecationNotice
- Record Components:
- textRenderer-
- label-
- x-
- y-
- Enclosing class:
- TitleScreen
@Environment(CLIENT)
private static record TitleScreen.DeprecationNotice(TextRenderer textRenderer, MultilineText label, int x, int y)
extends Record
- Mappings:
- Namespace - Name - official - euw$a- intermediary - net/minecraft/class_442$class_7063- named - net/minecraft/client/gui/screen/TitleScreen$DeprecationNotice- official - a- intermediary - comp_829- named - textRenderer- official - b- intermediary - comp_518- named - label- official - c- intermediary - comp_519- named - x- official - d- intermediary - comp_520- named - y
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final MultilineTextThe field for thelabelrecord component.private final TextRendererThe field for thetextRendererrecord component.private final intThe field for thexrecord component.private final intThe field for theyrecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionDeprecationNotice(TextRenderer textRenderer, MultilineText multilineText, int int2, int int3) 
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.label()Returns the value of thelabelrecord component.voidrender(DrawContext context, int color) Returns the value of thetextRendererrecord component.final StringtoString()Returns a string representation of this record class.intx()Returns the value of thexrecord component.inty()Returns the value of theyrecord component.
- 
Field Details- 
textRendererThe field for thetextRendererrecord component.
- 
labelThe field for thelabelrecord component.
- 
xprivate final int xThe field for thexrecord component.
- 
yprivate final int yThe field for theyrecord component.
 
- 
- 
Constructor Details- 
DeprecationNoticeDeprecationNotice(TextRenderer textRenderer, MultilineText multilineText, int int2, int int3) 
 
- 
- 
Method Details- 
render- Mappings:
- Namespace - Name - Mixin selector - official - a- Leuw$a;a(Leox;I)V- intermediary - method_44065- Lnet/minecraft/class_442$class_7063;method_44065(Lnet/minecraft/class_332;I)V- named - render- Lnet/minecraft/client/gui/screen/TitleScreen$DeprecationNotice;render(Lnet/minecraft/client/gui/DrawContext;I)V
 
- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
textRendererReturns the value of thetextRendererrecord component.- Returns:
- the value of the textRendererrecord component
 
- 
labelReturns the value of thelabelrecord component.- Returns:
- the value of the labelrecord component
 
- 
xpublic int x()Returns the value of thexrecord component.- Returns:
- the value of the xrecord component
 
- 
ypublic int y()Returns the value of theyrecord component.- Returns:
- the value of the yrecord component
 
 
-