Enum Class TropicalFishEntity.Size

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

public static enum TropicalFishEntity.Size extends Enum<TropicalFishEntity.Size>
Mappings:
Namespace Name
named net/minecraft/entity/passive/TropicalFishEntity$Size
intermediary net/minecraft/class_1474$class_7991
official cgh$a
  • Enum Constant Details

    • SMALL

      public static final TropicalFishEntity.Size SMALL
      Mappings:
      Namespace Name Mixin selector
      named SMALL Lnet/minecraft/entity/passive/TropicalFishEntity$Size;SMALL:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
      intermediary field_41574 Lnet/minecraft/class_1474$class_7991;field_41574:Lnet/minecraft/class_1474$class_7991;
      official a Lcgh$a;a:Lcgh$a;
    • LARGE

      public static final TropicalFishEntity.Size LARGE
      Mappings:
      Namespace Name Mixin selector
      named LARGE Lnet/minecraft/entity/passive/TropicalFishEntity$Size;LARGE:Lnet/minecraft/entity/passive/TropicalFishEntity$Size;
      intermediary field_41575 Lnet/minecraft/class_1474$class_7991;field_41575:Lnet/minecraft/class_1474$class_7991;
      official b Lcgh$a;b:Lcgh$a;
  • Field Details

    • id

      final int id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/entity/passive/TropicalFishEntity$Size;id:I
      intermediary field_41576 Lnet/minecraft/class_1474$class_7991;field_41576:I
      official c Lcgh$a;c:I
  • Constructor Details

    • Size

      private Size(int id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/passive/TropicalFishEntity$Size;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_1474$class_7991;<init>(Ljava/lang/String;II)V
      official <init> Lcgh$a;<init>(Ljava/lang/String;II)V
  • Method Details

    • values

      public static TropicalFishEntity.Size[] 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.Size 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