Package net.minecraft
Record Class class_8440
java.lang.Object
java.lang.Record
net.minecraft.class_8440
- Record Components:
contents
-index
-original
-
@Environment(CLIENT)
public record class_8440(OrderedText contents, long index, Text original)
extends Record
- Mappings:
Namespace Name official eyo
intermediary net/minecraft/class_8440
named net/minecraft/class_8440
official a
intermediary comp_1444
named contents
official b
intermediary comp_1445
named index
official c
intermediary comp_1446
named original
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontents()
Returns the value of thecontents
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.long
index()
Returns the value of theindex
record component.static Stream<class_8440>
method_50950
(TextRenderer textRenderer, Stream<Text> stream, int int2) original()
Returns the value of theoriginal
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
Constructor Details
-
class_8440
-
-
Method Details
-
method_50950
public static Stream<class_8440> method_50950(TextRenderer textRenderer, Stream<Text> stream, int int2) - Mappings:
Namespace Name Mixin selector official a
Leyo;a(Lesu;Ljava/util/stream/Stream;I)Ljava/util/stream/Stream;
intermediary method_50950
Lnet/minecraft/class_8440;method_50950(Lnet/minecraft/class_327;Ljava/util/stream/Stream;I)Ljava/util/stream/Stream;
named method_50950
Lnet/minecraft/class_8440;method_50950(Lnet/minecraft/client/font/TextRenderer;Ljava/util/stream/Stream;I)Ljava/util/stream/Stream;
-
toString
Returns 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. -
hashCode
public 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. -
equals
Indicates 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 '=='. -
contents
Returns the value of thecontents
record component.- Returns:
- the value of the
contents
record component
-
index
public long index()Returns the value of theindex
record component.- Returns:
- the value of the
index
record component
-
original
Returns the value of theoriginal
record component.- Returns:
- the value of the
original
record component
-