Enum FoxEntity.Type

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

public static enum FoxEntity.Type
extends Enum<FoxEntity.Type>
Mappings:
Namespace Name
official bbs$v
intermediary net/minecraft/class_4019$class_4039
named net/minecraft/entity/passive/FoxEntity$Type
  • Enum Constant Details

    • RED

      public static final FoxEntity.Type RED
      Mappings:
      Namespace Name Mixin selector
      official a Lbbs$v;a:Lbbs$v;
      intermediary field_17996 Lnet/minecraft/class_4019$class_4039;field_17996:Lnet/minecraft/class_4019$class_4039;
      named RED Lnet/minecraft/entity/passive/FoxEntity$Type;RED:Lnet/minecraft/entity/passive/FoxEntity$Type;
    • SNOW

      public static final FoxEntity.Type SNOW
      Mappings:
      Namespace Name Mixin selector
      official b Lbbs$v;b:Lbbs$v;
      intermediary field_17997 Lnet/minecraft/class_4019$class_4039;field_17997:Lnet/minecraft/class_4019$class_4039;
      named SNOW Lnet/minecraft/entity/passive/FoxEntity$Type;SNOW:Lnet/minecraft/entity/passive/FoxEntity$Type;
  • Field Details

    • TYPES

      private static final FoxEntity.Type[] TYPES
      Mappings:
      Namespace Name Mixin selector
      official c Lbbs$v;c:[Lbbs$v;
      intermediary field_17998 Lnet/minecraft/class_4019$class_4039;field_17998:[Lnet/minecraft/class_4019$class_4039;
      named TYPES Lnet/minecraft/entity/passive/FoxEntity$Type;TYPES:[Lnet/minecraft/entity/passive/FoxEntity$Type;
    • NAME_TYPE_MAP

      private static final Map<String,​FoxEntity.Type> NAME_TYPE_MAP
      Mappings:
      Namespace Name Mixin selector
      official d Lbbs$v;d:Ljava/util/Map;
      intermediary field_17999 Lnet/minecraft/class_4019$class_4039;field_17999:Ljava/util/Map;
      named NAME_TYPE_MAP Lnet/minecraft/entity/passive/FoxEntity$Type;NAME_TYPE_MAP:Ljava/util/Map;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official e Lbbs$v;e:I
      intermediary field_18000 Lnet/minecraft/class_4019$class_4039;field_18000:I
      named id Lnet/minecraft/entity/passive/FoxEntity$Type;id:I
    • key

      private final String key
      Mappings:
      Namespace Name Mixin selector
      official f Lbbs$v;f:Ljava/lang/String;
      intermediary field_18001 Lnet/minecraft/class_4019$class_4039;field_18001:Ljava/lang/String;
      named key Lnet/minecraft/entity/passive/FoxEntity$Type;key:Ljava/lang/String;
    • biomes

      private final List<RegistryKey<Biome>> biomes
      Mappings:
      Namespace Name Mixin selector
      official g Lbbs$v;g:Ljava/util/List;
      intermediary field_18002 Lnet/minecraft/class_4019$class_4039;field_18002:Ljava/util/List;
      named biomes Lnet/minecraft/entity/passive/FoxEntity$Type;biomes:Ljava/util/List;
  • Constructor Details

    • Type

      private Type​(int id, String key, RegistryKey<Biome>[] registryKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbbs$v;<init>(Ljava/lang/String;IILjava/lang/String;[Lwa;)V
      intermediary <init> Lnet/minecraft/class_4019$class_4039;<init>(Ljava/lang/String;IILjava/lang/String;[Lnet/minecraft/class_5321;)V
      named <init> Lnet/minecraft/entity/passive/FoxEntity$Type;<init>(Ljava/lang/String;IILjava/lang/String;[Lnet/minecraft/util/registry/RegistryKey;)V
  • Method Details

    • values

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

      public static FoxEntity.Type valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getKey

      public String getKey()
      Mappings:
      Namespace Name Mixin selector
      official a Lbbs$v;a()Ljava/lang/String;
      intermediary method_18310 Lnet/minecraft/class_4019$class_4039;method_18310()Ljava/lang/String;
      named getKey Lnet/minecraft/entity/passive/FoxEntity$Type;getKey()Ljava/lang/String;
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official b Lbbs$v;b()I
      intermediary method_18317 Lnet/minecraft/class_4019$class_4039;method_18317()I
      named getId Lnet/minecraft/entity/passive/FoxEntity$Type;getId()I
    • byName

      public static FoxEntity.Type byName​(String name)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbs$v;a(Ljava/lang/String;)Lbbs$v;
      intermediary method_18314 Lnet/minecraft/class_4019$class_4039;method_18314(Ljava/lang/String;)Lnet/minecraft/class_4019$class_4039;
      named byName Lnet/minecraft/entity/passive/FoxEntity$Type;byName(Ljava/lang/String;)Lnet/minecraft/entity/passive/FoxEntity$Type;
    • fromId

      public static FoxEntity.Type fromId​(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbs$v;a(I)Lbbs$v;
      intermediary method_18311 Lnet/minecraft/class_4019$class_4039;method_18311(I)Lnet/minecraft/class_4019$class_4039;
      named fromId Lnet/minecraft/entity/passive/FoxEntity$Type;fromId(I)Lnet/minecraft/entity/passive/FoxEntity$Type;
    • fromBiome

      public static FoxEntity.Type fromBiome​(Optional<RegistryKey<Biome>> optional)
      Mappings:
      Namespace Name Mixin selector
      official a Lbbs$v;a(Ljava/util/Optional;)Lbbs$v;
      intermediary method_18313 Lnet/minecraft/class_4019$class_4039;method_18313(Ljava/util/Optional;)Lnet/minecraft/class_4019$class_4039;
      named fromBiome Lnet/minecraft/entity/passive/FoxEntity$Type;fromBiome(Ljava/util/Optional;)Lnet/minecraft/entity/passive/FoxEntity$Type;