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 named net/minecraft/entity/passive/CatVariant
intermediary net/minecraft/class_7375
official cia
named texture
intermediary comp_706
official m
-
Field Summary
Modifier and TypeFieldDescriptionstatic final RegistryKey
<CatVariant> static final RegistryKey
<CatVariant> static final RegistryKey
<CatVariant> static final RegistryKey
<CatVariant> static final RegistryKey
<CatVariant> static final PacketCodec
<RegistryByteBuf, RegistryEntry<CatVariant>> static final RegistryKey
<CatVariant> static final RegistryKey
<CatVariant> static final RegistryKey
<CatVariant> static final RegistryKey
<CatVariant> static final RegistryKey
<CatVariant> private final Identifier
The field for thetexture
record component.static final RegistryKey
<CatVariant> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.private static RegistryKey
<CatVariant> private static CatVariant
register
(Registry<CatVariant> registry, RegistryKey<CatVariant> key, String textureId) static CatVariant
registerAndGetDefault
(Registry<CatVariant> registry) texture()
Returns the value of thetexture
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
texture
The field for thetexture
record component. -
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODEC
Lnet/minecraft/entity/passive/CatVariant;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_51941
Lnet/minecraft/class_7375;field_51941:Lnet/minecraft/class_9139;
official a
Lcia;a:Lzt;
-
TABBY
- Mappings:
Namespace Name Mixin selector named TABBY
Lnet/minecraft/entity/passive/CatVariant;TABBY:Lnet/minecraft/registry/RegistryKey;
intermediary field_38709
Lnet/minecraft/class_7375;field_38709:Lnet/minecraft/class_5321;
official b
Lcia;b:Laly;
-
BLACK
- Mappings:
Namespace Name Mixin selector named BLACK
Lnet/minecraft/entity/passive/CatVariant;BLACK:Lnet/minecraft/registry/RegistryKey;
intermediary field_38710
Lnet/minecraft/class_7375;field_38710:Lnet/minecraft/class_5321;
official c
Lcia;c:Laly;
-
RED
- Mappings:
Namespace Name Mixin selector named RED
Lnet/minecraft/entity/passive/CatVariant;RED:Lnet/minecraft/registry/RegistryKey;
intermediary field_38711
Lnet/minecraft/class_7375;field_38711:Lnet/minecraft/class_5321;
official d
Lcia;d:Laly;
-
SIAMESE
- Mappings:
Namespace Name Mixin selector named SIAMESE
Lnet/minecraft/entity/passive/CatVariant;SIAMESE:Lnet/minecraft/registry/RegistryKey;
intermediary field_38712
Lnet/minecraft/class_7375;field_38712:Lnet/minecraft/class_5321;
official e
Lcia;e:Laly;
-
BRITISH_SHORTHAIR
- Mappings:
Namespace Name Mixin selector named BRITISH_SHORTHAIR
Lnet/minecraft/entity/passive/CatVariant;BRITISH_SHORTHAIR:Lnet/minecraft/registry/RegistryKey;
intermediary field_38713
Lnet/minecraft/class_7375;field_38713:Lnet/minecraft/class_5321;
official f
Lcia;f:Laly;
-
CALICO
- Mappings:
Namespace Name Mixin selector named CALICO
Lnet/minecraft/entity/passive/CatVariant;CALICO:Lnet/minecraft/registry/RegistryKey;
intermediary field_38714
Lnet/minecraft/class_7375;field_38714:Lnet/minecraft/class_5321;
official g
Lcia;g:Laly;
-
PERSIAN
- Mappings:
Namespace Name Mixin selector named PERSIAN
Lnet/minecraft/entity/passive/CatVariant;PERSIAN:Lnet/minecraft/registry/RegistryKey;
intermediary field_38715
Lnet/minecraft/class_7375;field_38715:Lnet/minecraft/class_5321;
official h
Lcia;h:Laly;
-
RAGDOLL
- Mappings:
Namespace Name Mixin selector named RAGDOLL
Lnet/minecraft/entity/passive/CatVariant;RAGDOLL:Lnet/minecraft/registry/RegistryKey;
intermediary field_38716
Lnet/minecraft/class_7375;field_38716:Lnet/minecraft/class_5321;
official i
Lcia;i:Laly;
-
WHITE
- Mappings:
Namespace Name Mixin selector named WHITE
Lnet/minecraft/entity/passive/CatVariant;WHITE:Lnet/minecraft/registry/RegistryKey;
intermediary field_38717
Lnet/minecraft/class_7375;field_38717:Lnet/minecraft/class_5321;
official j
Lcia;j:Laly;
-
JELLIE
- Mappings:
Namespace Name Mixin selector named JELLIE
Lnet/minecraft/entity/passive/CatVariant;JELLIE:Lnet/minecraft/registry/RegistryKey;
intermediary field_38718
Lnet/minecraft/class_7375;field_38718:Lnet/minecraft/class_5321;
official k
Lcia;k:Laly;
-
ALL_BLACK
- Mappings:
Namespace Name Mixin selector named ALL_BLACK
Lnet/minecraft/entity/passive/CatVariant;ALL_BLACK:Lnet/minecraft/registry/RegistryKey;
intermediary field_38719
Lnet/minecraft/class_7375;field_38719:Lnet/minecraft/class_5321;
official l
Lcia;l:Laly;
-
-
Constructor Details
-
CatVariant
-
-
Method Details
-
of
- Mappings:
Namespace Name Mixin selector named of
Lnet/minecraft/entity/passive/CatVariant;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
intermediary method_46647
Lnet/minecraft/class_7375;method_46647(Ljava/lang/String;)Lnet/minecraft/class_5321;
official a
Lcia;a(Ljava/lang/String;)Laly;
-
registerAndGetDefault
- Mappings:
Namespace Name Mixin selector named registerAndGetDefault
Lnet/minecraft/entity/passive/CatVariant;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lnet/minecraft/entity/passive/CatVariant;
intermediary method_46646
Lnet/minecraft/class_7375;method_46646(Lnet/minecraft/class_2378;)Lnet/minecraft/class_7375;
official a
Lcia;a(Lkd;)Lcia;
-
register
private static CatVariant register(Registry<CatVariant> registry, RegistryKey<CatVariant> key, String textureId) - Mappings:
Namespace Name Mixin selector named register
Lnet/minecraft/entity/passive/CatVariant;register(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/RegistryKey;Ljava/lang/String;)Lnet/minecraft/entity/passive/CatVariant;
intermediary method_43090
Lnet/minecraft/class_7375;method_43090(Lnet/minecraft/class_2378;Lnet/minecraft/class_5321;Ljava/lang/String;)Lnet/minecraft/class_7375;
official a
Lcia;a(Lkd;Laly;Ljava/lang/String;)Lcia;
-
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 thetexture
record component.- Returns:
- the value of the
texture
record component
-