Class VillagerType

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

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

    • DESERT

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

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

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

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

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

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

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

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

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

    • VillagerType

      private VillagerType(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbjv;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_3854;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/village/VillagerType;<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
      official a Lbjv;a(Ljava/lang/String;)Lbjv;
      intermediary method_16931 Lnet/minecraft/class_3854;method_16931(Ljava/lang/String;)Lnet/minecraft/class_3854;
      named create Lnet/minecraft/village/VillagerType;create(Ljava/lang/String;)Lnet/minecraft/village/VillagerType;
    • forBiome

      public static VillagerType forBiome(Optional<RegistryKey<Biome>> biomeKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjv;a(Ljava/util/Optional;)Lbjv;
      intermediary method_16930 Lnet/minecraft/class_3854;method_16930(Ljava/util/Optional;)Lnet/minecraft/class_3854;
      named forBiome Lnet/minecraft/village/VillagerType;forBiome(Ljava/util/Optional;)Lnet/minecraft/village/VillagerType;