Enum Class TropicalFishEntity.Variety

java.lang.Object
java.lang.Enum<TropicalFishEntity.Variety>
net.minecraft.entity.passive.TropicalFishEntity.Variety
All Implemented Interfaces:
Serializable, Comparable<TropicalFishEntity.Variety>, Constable, StringIdentifiable
Enclosing class:
TropicalFishEntity

public static enum TropicalFishEntity.Variety extends Enum<TropicalFishEntity.Variety> implements StringIdentifiable
Mappings:
Namespace Name
official bvr$b
intermediary net/minecraft/class_1474$class_1475
named net/minecraft/entity/passive/TropicalFishEntity$Variety
  • Enum Constant Details

    • KOB

      public static final TropicalFishEntity.Variety KOB
      Mappings:
      Namespace Name Mixin selector
      official a Lbvr$b;a:Lbvr$b;
      intermediary field_6881 Lnet/minecraft/class_1474$class_1475;field_6881:Lnet/minecraft/class_1474$class_1475;
      named KOB Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;KOB:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • SUNSTREAK

      public static final TropicalFishEntity.Variety SUNSTREAK
      Mappings:
      Namespace Name Mixin selector
      official b Lbvr$b;b:Lbvr$b;
      intermediary field_6880 Lnet/minecraft/class_1474$class_1475;field_6880:Lnet/minecraft/class_1474$class_1475;
      named SUNSTREAK Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;SUNSTREAK:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • SNOOPER

      public static final TropicalFishEntity.Variety SNOOPER
      Mappings:
      Namespace Name Mixin selector
      official c Lbvr$b;c:Lbvr$b;
      intermediary field_6882 Lnet/minecraft/class_1474$class_1475;field_6882:Lnet/minecraft/class_1474$class_1475;
      named SNOOPER Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;SNOOPER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • DASHER

      public static final TropicalFishEntity.Variety DASHER
      Mappings:
      Namespace Name Mixin selector
      official d Lbvr$b;d:Lbvr$b;
      intermediary field_6890 Lnet/minecraft/class_1474$class_1475;field_6890:Lnet/minecraft/class_1474$class_1475;
      named DASHER Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;DASHER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • BRINELY

      public static final TropicalFishEntity.Variety BRINELY
      Mappings:
      Namespace Name Mixin selector
      official e Lbvr$b;e:Lbvr$b;
      intermediary field_6891 Lnet/minecraft/class_1474$class_1475;field_6891:Lnet/minecraft/class_1474$class_1475;
      named BRINELY Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BRINELY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • SPOTTY

      public static final TropicalFishEntity.Variety SPOTTY
      Mappings:
      Namespace Name Mixin selector
      official f Lbvr$b;f:Lbvr$b;
      intermediary field_6892 Lnet/minecraft/class_1474$class_1475;field_6892:Lnet/minecraft/class_1474$class_1475;
      named SPOTTY Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;SPOTTY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • FLOPPER

      public static final TropicalFishEntity.Variety FLOPPER
      Mappings:
      Namespace Name Mixin selector
      official g Lbvr$b;g:Lbvr$b;
      intermediary field_6893 Lnet/minecraft/class_1474$class_1475;field_6893:Lnet/minecraft/class_1474$class_1475;
      named FLOPPER Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;FLOPPER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • STRIPEY

      public static final TropicalFishEntity.Variety STRIPEY
      Mappings:
      Namespace Name Mixin selector
      official h Lbvr$b;h:Lbvr$b;
      intermediary field_6887 Lnet/minecraft/class_1474$class_1475;field_6887:Lnet/minecraft/class_1474$class_1475;
      named STRIPEY Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;STRIPEY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • GLITTER

      public static final TropicalFishEntity.Variety GLITTER
      Mappings:
      Namespace Name Mixin selector
      official i Lbvr$b;i:Lbvr$b;
      intermediary field_6883 Lnet/minecraft/class_1474$class_1475;field_6883:Lnet/minecraft/class_1474$class_1475;
      named GLITTER Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;GLITTER:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • BLOCKFISH

      public static final TropicalFishEntity.Variety BLOCKFISH
      Mappings:
      Namespace Name Mixin selector
      official j Lbvr$b;j:Lbvr$b;
      intermediary field_6884 Lnet/minecraft/class_1474$class_1475;field_6884:Lnet/minecraft/class_1474$class_1475;
      named BLOCKFISH Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BLOCKFISH:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • BETTY

      public static final TropicalFishEntity.Variety BETTY
      Mappings:
      Namespace Name Mixin selector
      official k Lbvr$b;k:Lbvr$b;
      intermediary field_6888 Lnet/minecraft/class_1474$class_1475;field_6888:Lnet/minecraft/class_1474$class_1475;
      named BETTY Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BETTY:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • CLAYFISH

      public static final TropicalFishEntity.Variety CLAYFISH
      Mappings:
      Namespace Name Mixin selector
      official l Lbvr$b;l:Lbvr$b;
      intermediary field_6889 Lnet/minecraft/class_1474$class_1475;field_6889:Lnet/minecraft/class_1474$class_1475;
      named CLAYFISH Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;CLAYFISH:Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<TropicalFishEntity.Variety> CODEC
      Mappings:
      Namespace Name Mixin selector
      official m Lbvr$b;m:Lcom/mojang/serialization/Codec;
      intermediary field_41578 Lnet/minecraft/class_1474$class_1475;field_41578:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;CODEC:Lcom/mojang/serialization/Codec;
    • BY_ID

      private static final IntFunction<TropicalFishEntity.Variety> BY_ID
      Mappings:
      Namespace Name Mixin selector
      official n Lbvr$b;n:Ljava/util/function/IntFunction;
      intermediary field_41579 Lnet/minecraft/class_1474$class_1475;field_41579:Ljava/util/function/IntFunction;
      named BY_ID Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;BY_ID:Ljava/util/function/IntFunction;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      official o Lbvr$b;o:Ljava/lang/String;
      intermediary field_41580 Lnet/minecraft/class_1474$class_1475;field_41580:Ljava/lang/String;
      named name Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;name:Ljava/lang/String;
    • text

      private final Text text
      Mappings:
      Namespace Name Mixin selector
      official p Lbvr$b;p:Ltl;
      intermediary field_41581 Lnet/minecraft/class_1474$class_1475;field_41581:Lnet/minecraft/class_2561;
      named text Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;text:Lnet/minecraft/text/Text;
    • size

      private final TropicalFishEntity.Size size
      Mappings:
      Namespace Name Mixin selector
      official q Lbvr$b;q:Lbvr$a;
      intermediary field_41582 Lnet/minecraft/class_1474$class_1475;field_41582:Lnet/minecraft/class_1474$class_7991;
      named size Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;size:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official r Lbvr$b;r:I
      intermediary field_41583 Lnet/minecraft/class_1474$class_1475;field_41583:I
      named id Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;id:I
  • Constructor Details

    • Variety

      private Variety(String name, TropicalFishEntity.Size size, int id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbvr$b;<init>(Ljava/lang/String;ILjava/lang/String;Lbvr$a;I)V
      intermediary <init> Lnet/minecraft/class_1474$class_1475;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_1474$class_7991;I)V
      named <init> Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/entity/passive/TropicalFishEntity$Size;I)V
  • Method Details

    • values

      public static TropicalFishEntity.Variety[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TropicalFishEntity.Variety valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • fromId

      public static TropicalFishEntity.Variety fromId(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvr$b;a(I)Lbvr$b;
      intermediary method_47868 Lnet/minecraft/class_1474$class_1475;method_47868(I)Lnet/minecraft/class_1474$class_1475;
      named fromId Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;fromId(I)Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;
    • getSize

      public TropicalFishEntity.Size getSize()
      Mappings:
      Namespace Name Mixin selector
      official a Lbvr$b;a()Lbvr$a;
      intermediary method_47867 Lnet/minecraft/class_1474$class_1475;method_47867()Lnet/minecraft/class_1474$class_7991;
      named getSize Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getSize()Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Lbvr$b;b()I
      intermediary method_47870 Lnet/minecraft/class_1474$class_1475;method_47870()I
      named getId Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getId()I
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Lasp;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
    • getText

      public Text getText()
      Mappings:
      Namespace Name Mixin selector
      official d Lbvr$b;d()Ltl;
      intermediary method_47871 Lnet/minecraft/class_1474$class_1475;method_47871()Lnet/minecraft/class_2561;
      named getText Lnet/minecraft/entity/passive/TropicalFishEntity$Variety;getText()Lnet/minecraft/text/Text;