Uses of Class
net.minecraft.world.entity.npc.VillagerType
Package
Description
-
Uses of VillagerType in net.minecraft.advancements.critereon
Modifier and TypeFieldDescriptionstatic final EntityVariantPredicate<VillagerType>
EntitySubPredicate.Types.VILLAGER
-
Uses of VillagerType in net.minecraft.client.renderer.entity.layers
Modifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2ObjectMap<VillagerType,
VillagerMetaDataSection.Hat> VillagerProfessionLayer.typeHatCache
-
Uses of VillagerType in net.minecraft.core.registries
Modifier and TypeFieldDescriptionstatic final DefaultedRegistry<VillagerType>
BuiltInRegistries.VILLAGER_TYPE
static final ResourceKey<Registry<VillagerType>>
Registries.VILLAGER_TYPE
-
Uses of VillagerType in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionstatic final VillagerType
VillagerType.DESERT
static final VillagerType
VillagerType.JUNGLE
static final VillagerType
VillagerType.PLAINS
static final VillagerType
VillagerType.SAVANNA
static final VillagerType
VillagerType.SNOW
static final VillagerType
VillagerType.SWAMP
static final VillagerType
VillagerType.TAIGA
private final VillagerType
VillagerData.type
Modifier and TypeFieldDescriptionprivate static final Map<ResourceKey<Biome>,
VillagerType> VillagerType.BY_BIOME
private final Map<VillagerType,
Item> VillagerTrades.EmeraldsForVillagerTypeItem.trades
private final Map<VillagerType,
VillagerTrades.ItemListing> VillagerTrades.TypeSpecificTrade.trades
The field for thetrades
record component.Modifier and TypeMethodDescriptionstatic VillagerType
VillagerData.getType()
default VillagerType
VillagerDataHolder.getVariant()
private static VillagerType
Modifier and TypeMethodDescriptionVillagerTrades.TypeSpecificTrade.trades()
Returns the value of thetrades
record component.Modifier and TypeMethodDescriptionVillagerTrades.TypeSpecificTrade.oneTradeInBiomes
(VillagerTrades.ItemListing p_297877_, VillagerType... p_298107_) VillagerData.setType
(VillagerType p_35568_) default void
VillagerDataHolder.setVariant
(VillagerType p_262647_) ModifierConstructorDescriptionVillager
(EntityType<? extends Villager> p_35384_, Level p_35385_, VillagerType p_35386_) VillagerData
(VillagerType p_35557_, VillagerProfession p_35558_, int p_35559_) ModifierConstructorDescriptionEmeraldsForVillagerTypeItem
(int p_35669_, int p_35670_, int p_35671_, Map<VillagerType, Item> p_35672_) (package private)
Creates an instance of aTypeSpecificTrade
record class.