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 - brp- intermediary - net/minecraft/class_7375- named - net/minecraft/entity/passive/CatVariant- official - l- intermediary - comp_706- named - texture
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final RegistryKey<CatVariant>static final RegistryKey<CatVariant>static final RegistryKey<CatVariant>static final RegistryKey<CatVariant>static final RegistryKey<CatVariant>static final RegistryKey<CatVariant>static final RegistryKey<CatVariant>static final RegistryKey<CatVariant>static final RegistryKey<CatVariant>static final RegistryKey<CatVariant>private final IdentifierThe field for thetexturerecord component.static final RegistryKey<CatVariant>
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.private static RegistryKey<CatVariant>private static CatVariantregister(Registry<CatVariant> registry, RegistryKey<CatVariant> key, String textureId) static CatVariantregisterAndGetDefault(Registry<CatVariant> registry) texture()Returns the value of thetexturerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
textureThe field for thetexturerecord component.
- 
TABBY- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbrp;a:Lacp;- intermediary - field_38709- Lnet/minecraft/class_7375;field_38709:Lnet/minecraft/class_5321;- named - TABBY- Lnet/minecraft/entity/passive/CatVariant;TABBY:Lnet/minecraft/registry/RegistryKey;
 
- 
BLACK- Mappings:
- Namespace - Name - Mixin selector - official - b- Lbrp;b:Lacp;- intermediary - field_38710- Lnet/minecraft/class_7375;field_38710:Lnet/minecraft/class_5321;- named - BLACK- Lnet/minecraft/entity/passive/CatVariant;BLACK:Lnet/minecraft/registry/RegistryKey;
 
- 
RED- Mappings:
- Namespace - Name - Mixin selector - official - c- Lbrp;c:Lacp;- intermediary - field_38711- Lnet/minecraft/class_7375;field_38711:Lnet/minecraft/class_5321;- named - RED- Lnet/minecraft/entity/passive/CatVariant;RED:Lnet/minecraft/registry/RegistryKey;
 
- 
SIAMESE- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbrp;d:Lacp;- intermediary - field_38712- Lnet/minecraft/class_7375;field_38712:Lnet/minecraft/class_5321;- named - SIAMESE- Lnet/minecraft/entity/passive/CatVariant;SIAMESE:Lnet/minecraft/registry/RegistryKey;
 
- 
BRITISH_SHORTHAIR- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbrp;e:Lacp;- intermediary - field_38713- Lnet/minecraft/class_7375;field_38713:Lnet/minecraft/class_5321;- named - BRITISH_SHORTHAIR- Lnet/minecraft/entity/passive/CatVariant;BRITISH_SHORTHAIR:Lnet/minecraft/registry/RegistryKey;
 
- 
CALICO- Mappings:
- Namespace - Name - Mixin selector - official - f- Lbrp;f:Lacp;- intermediary - field_38714- Lnet/minecraft/class_7375;field_38714:Lnet/minecraft/class_5321;- named - CALICO- Lnet/minecraft/entity/passive/CatVariant;CALICO:Lnet/minecraft/registry/RegistryKey;
 
- 
PERSIAN- Mappings:
- Namespace - Name - Mixin selector - official - g- Lbrp;g:Lacp;- intermediary - field_38715- Lnet/minecraft/class_7375;field_38715:Lnet/minecraft/class_5321;- named - PERSIAN- Lnet/minecraft/entity/passive/CatVariant;PERSIAN:Lnet/minecraft/registry/RegistryKey;
 
- 
RAGDOLL- Mappings:
- Namespace - Name - Mixin selector - official - h- Lbrp;h:Lacp;- intermediary - field_38716- Lnet/minecraft/class_7375;field_38716:Lnet/minecraft/class_5321;- named - RAGDOLL- Lnet/minecraft/entity/passive/CatVariant;RAGDOLL:Lnet/minecraft/registry/RegistryKey;
 
- 
WHITE- Mappings:
- Namespace - Name - Mixin selector - official - i- Lbrp;i:Lacp;- intermediary - field_38717- Lnet/minecraft/class_7375;field_38717:Lnet/minecraft/class_5321;- named - WHITE- Lnet/minecraft/entity/passive/CatVariant;WHITE:Lnet/minecraft/registry/RegistryKey;
 
- 
JELLIE- Mappings:
- Namespace - Name - Mixin selector - official - j- Lbrp;j:Lacp;- intermediary - field_38718- Lnet/minecraft/class_7375;field_38718:Lnet/minecraft/class_5321;- named - JELLIE- Lnet/minecraft/entity/passive/CatVariant;JELLIE:Lnet/minecraft/registry/RegistryKey;
 
- 
ALL_BLACK- Mappings:
- Namespace - Name - Mixin selector - official - k- Lbrp;k:Lacp;- intermediary - field_38719- Lnet/minecraft/class_7375;field_38719:Lnet/minecraft/class_5321;- named - ALL_BLACK- Lnet/minecraft/entity/passive/CatVariant;ALL_BLACK:Lnet/minecraft/registry/RegistryKey;
 
 
- 
- 
Constructor Details- 
CatVariant
 
- 
- 
Method Details- 
of- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbrp;a(Ljava/lang/String;)Lacp;- intermediary - method_46647- Lnet/minecraft/class_7375;method_46647(Ljava/lang/String;)Lnet/minecraft/class_5321;- named - of- Lnet/minecraft/entity/passive/CatVariant;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
 
- 
registerAndGetDefault- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbrp;a(Lhr;)Lbrp;- intermediary - method_46646- Lnet/minecraft/class_7375;method_46646(Lnet/minecraft/class_2378;)Lnet/minecraft/class_7375;- named - registerAndGetDefault- Lnet/minecraft/entity/passive/CatVariant;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lnet/minecraft/entity/passive/CatVariant;
 
- 
registerprivate static CatVariant register(Registry<CatVariant> registry, RegistryKey<CatVariant> key, String textureId) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lbrp;a(Lhr;Lacp;Ljava/lang/String;)Lbrp;- intermediary - method_43090- Lnet/minecraft/class_7375;method_43090(Lnet/minecraft/class_2378;Lnet/minecraft/class_5321;Ljava/lang/String;)Lnet/minecraft/class_7375;- named - register- Lnet/minecraft/entity/passive/CatVariant;register(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/RegistryKey;Ljava/lang/String;)Lnet/minecraft/entity/passive/CatVariant;
 
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
textureReturns the value of thetexturerecord component.- Returns:
- the value of the texturerecord component
 
 
-