Class VillagerData
java.lang.Object
com.github.retrooper.packetevents.protocol.entity.villager.VillagerData
-
Constructor Summary
ConstructorDescriptionVillagerData
(int typeId, int professionId, int level) VillagerData
(VillagerType type, VillagerProfession profession, int level) VillagerData
(VillagerType type, VillagerProfession profession, VillagerLevel level) -
Method Summary
Modifier and TypeMethodDescriptionint
getLevel()
getType()
@Nullable VillagerLevel
void
setLevel
(int level) void
setLevel
(VillagerLevel level) void
setProfession
(VillagerProfession profession) void
setType
(VillagerType type)
-
Constructor Details
-
VillagerData
-
VillagerData
-
VillagerData
public VillagerData(int typeId, int professionId, int level)
-
-
Method Details
-
getType
-
setType
-
getProfession
-
setProfession
-
getLevel
public int getLevel() -
getVillagerLevel
-
setLevel
public void setLevel(int level) -
setLevel
-