Class VillagerType

java.lang.Object
net.minecraft.village.VillagerType

public final class VillagerType extends Object
Mappings:
Namespace Name
named net/minecraft/village/VillagerType
intermediary net/minecraft/class_3854
official cpn
  • Field Details

    • DESERT

      public static final VillagerType DESERT
      Mappings:
      Namespace Name Mixin selector
      named DESERT Lnet/minecraft/village/VillagerType;DESERT:Lnet/minecraft/village/VillagerType;
      intermediary field_17071 Lnet/minecraft/class_3854;field_17071:Lnet/minecraft/class_3854;
      official a Lcpn;a:Lcpn;
    • JUNGLE

      public static final VillagerType JUNGLE
      Mappings:
      Namespace Name Mixin selector
      named JUNGLE Lnet/minecraft/village/VillagerType;JUNGLE:Lnet/minecraft/village/VillagerType;
      intermediary field_17072 Lnet/minecraft/class_3854;field_17072:Lnet/minecraft/class_3854;
      official b Lcpn;b:Lcpn;
    • PLAINS

      public static final VillagerType PLAINS
      Mappings:
      Namespace Name Mixin selector
      named PLAINS Lnet/minecraft/village/VillagerType;PLAINS:Lnet/minecraft/village/VillagerType;
      intermediary field_17073 Lnet/minecraft/class_3854;field_17073:Lnet/minecraft/class_3854;
      official c Lcpn;c:Lcpn;
    • SAVANNA

      public static final VillagerType SAVANNA
      Mappings:
      Namespace Name Mixin selector
      named SAVANNA Lnet/minecraft/village/VillagerType;SAVANNA:Lnet/minecraft/village/VillagerType;
      intermediary field_17074 Lnet/minecraft/class_3854;field_17074:Lnet/minecraft/class_3854;
      official d Lcpn;d:Lcpn;
    • SNOW

      public static final VillagerType SNOW
      Mappings:
      Namespace Name Mixin selector
      named SNOW Lnet/minecraft/village/VillagerType;SNOW:Lnet/minecraft/village/VillagerType;
      intermediary field_17075 Lnet/minecraft/class_3854;field_17075:Lnet/minecraft/class_3854;
      official e Lcpn;e:Lcpn;
    • SWAMP

      public static final VillagerType SWAMP
      Mappings:
      Namespace Name Mixin selector
      named SWAMP Lnet/minecraft/village/VillagerType;SWAMP:Lnet/minecraft/village/VillagerType;
      intermediary field_17076 Lnet/minecraft/class_3854;field_17076:Lnet/minecraft/class_3854;
      official f Lcpn;f:Lcpn;
    • TAIGA

      public static final VillagerType TAIGA
      Mappings:
      Namespace Name Mixin selector
      named TAIGA Lnet/minecraft/village/VillagerType;TAIGA:Lnet/minecraft/village/VillagerType;
      intermediary field_17077 Lnet/minecraft/class_3854;field_17077:Lnet/minecraft/class_3854;
      official g Lcpn;g:Lcpn;
    • BIOME_TO_TYPE

      private static final Map<RegistryKey<Biome>,VillagerType> BIOME_TO_TYPE
      Mappings:
      Namespace Name Mixin selector
      named BIOME_TO_TYPE Lnet/minecraft/village/VillagerType;BIOME_TO_TYPE:Ljava/util/Map;
      intermediary field_17078 Lnet/minecraft/class_3854;field_17078:Ljava/util/Map;
      official i Lcpn;i:Ljava/util/Map;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/village/VillagerType;name:Ljava/lang/String;
      intermediary field_26690 Lnet/minecraft/class_3854;field_26690:Ljava/lang/String;
      official h Lcpn;h:Ljava/lang/String;
  • Constructor Details

    • VillagerType

      private VillagerType(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/village/VillagerType;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3854;<init>(Ljava/lang/String;)V
      official <init> Lcpn;<init>(Ljava/lang/String;)V
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • create

      private static VillagerType create(String id)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/village/VillagerType;create(Ljava/lang/String;)Lnet/minecraft/village/VillagerType;
      intermediary method_16931 Lnet/minecraft/class_3854;method_16931(Ljava/lang/String;)Lnet/minecraft/class_3854;
      official a Lcpn;a(Ljava/lang/String;)Lcpn;
    • forBiome

      public static VillagerType forBiome(RegistryEntry<Biome> biomeEntry)
      Mappings:
      Namespace Name Mixin selector
      named forBiome Lnet/minecraft/village/VillagerType;forBiome(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/village/VillagerType;
      intermediary method_16930 Lnet/minecraft/class_3854;method_16930(Lnet/minecraft/class_6880;)Lnet/minecraft/class_3854;
      official a Lcpn;a(Ljq;)Lcpn;