net.minecraft.world.entity.npc

public class VillagerData

avu
net.minecraft.world.entity.npc.VillagerData
net.minecraft.class_3850
net.minecraft.village.VillagerData
net.minecraft.entity.merchant.villager.VillagerData
net.minecraft.server.v1_14_R1.VillagerData

Field summary

Modifier and TypeField
private static final int[]
a
NEXT_LEVEL_XP_THRESHOLDS
field_18540
LEVEL_BASE_EXPERIENCE
field_221136_a
private final VillagerType
b
type
field_17048
type
field_221137_b
private final VillagerProfession
c
profession
field_17049
profession
field_221138_c
private final int
d
level
field_17050
level
field_221139_d

Constructor summary

ModifierConstructor
public (VillagerType arg0, VillagerProfession arg1, int level)
public (com.mojang.datafixers.Dynamic<?> arg0)

Method summary

Modifier and TypeMethod
public VillagerType
a()
getType()
method_16919()
getType()
func_221129_a()
getType()
public VillagerProfession
b()
getProfession()
method_16924()
getProfession()
func_221130_b()
getProfession()
public int
c()
getLevel()
method_16925()
getLevel()
func_221132_c()
getLevel()
public VillagerData
a(avy arg0)
setType(VillagerType arg0)
method_16922(class_3854 arg0)
withType(VillagerType arg0)
func_221134_a(IVillagerType arg0)
withType(VillagerType arg0)
public VillagerData
a(avw arg0)
setProfession(VillagerProfession arg0)
method_16921(class_3852 arg0)
withProfession(VillagerProfession arg0)
func_221126_a(VillagerProfession arg0)
withProfession(VillagerProfession arg0)
public VillagerData
a(int arg0)
setLevel(int arg0)
method_16920(int arg0)
withLevel(int level)
func_221135_a(int arg0)
withLevel(int arg0)
public <T> T
a(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> arg0)
method_16923(com.mojang.datafixers.types.DynamicOps<T> arg0)
serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
func_221131_a(com.mojang.datafixers.types.DynamicOps<T> arg0)
public static int
c(int arg0)
getMaxXpPerLevel(int arg0)
method_19195(int arg0)
getUpperLevelExperience(int level)
func_221127_c(int arg0)
public static boolean
d(int arg0)
canLevelUp(int arg0)
method_19196(int arg0)
canLevelUp(int level)
func_221128_d(int arg0)
public static int
b(int arg0)
getMinXpPerLevel(int arg0)
method_19194(int arg0)
getLowerLevelExperience(int level)
func_221133_b(int arg0)