| Package | Description |
|---|---|
| net.minecraft.entity.merchant.villager | |
| net.minecraft.entity.monster | |
| net.minecraft.entity.villager | |
| net.minecraft.network.datasync |
| Modifier and Type | Field and Description |
|---|---|
private static DataParameter<VillagerData> |
VillagerEntity.VILLAGER_DATA |
| Modifier and Type | Method and Description |
|---|---|
VillagerData |
VillagerEntity.getVillagerData() |
VillagerData |
VillagerData.withLevel(int levelIn) |
VillagerData |
VillagerData.withProfession(VillagerProfession professionIn) |
VillagerData |
VillagerData.withType(IVillagerType typeIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
VillagerEntity.setVillagerData(VillagerData p_213753_1_) |
| Modifier and Type | Field and Description |
|---|---|
private static DataParameter<VillagerData> |
ZombieVillagerEntity.VILLAGER_DATA |
| Modifier and Type | Method and Description |
|---|---|
VillagerData |
ZombieVillagerEntity.getVillagerData() |
| Modifier and Type | Method and Description |
|---|---|
void |
ZombieVillagerEntity.setVillagerData(VillagerData p_213792_1_) |
| Modifier and Type | Method and Description |
|---|---|
VillagerData |
IVillagerDataHolder.getVillagerData() |
| Modifier and Type | Field and Description |
|---|---|
static IDataSerializer<VillagerData> |
DataSerializers.VILLAGER_DATA |