Package net.minecraft
Record Class class_7591
java.lang.Object
java.lang.Record
net.minecraft.class_7591
- Record Components:
indicatorColor-icon-text-logTag-
@Environment(CLIENT)
public record class_7591(int indicatorColor, class_7591.class_7592 icon, @Nullable Text text, @Nullable String logTag)
extends Record
- Mappings:
Namespace Name official eevintermediary net/minecraft/class_7591named net/minecraft/class_7591official aintermediary comp_899named indicatorColorofficial bintermediary comp_900named iconofficial cintermediary comp_901named textofficial dintermediary comp_902named logTag
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Textprivate static final Textprivate static final intprivate static final int(package private) static final Identifierprivate final class_7591.class_7592The field for theiconrecord component.private final intThe field for theindicatorColorrecord component.The field for thelogTagrecord component.private static final class_7591The field for thetextrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_7591(int int2, @Nullable class_7591.class_7592 class_7592, @Nullable Text text, @Nullable String string) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.icon()Returns the value of theiconrecord component.intReturns the value of theindicatorColorrecord component.logTag()Returns the value of thelogTagrecord component.static class_7591static class_7591method_44710(Text text) text()Returns the value of thetextrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
indicatorColor
private final int indicatorColorThe field for theindicatorColorrecord component. -
icon
The field for theiconrecord component. -
text
The field for thetextrecord component. -
logTag
The field for thelogTagrecord component. -
field_39756
- Mappings:
Namespace Name Mixin selector official eLeev;e:Lrm;intermediary field_39756Lnet/minecraft/class_7591;field_39756:Lnet/minecraft/class_2561;named field_39756Lnet/minecraft/class_7591;field_39756:Lnet/minecraft/text/Text;
-
field_39757
- Mappings:
Namespace Name Mixin selector official fLeev;f:Lrm;intermediary field_39757Lnet/minecraft/class_7591;field_39757:Lnet/minecraft/class_2561;named field_39757Lnet/minecraft/class_7591;field_39757:Lnet/minecraft/text/Text;
-
field_39758
private static final int field_39758- See Also:
- Mappings:
Namespace Name Mixin selector official gLeev;g:Iintermediary field_39758Lnet/minecraft/class_7591;field_39758:Inamed field_39758Lnet/minecraft/class_7591;field_39758:I
-
field_39759
private static final int field_39759- See Also:
- Mappings:
Namespace Name Mixin selector official hLeev;h:Iintermediary field_39759Lnet/minecraft/class_7591;field_39759:Inamed field_39759Lnet/minecraft/class_7591;field_39759:I
-
NOT_SECURE
- Mappings:
Namespace Name Mixin selector official iLeev;i:Leev;intermediary field_39760Lnet/minecraft/class_7591;field_39760:Lnet/minecraft/class_7591;named NOT_SECURELnet/minecraft/class_7591;NOT_SECURE:Lnet/minecraft/class_7591;
-
field_39761
- Mappings:
Namespace Name Mixin selector official jLeev;j:Laaj;intermediary field_39761Lnet/minecraft/class_7591;field_39761:Lnet/minecraft/class_2960;named field_39761Lnet/minecraft/class_7591;field_39761:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
class_7591
-
-
Method Details
-
method_44709
- Mappings:
Namespace Name Mixin selector official aLeev;a()Leev;intermediary method_44709Lnet/minecraft/class_7591;method_44709()Lnet/minecraft/class_7591;named method_44709Lnet/minecraft/class_7591;method_44709()Lnet/minecraft/class_7591;
-
method_44710
- Mappings:
Namespace Name Mixin selector official aLeev;a(Lrm;)Leev;intermediary method_44710Lnet/minecraft/class_7591;method_44710(Lnet/minecraft/class_2561;)Lnet/minecraft/class_7591;named method_44710Lnet/minecraft/class_7591;method_44710(Lnet/minecraft/text/Text;)Lnet/minecraft/class_7591;
-
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 '=='. -
indicatorColor
public int indicatorColor()Returns the value of theindicatorColorrecord component.- Returns:
- the value of the
indicatorColorrecord component
-
icon
Returns the value of theiconrecord component.- Returns:
- the value of the
iconrecord component
-
text
Returns the value of thetextrecord component.- Returns:
- the value of the
textrecord component
-
logTag
Returns the value of thelogTagrecord component.- Returns:
- the value of the
logTagrecord component
-