Class VillagerTypes
java.lang.Object
com.github.retrooper.packetevents.protocol.entity.villager.type.VillagerTypes
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VillagerTypestatic final VillagerTypestatic final VillagerTypestatic final VillagerTypestatic final VillagerTypestatic final VillagerTypestatic final VillagerType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VillagerTypestatic VillagerTypegetById(int id) static VillagerTypestatic Collection<VillagerType> values()Returns an immutable view of the villager types.
-
Field Details
-
DESERT
-
JUNGLE
-
PLAINS
-
SAVANNA
-
SNOW
-
SWAMP
-
TAIGA
-
-
Constructor Details
-
VillagerTypes
public VillagerTypes()
-
-
Method Details
-
define
-
getById
-
getByName
-
values
Returns an immutable view of the villager types.- Returns:
- Villager Types
-