Uses of Class
net.minecraft.village.VillagerType
Packages that use VillagerType
Package
Description
-
Uses of VillagerType in net.minecraft.client.render.entity.feature
Fields in net.minecraft.client.render.entity.feature with type parameters of type VillagerTypeModifier and TypeFieldDescriptionprivate final Object2ObjectMap
<RegistryKey<VillagerType>, VillagerResourceMetadata.HatType> VillagerClothingFeatureRenderer.villagerTypeToHat
-
Uses of VillagerType in net.minecraft.component
Fields in net.minecraft.component with type parameters of type VillagerTypeModifier and TypeFieldDescriptionstatic final ComponentType
<RegistryEntry<VillagerType>> DataComponentTypes.VILLAGER_VARIANT
-
Uses of VillagerType in net.minecraft.entity.passive
Constructor parameters in net.minecraft.entity.passive with type arguments of type VillagerTypeModifierConstructorDescriptionVillagerEntity
(EntityType<? extends VillagerEntity> entityType, World world, RegistryEntry<VillagerType> type) VillagerEntity
(EntityType<? extends VillagerEntity> entityType, World world, RegistryKey<VillagerType> type) -
Uses of VillagerType in net.minecraft.registry
Fields in net.minecraft.registry with type parameters of type VillagerTypeModifier and TypeFieldDescriptionstatic final DefaultedRegistry
<VillagerType> Registries.VILLAGER_TYPE
static final RegistryKey
<Registry<VillagerType>> RegistryKeys.VILLAGER_TYPE
-
Uses of VillagerType in net.minecraft.village
Fields in net.minecraft.village with type parameters of type VillagerTypeModifier and TypeFieldDescriptionprivate static final Map
<RegistryKey<Biome>, RegistryKey<VillagerType>> VillagerType.BIOME_TO_TYPE
static final com.mojang.serialization.Codec
<RegistryEntry<VillagerType>> VillagerType.CODEC
static final RegistryKey
<VillagerType> VillagerType.DESERT
static final RegistryKey
<VillagerType> VillagerType.JUNGLE
private final Map
<RegistryKey<VillagerType>, Item> TradeOffers.TypeAwareBuyForOneEmeraldFactory.map
static final PacketCodec
<RegistryByteBuf, RegistryEntry<VillagerType>> VillagerType.PACKET_CODEC
static final RegistryKey
<VillagerType> VillagerType.PLAINS
static final RegistryKey
<VillagerType> VillagerType.SAVANNA
static final RegistryKey
<VillagerType> VillagerType.SNOW
static final RegistryKey
<VillagerType> VillagerType.SWAMP
static final RegistryKey
<VillagerType> VillagerType.TAIGA
private final RegistryEntry
<VillagerType> VillagerData.type
The field for thetype
record component.private final Map
<RegistryKey<VillagerType>, TradeOffers.Factory> TradeOffers.TypedWrapperFactory.typeToFactory
The field for thetypeToFactory
record component.Methods in net.minecraft.village that return VillagerTypeModifier and TypeMethodDescriptionprivate static VillagerType
VillagerType.create
(Registry<VillagerType> registry, RegistryKey<VillagerType> key) static VillagerType
VillagerType.registerAndGetDefault
(Registry<VillagerType> registry) Methods in net.minecraft.village that return types with arguments of type VillagerTypeModifier and TypeMethodDescriptionstatic RegistryKey
<VillagerType> VillagerType.forBiome
(RegistryEntry<Biome> biomeEntry) private static RegistryKey
<VillagerType> VillagerData.type()
Returns the value of thetype
record component.TradeOffers.TypedWrapperFactory.typeToFactory()
Returns the value of thetypeToFactory
record component.Method parameters in net.minecraft.village with type arguments of type VillagerTypeModifier and TypeMethodDescriptionprivate static VillagerType
VillagerType.create
(Registry<VillagerType> registry, RegistryKey<VillagerType> key) private static VillagerType
VillagerType.create
(Registry<VillagerType> registry, RegistryKey<VillagerType> key) static VillagerType
VillagerType.registerAndGetDefault
(Registry<VillagerType> registry) VillagerData.withType
(RegistryEntry<VillagerType> type) VillagerData.withType
(RegistryEntryLookup.RegistryLookup registries, RegistryKey<VillagerType> typeKey) Constructor parameters in net.minecraft.village with type arguments of type VillagerTypeModifierConstructorDescriptionTypeAwareBuyForOneEmeraldFactory
(int count, int maxUses, int experience, Map<RegistryKey<VillagerType>, Item> map) (package private)
VillagerData
(RegistryEntry<VillagerType> registryEntry, RegistryEntry<VillagerProfession> registryEntry2, int level)