类 VillagerType
java.lang.Object
net.minecraft.world.entity.npc.VillagerType
-
字段概要
字段修饰符和类型字段说明private static final Map
<ResourceKey<Biome>, ResourceKey<VillagerType>> 已过时。static final com.mojang.serialization.Codec
<Holder<VillagerType>> static final ResourceKey
<VillagerType> static final ResourceKey
<VillagerType> static final ResourceKey
<VillagerType> static final ResourceKey
<VillagerType> static final ResourceKey
<VillagerType> static final StreamCodec
<RegistryFriendlyByteBuf, Holder<VillagerType>> static final ResourceKey
<VillagerType> static final ResourceKey
<VillagerType> -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static VillagerType
bootstrap
(Registry<VillagerType> p_397238_) static ResourceKey
<VillagerType> private static ResourceKey
<VillagerType> private static VillagerType
register
(Registry<VillagerType> p_397165_, ResourceKey<VillagerType> p_397653_)
-
字段详细资料
-
DESERT
-
JUNGLE
-
PLAINS
-
SAVANNA
-
SNOW
-
SWAMP
-
TAIGA
-
CODEC
-
STREAM_CODEC
-
BY_BIOME
已过时。Neo: use thedata map
instead as this field will be ignored in future versions
-
-
构造器详细资料
-
VillagerType
public VillagerType()
-
-
方法详细资料
-
createKey
-
register
private static VillagerType register(Registry<VillagerType> p_397165_, ResourceKey<VillagerType> p_397653_) -
bootstrap
-
byBiome
-