Package net.minecraft.world.entity.npc
Interface VillagerDataHolder
- All Superinterfaces:
VariantHolder<VillagerType>
- All Known Implementing Classes:
Villager
,ZombieVillager
-
Method Summary
Modifier and TypeMethodDescriptiondefault VillagerType
default void
setVariant
(VillagerType p_262647_) void
setVillagerData
(VillagerData p_150027_)
-
Method Details
-
getVillagerData
VillagerData getVillagerData() -
setVillagerData
-
getVariant
- Specified by:
getVariant
in interfaceVariantHolder<VillagerType>
-
setVariant
- Specified by:
setVariant
in interfaceVariantHolder<VillagerType>
-