类 VillagerType
- java.lang.Object
-
- net.minecraft.village.VillagerType
-
public final class VillagerType extends Object
- Mappings:
Namespace Name official bixintermediary net/minecraft/class_3854named net/minecraft/village/VillagerType
-
-
字段概要
字段 修饰符和类型 字段 说明 private static Map<RegistryKey<Biome>,VillagerType>BIOME_TO_TYPEstatic VillagerTypeDESERTstatic VillagerTypeJUNGLEprivate Stringnamestatic VillagerTypePLAINSstatic VillagerTypeSAVANNAstatic VillagerTypeSNOWstatic VillagerTypeSWAMPstatic VillagerTypeTAIGA
-
构造器概要
构造器 限定符 构造器 说明 privateVillagerType(String name)
-
-
-
字段详细资料
-
DESERT
public static final VillagerType DESERT
- Mappings:
Namespace Name Mixin selector official aLbix;a:Lbix;intermediary field_17071Lnet/minecraft/class_3854;field_17071:Lnet/minecraft/class_3854;named DESERTLnet/minecraft/village/VillagerType;DESERT:Lnet/minecraft/village/VillagerType;
-
JUNGLE
public static final VillagerType JUNGLE
- Mappings:
Namespace Name Mixin selector official bLbix;b:Lbix;intermediary field_17072Lnet/minecraft/class_3854;field_17072:Lnet/minecraft/class_3854;named JUNGLELnet/minecraft/village/VillagerType;JUNGLE:Lnet/minecraft/village/VillagerType;
-
PLAINS
public static final VillagerType PLAINS
- Mappings:
Namespace Name Mixin selector official cLbix;c:Lbix;intermediary field_17073Lnet/minecraft/class_3854;field_17073:Lnet/minecraft/class_3854;named PLAINSLnet/minecraft/village/VillagerType;PLAINS:Lnet/minecraft/village/VillagerType;
-
SAVANNA
public static final VillagerType SAVANNA
- Mappings:
Namespace Name Mixin selector official dLbix;d:Lbix;intermediary field_17074Lnet/minecraft/class_3854;field_17074:Lnet/minecraft/class_3854;named SAVANNALnet/minecraft/village/VillagerType;SAVANNA:Lnet/minecraft/village/VillagerType;
-
SNOW
public static final VillagerType SNOW
- Mappings:
Namespace Name Mixin selector official eLbix;e:Lbix;intermediary field_17075Lnet/minecraft/class_3854;field_17075:Lnet/minecraft/class_3854;named SNOWLnet/minecraft/village/VillagerType;SNOW:Lnet/minecraft/village/VillagerType;
-
SWAMP
public static final VillagerType SWAMP
- Mappings:
Namespace Name Mixin selector official fLbix;f:Lbix;intermediary field_17076Lnet/minecraft/class_3854;field_17076:Lnet/minecraft/class_3854;named SWAMPLnet/minecraft/village/VillagerType;SWAMP:Lnet/minecraft/village/VillagerType;
-
TAIGA
public static final VillagerType TAIGA
- Mappings:
Namespace Name Mixin selector official gLbix;g:Lbix;intermediary field_17077Lnet/minecraft/class_3854;field_17077:Lnet/minecraft/class_3854;named TAIGALnet/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 iLbix;i:Ljava/util/Map;intermediary field_17078Lnet/minecraft/class_3854;field_17078:Ljava/util/Map;named BIOME_TO_TYPELnet/minecraft/village/VillagerType;BIOME_TO_TYPE:Ljava/util/Map;
-
name
private final String name
- Mappings:
Namespace Name Mixin selector official hLbix;h:Ljava/lang/String;intermediary field_26690Lnet/minecraft/class_3854;field_26690:Ljava/lang/String;named nameLnet/minecraft/village/VillagerType;name:Ljava/lang/String;
-
-
构造器详细资料
-
VillagerType
private VillagerType(String name)
- Mappings:
Namespace Name Mixin selector official <init>Lbix;<init>(Ljava/lang/String;)Vintermediary <init>Lnet/minecraft/class_3854;<init>(Ljava/lang/String;)Vnamed <init>Lnet/minecraft/village/VillagerType;<init>(Ljava/lang/String;)V
-
-
方法详细资料
-
toString
public String toString()
-
create
private static VillagerType create(String id)
- Mappings:
Namespace Name Mixin selector official aLbix;a(Ljava/lang/String;)Lbix;intermediary method_16931Lnet/minecraft/class_3854;method_16931(Ljava/lang/String;)Lnet/minecraft/class_3854;named createLnet/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 aLbix;a(Ljava/util/Optional;)Lbix;intermediary method_16930Lnet/minecraft/class_3854;method_16930(Ljava/util/Optional;)Lnet/minecraft/class_3854;named forBiomeLnet/minecraft/village/VillagerType;forBiome(Ljava/util/Optional;)Lnet/minecraft/village/VillagerType;
-
-