Package net.minecraft.entity.passive
Record Class CatVariant
java.lang.Object
java.lang.Record
net.minecraft.entity.passive.CatVariant
- Record Components:
texture-
- Mappings:
Namespace Name official bmlintermediary net/minecraft/class_7375named net/minecraft/entity/passive/CatVariantofficial lintermediary comp_706named texture
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CatVariantstatic final CatVariantstatic final CatVariantstatic final CatVariantstatic final CatVariantstatic final CatVariantstatic final CatVariantstatic final CatVariantstatic final CatVariantstatic final CatVariantprivate final IdentifierThe field for thetexturerecord component.static final CatVariant -
Constructor Summary
Constructors -
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.private static CatVarianttexture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
texture
The field for thetexturerecord component. -
TABBY
- Mappings:
Namespace Name Mixin selector official aLbml;a:Lbml;intermediary field_38709Lnet/minecraft/class_7375;field_38709:Lnet/minecraft/class_7375;named TABBYLnet/minecraft/entity/passive/CatVariant;TABBY:Lnet/minecraft/entity/passive/CatVariant;
-
BLACK
- Mappings:
Namespace Name Mixin selector official bLbml;b:Lbml;intermediary field_38710Lnet/minecraft/class_7375;field_38710:Lnet/minecraft/class_7375;named BLACKLnet/minecraft/entity/passive/CatVariant;BLACK:Lnet/minecraft/entity/passive/CatVariant;
-
RED
- Mappings:
Namespace Name Mixin selector official cLbml;c:Lbml;intermediary field_38711Lnet/minecraft/class_7375;field_38711:Lnet/minecraft/class_7375;named REDLnet/minecraft/entity/passive/CatVariant;RED:Lnet/minecraft/entity/passive/CatVariant;
-
SIAMESE
- Mappings:
Namespace Name Mixin selector official dLbml;d:Lbml;intermediary field_38712Lnet/minecraft/class_7375;field_38712:Lnet/minecraft/class_7375;named SIAMESELnet/minecraft/entity/passive/CatVariant;SIAMESE:Lnet/minecraft/entity/passive/CatVariant;
-
BRITISH_SHORTHAIR
- Mappings:
Namespace Name Mixin selector official eLbml;e:Lbml;intermediary field_38713Lnet/minecraft/class_7375;field_38713:Lnet/minecraft/class_7375;named BRITISH_SHORTHAIRLnet/minecraft/entity/passive/CatVariant;BRITISH_SHORTHAIR:Lnet/minecraft/entity/passive/CatVariant;
-
CALICO
- Mappings:
Namespace Name Mixin selector official fLbml;f:Lbml;intermediary field_38714Lnet/minecraft/class_7375;field_38714:Lnet/minecraft/class_7375;named CALICOLnet/minecraft/entity/passive/CatVariant;CALICO:Lnet/minecraft/entity/passive/CatVariant;
-
PERSIAN
- Mappings:
Namespace Name Mixin selector official gLbml;g:Lbml;intermediary field_38715Lnet/minecraft/class_7375;field_38715:Lnet/minecraft/class_7375;named PERSIANLnet/minecraft/entity/passive/CatVariant;PERSIAN:Lnet/minecraft/entity/passive/CatVariant;
-
RAGDOLL
- Mappings:
Namespace Name Mixin selector official hLbml;h:Lbml;intermediary field_38716Lnet/minecraft/class_7375;field_38716:Lnet/minecraft/class_7375;named RAGDOLLLnet/minecraft/entity/passive/CatVariant;RAGDOLL:Lnet/minecraft/entity/passive/CatVariant;
-
WHITE
- Mappings:
Namespace Name Mixin selector official iLbml;i:Lbml;intermediary field_38717Lnet/minecraft/class_7375;field_38717:Lnet/minecraft/class_7375;named WHITELnet/minecraft/entity/passive/CatVariant;WHITE:Lnet/minecraft/entity/passive/CatVariant;
-
JELLIE
- Mappings:
Namespace Name Mixin selector official jLbml;j:Lbml;intermediary field_38718Lnet/minecraft/class_7375;field_38718:Lnet/minecraft/class_7375;named JELLIELnet/minecraft/entity/passive/CatVariant;JELLIE:Lnet/minecraft/entity/passive/CatVariant;
-
ALL_BLACK
- Mappings:
Namespace Name Mixin selector official kLbml;k:Lbml;intermediary field_38719Lnet/minecraft/class_7375;field_38719:Lnet/minecraft/class_7375;named ALL_BLACKLnet/minecraft/entity/passive/CatVariant;ALL_BLACK:Lnet/minecraft/entity/passive/CatVariant;
-
-
Constructor Details
-
CatVariant
-
-
Method Details
-
register
- Mappings:
Namespace Name Mixin selector official aLbml;a(Ljava/lang/String;Ljava/lang/String;)Lbml;intermediary method_43090Lnet/minecraft/class_7375;method_43090(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_7375;named registerLnet/minecraft/entity/passive/CatVariant;register(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/entity/passive/CatVariant;
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
texture
Returns the value of thetexturerecord component.- Returns:
- the value of the
texturerecord component
-