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 cuk
  • Field Details

    • DESERT

      public static final RegistryKey<VillagerType> DESERT
      Mappings:
      Namespace Name Mixin selector
      named DESERT Lnet/minecraft/village/VillagerType;DESERT:Lnet/minecraft/registry/RegistryKey;
      intermediary field_17071 Lnet/minecraft/class_3854;field_17071:Lnet/minecraft/class_5321;
      official a Lcuk;a:Lamd;
    • JUNGLE

      public static final RegistryKey<VillagerType> JUNGLE
      Mappings:
      Namespace Name Mixin selector
      named JUNGLE Lnet/minecraft/village/VillagerType;JUNGLE:Lnet/minecraft/registry/RegistryKey;
      intermediary field_17072 Lnet/minecraft/class_3854;field_17072:Lnet/minecraft/class_5321;
      official b Lcuk;b:Lamd;
    • PLAINS

      public static final RegistryKey<VillagerType> PLAINS
      Mappings:
      Namespace Name Mixin selector
      named PLAINS Lnet/minecraft/village/VillagerType;PLAINS:Lnet/minecraft/registry/RegistryKey;
      intermediary field_17073 Lnet/minecraft/class_3854;field_17073:Lnet/minecraft/class_5321;
      official c Lcuk;c:Lamd;
    • SAVANNA

      public static final RegistryKey<VillagerType> SAVANNA
      Mappings:
      Namespace Name Mixin selector
      named SAVANNA Lnet/minecraft/village/VillagerType;SAVANNA:Lnet/minecraft/registry/RegistryKey;
      intermediary field_17074 Lnet/minecraft/class_3854;field_17074:Lnet/minecraft/class_5321;
      official d Lcuk;d:Lamd;
    • SNOW

      public static final RegistryKey<VillagerType> SNOW
      Mappings:
      Namespace Name Mixin selector
      named SNOW Lnet/minecraft/village/VillagerType;SNOW:Lnet/minecraft/registry/RegistryKey;
      intermediary field_17075 Lnet/minecraft/class_3854;field_17075:Lnet/minecraft/class_5321;
      official e Lcuk;e:Lamd;
    • SWAMP

      public static final RegistryKey<VillagerType> SWAMP
      Mappings:
      Namespace Name Mixin selector
      named SWAMP Lnet/minecraft/village/VillagerType;SWAMP:Lnet/minecraft/registry/RegistryKey;
      intermediary field_17076 Lnet/minecraft/class_3854;field_17076:Lnet/minecraft/class_5321;
      official f Lcuk;f:Lamd;
    • TAIGA

      public static final RegistryKey<VillagerType> TAIGA
      Mappings:
      Namespace Name Mixin selector
      named TAIGA Lnet/minecraft/village/VillagerType;TAIGA:Lnet/minecraft/registry/RegistryKey;
      intermediary field_17077 Lnet/minecraft/class_3854;field_17077:Lnet/minecraft/class_5321;
      official g Lcuk;g:Lamd;
    • CODEC

      public static final com.mojang.serialization.Codec<RegistryEntry<VillagerType>> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/village/VillagerType;CODEC:Lcom/mojang/serialization/Codec;
      intermediary field_55975 Lnet/minecraft/class_3854;field_55975:Lcom/mojang/serialization/Codec;
      official h Lcuk;h:Lcom/mojang/serialization/Codec;
    • PACKET_CODEC

      public static final PacketCodec<RegistryByteBuf,RegistryEntry<VillagerType>> PACKET_CODEC
      Mappings:
      Namespace Name Mixin selector
      named PACKET_CODEC Lnet/minecraft/village/VillagerType;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;
      intermediary field_55976 Lnet/minecraft/class_3854;field_55976:Lnet/minecraft/class_9139;
      official i Lcuk;i:Lzm;
    • BIOME_TO_TYPE

      private static final Map<RegistryKey<Biome>,RegistryKey<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 j Lcuk;j:Ljava/util/Map;
  • Constructor Details

    • VillagerType

      public VillagerType()
  • Method Details

    • of

      private static RegistryKey<VillagerType> of(String id)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/village/VillagerType;of(Ljava/lang/String;)Lnet/minecraft/registry/RegistryKey;
      intermediary method_66693 Lnet/minecraft/class_3854;method_66693(Ljava/lang/String;)Lnet/minecraft/class_5321;
      official a Lcuk;a(Ljava/lang/String;)Lamd;
    • create

      private static VillagerType create(Registry<VillagerType> registry, RegistryKey<VillagerType> key)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/village/VillagerType;create(Lnet/minecraft/registry/Registry;Lnet/minecraft/registry/RegistryKey;)Lnet/minecraft/village/VillagerType;
      intermediary method_16931 Lnet/minecraft/class_3854;method_16931(Lnet/minecraft/class_2378;Lnet/minecraft/class_5321;)Lnet/minecraft/class_3854;
      official a Lcuk;a(Ljy;Lamd;)Lcuk;
    • registerAndGetDefault

      public static VillagerType registerAndGetDefault(Registry<VillagerType> registry)
      Mappings:
      Namespace Name Mixin selector
      named registerAndGetDefault Lnet/minecraft/village/VillagerType;registerAndGetDefault(Lnet/minecraft/registry/Registry;)Lnet/minecraft/village/VillagerType;
      intermediary method_66694 Lnet/minecraft/class_3854;method_66694(Lnet/minecraft/class_2378;)Lnet/minecraft/class_3854;
      official a Lcuk;a(Ljy;)Lcuk;
    • forBiome

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