类的使用
net.minecraft.village.VillagerType
-
使用VillagerType的程序包 程序包 说明 net.minecraft.client.render.entity.feature net.minecraft.entity.passive net.minecraft.util.registry net.minecraft.village -
-
net.minecraft.client.render.entity.feature中VillagerType的使用
类型参数类型为VillagerType的net.minecraft.client.render.entity.feature中的字段 修饰符和类型 字段 说明 private Object2ObjectMap<VillagerType,VillagerResourceMetadata.HatType>VillagerClothingFeatureRenderer. villagerTypeToHat -
net.minecraft.entity.passive中VillagerType的使用
参数类型为VillagerType的net.minecraft.entity.passive中的构造器 构造器 说明 VillagerEntity(EntityType<? extends VillagerEntity> entityType, World world, VillagerType type) -
net.minecraft.util.registry中VillagerType的使用
类型参数类型为VillagerType的net.minecraft.util.registry中的字段 修饰符和类型 字段 说明 static DefaultedRegistry<VillagerType>Registry. VILLAGER_TYPEstatic RegistryKey<Registry<VillagerType>>Registry. VILLAGER_TYPE_KEY -
net.minecraft.village中VillagerType的使用
声明为VillagerType的net.minecraft.village中的字段 修饰符和类型 字段 说明 static VillagerTypeVillagerType. DESERTstatic VillagerTypeVillagerType. JUNGLEstatic VillagerTypeVillagerType. PLAINSstatic VillagerTypeVillagerType. SAVANNAstatic VillagerTypeVillagerType. SNOWstatic VillagerTypeVillagerType. SWAMPstatic VillagerTypeVillagerType. TAIGAprivate VillagerTypeVillagerData. type类型参数类型为VillagerType的net.minecraft.village中的字段 修饰符和类型 字段 说明 private static Map<RegistryKey<Biome>,VillagerType>VillagerType. BIOME_TO_TYPEprivate Map<VillagerType,Item>TradeOffers.TypeAwareBuyForOneEmeraldFactory. map返回VillagerType的net.minecraft.village中的方法 修饰符和类型 方法 说明 private static VillagerTypeVillagerType. create(String id)static VillagerTypeVillagerType. forBiome(Optional<RegistryKey<Biome>> biomeKey)VillagerTypeVillagerData. getType()参数类型为VillagerType的net.minecraft.village中的方法 修饰符和类型 方法 说明 VillagerDataVillagerData. withType(VillagerType type)参数类型为VillagerType的net.minecraft.village中的构造器 构造器 说明 VillagerData(VillagerType type, VillagerProfession profession, int level)类型变量类型为VillagerType的net.minecraft.village中的构造器参数 构造器 说明 TypeAwareBuyForOneEmeraldFactory(int count, int maxUses, int experience, Map<VillagerType,Item> map)
-