Record Class CatVariant

java.lang.Object
java.lang.Record
net.minecraft.entity.passive.CatVariant
Record Components:
texture -

public record CatVariant(Identifier texture) extends Record
Mappings:
Namespace Name
official bml
intermediary net/minecraft/class_7375
named net/minecraft/entity/passive/CatVariant
official l
intermediary comp_706
named texture
  • Field Details

    • texture

      private final Identifier texture
      The field for the texture record component.
    • TABBY

      public static final CatVariant TABBY
      Mappings:
      Namespace Name Mixin selector
      official a Lbml;a:Lbml;
      intermediary field_38709 Lnet/minecraft/class_7375;field_38709:Lnet/minecraft/class_7375;
      named TABBY Lnet/minecraft/entity/passive/CatVariant;TABBY:Lnet/minecraft/entity/passive/CatVariant;
    • BLACK

      public static final CatVariant BLACK
      Mappings:
      Namespace Name Mixin selector
      official b Lbml;b:Lbml;
      intermediary field_38710 Lnet/minecraft/class_7375;field_38710:Lnet/minecraft/class_7375;
      named BLACK Lnet/minecraft/entity/passive/CatVariant;BLACK:Lnet/minecraft/entity/passive/CatVariant;
    • RED

      public static final CatVariant RED
      Mappings:
      Namespace Name Mixin selector
      official c Lbml;c:Lbml;
      intermediary field_38711 Lnet/minecraft/class_7375;field_38711:Lnet/minecraft/class_7375;
      named RED Lnet/minecraft/entity/passive/CatVariant;RED:Lnet/minecraft/entity/passive/CatVariant;
    • SIAMESE

      public static final CatVariant SIAMESE
      Mappings:
      Namespace Name Mixin selector
      official d Lbml;d:Lbml;
      intermediary field_38712 Lnet/minecraft/class_7375;field_38712:Lnet/minecraft/class_7375;
      named SIAMESE Lnet/minecraft/entity/passive/CatVariant;SIAMESE:Lnet/minecraft/entity/passive/CatVariant;
    • BRITISH_SHORTHAIR

      public static final CatVariant BRITISH_SHORTHAIR
      Mappings:
      Namespace Name Mixin selector
      official e Lbml;e:Lbml;
      intermediary field_38713 Lnet/minecraft/class_7375;field_38713:Lnet/minecraft/class_7375;
      named BRITISH_SHORTHAIR Lnet/minecraft/entity/passive/CatVariant;BRITISH_SHORTHAIR:Lnet/minecraft/entity/passive/CatVariant;
    • CALICO

      public static final CatVariant CALICO
      Mappings:
      Namespace Name Mixin selector
      official f Lbml;f:Lbml;
      intermediary field_38714 Lnet/minecraft/class_7375;field_38714:Lnet/minecraft/class_7375;
      named CALICO Lnet/minecraft/entity/passive/CatVariant;CALICO:Lnet/minecraft/entity/passive/CatVariant;
    • PERSIAN

      public static final CatVariant PERSIAN
      Mappings:
      Namespace Name Mixin selector
      official g Lbml;g:Lbml;
      intermediary field_38715 Lnet/minecraft/class_7375;field_38715:Lnet/minecraft/class_7375;
      named PERSIAN Lnet/minecraft/entity/passive/CatVariant;PERSIAN:Lnet/minecraft/entity/passive/CatVariant;
    • RAGDOLL

      public static final CatVariant RAGDOLL
      Mappings:
      Namespace Name Mixin selector
      official h Lbml;h:Lbml;
      intermediary field_38716 Lnet/minecraft/class_7375;field_38716:Lnet/minecraft/class_7375;
      named RAGDOLL Lnet/minecraft/entity/passive/CatVariant;RAGDOLL:Lnet/minecraft/entity/passive/CatVariant;
    • WHITE

      public static final CatVariant WHITE
      Mappings:
      Namespace Name Mixin selector
      official i Lbml;i:Lbml;
      intermediary field_38717 Lnet/minecraft/class_7375;field_38717:Lnet/minecraft/class_7375;
      named WHITE Lnet/minecraft/entity/passive/CatVariant;WHITE:Lnet/minecraft/entity/passive/CatVariant;
    • JELLIE

      public static final CatVariant JELLIE
      Mappings:
      Namespace Name Mixin selector
      official j Lbml;j:Lbml;
      intermediary field_38718 Lnet/minecraft/class_7375;field_38718:Lnet/minecraft/class_7375;
      named JELLIE Lnet/minecraft/entity/passive/CatVariant;JELLIE:Lnet/minecraft/entity/passive/CatVariant;
    • ALL_BLACK

      public static final CatVariant ALL_BLACK
      Mappings:
      Namespace Name Mixin selector
      official k Lbml;k:Lbml;
      intermediary field_38719 Lnet/minecraft/class_7375;field_38719:Lnet/minecraft/class_7375;
      named ALL_BLACK Lnet/minecraft/entity/passive/CatVariant;ALL_BLACK:Lnet/minecraft/entity/passive/CatVariant;
  • Constructor Details

    • CatVariant

      public CatVariant(Identifier identifier)
  • Method Details

    • register

      private static CatVariant register(String id, String textureId)
      Mappings:
      Namespace Name Mixin selector
      official a Lbml;a(Ljava/lang/String;Ljava/lang/String;)Lbml;
      intermediary method_43090 Lnet/minecraft/class_7375;method_43090(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/class_7375;
      named register Lnet/minecraft/entity/passive/CatVariant;register(Ljava/lang/String;Ljava/lang/String;)Lnet/minecraft/entity/passive/CatVariant;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • texture

      public Identifier texture()
      Returns the value of the texture record component.
      Returns:
      the value of the texture record component