Uses of Class
net.minecraft.world.entity.npc.VillagerData
Package
Description
-
Uses of VillagerData in net.minecraft.network.syncher
Modifier and TypeFieldDescriptionstatic final EntityDataSerializer
<VillagerData> EntityDataSerializers.VILLAGER_DATA
-
Uses of VillagerData in net.minecraft.world.entity.monster
Modifier and TypeFieldDescriptionprivate static final EntityDataAccessor
<VillagerData> ZombieVillager.DATA_VILLAGER_DATA
-
Uses of VillagerData in net.minecraft.world.entity.npc
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<VillagerData> VillagerData.CODEC
private static final EntityDataAccessor
<VillagerData> Villager.DATA_VILLAGER_DATA
static final StreamCodec
<RegistryFriendlyByteBuf, VillagerData> VillagerData.STREAM_CODEC
Modifier and TypeMethodDescriptionVillager.getVillagerData()
VillagerDataHolder.getVillagerData()
VillagerData.setLevel
(int p_35562_) VillagerData.setProfession
(VillagerProfession p_35566_) VillagerData.setType
(VillagerType p_35568_) Modifier and TypeMethodDescriptionvoid
Villager.setVillagerData
(VillagerData p_35437_) void
VillagerDataHolder.setVillagerData
(VillagerData p_150027_)