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 eyointermediary net/minecraft/class_8440named net/minecraft/class_8440official aintermediary comp_1444named contentsofficial bintermediary comp_1445named indexofficial cintermediary comp_1446named original
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontents()Returns the value of thecontentsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longindex()Returns the value of theindexrecord component.static Stream<class_8440>method_50950(TextRenderer textRenderer, Stream<Text> stream, int int2) original()Returns the value of theoriginalrecord component.final StringtoString()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 aLeyo;a(Lesu;Ljava/util/stream/Stream;I)Ljava/util/stream/Stream;intermediary method_50950Lnet/minecraft/class_8440;method_50950(Lnet/minecraft/class_327;Ljava/util/stream/Stream;I)Ljava/util/stream/Stream;named method_50950Lnet/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 thecontentsrecord component.- Returns:
- the value of the
contentsrecord component
-
index
public long index()Returns the value of theindexrecord component.- Returns:
- the value of the
indexrecord component
-
original
Returns the value of theoriginalrecord component.- Returns:
- the value of the
originalrecord component
-