Uses of Record Class
net.minecraft.village.VillagerData
Packages that use VillagerData
Package
Description
-
Uses of VillagerData in net.minecraft.client.render.entity.state
Fields in net.minecraft.client.render.entity.state declared as VillagerDataModifier and TypeFieldDescriptionVillagerEntityRenderState.villagerData
ZombieVillagerRenderState.villagerData
Methods in net.minecraft.client.render.entity.state that return VillagerDataModifier and TypeMethodDescriptionVillagerDataRenderState.getVillagerData()
VillagerEntityRenderState.getVillagerData()
ZombieVillagerRenderState.getVillagerData()
-
Uses of VillagerData in net.minecraft.entity.data
Fields in net.minecraft.entity.data with type parameters of type VillagerDataModifier and TypeFieldDescriptionstatic final TrackedDataHandler
<VillagerData> TrackedDataHandlerRegistry.VILLAGER_DATA
-
Uses of VillagerData in net.minecraft.entity.mob
Fields in net.minecraft.entity.mob with type parameters of type VillagerDataModifier and TypeFieldDescriptionprivate static final TrackedData
<VillagerData> ZombieVillagerEntity.VILLAGER_DATA
Methods in net.minecraft.entity.mob that return VillagerDataMethods in net.minecraft.entity.mob with parameters of type VillagerDataModifier and TypeMethodDescriptionvoid
ZombieVillagerEntity.setVillagerData
(VillagerData villagerData) -
Uses of VillagerData in net.minecraft.entity.passive
Fields in net.minecraft.entity.passive with type parameters of type VillagerDataModifier and TypeFieldDescriptionprivate static final TrackedData
<VillagerData> VillagerEntity.VILLAGER_DATA
Methods in net.minecraft.entity.passive that return VillagerDataModifier and TypeMethodDescriptionstatic VillagerData
VillagerEntity.createVillagerData()
VillagerEntity.getVillagerData()
Methods in net.minecraft.entity.passive with parameters of type VillagerData -
Uses of VillagerData in net.minecraft.village
Fields in net.minecraft.village with type parameters of type VillagerDataModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<VillagerData> VillagerData.CODEC
static final PacketCodec
<RegistryByteBuf, VillagerData> VillagerData.PACKET_CODEC
Methods in net.minecraft.village that return VillagerDataModifier and TypeMethodDescriptionVillagerDataContainer.getVillagerData()
VillagerData.withLevel
(int level) VillagerData.withProfession
(RegistryEntry<VillagerProfession> profession) VillagerData.withProfession
(RegistryEntryLookup.RegistryLookup registries, RegistryKey<VillagerProfession> professionKey) VillagerData.withType
(RegistryEntry<VillagerType> type) VillagerData.withType
(RegistryEntryLookup.RegistryLookup registries, RegistryKey<VillagerType> typeKey) Methods in net.minecraft.village with parameters of type VillagerDataModifier and TypeMethodDescriptionvoid
VillagerDataContainer.setVillagerData
(VillagerData villagerData)