Package | Description |
---|---|
net.tridentsdk.entity.living |
Entity classes that represent various world mobs, hostile and passive, including the Player class
|
net.tridentsdk.entity.types |
Variations of certain types of entities, mostly enums
|
net.tridentsdk.server.entity.living |
Contains implementations of entities which are sentient
|
Modifier and Type | Method and Description |
---|---|
VillagerProfession |
Villager.profession()
The profession of this villager
|
Modifier and Type | Method and Description |
---|---|
void |
Villager.setProfession(VillagerProfession profession)
Sets the profession of this villager.
|
Modifier and Type | Method and Description |
---|---|
VillagerProfession |
VillagerCareer.parent() |
static VillagerProfession |
VillagerProfession.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VillagerProfession[] |
VillagerProfession.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
VillagerProfession |
TridentVillager.profession() |
Modifier and Type | Method and Description |
---|---|
void |
TridentVillager.setProfession(VillagerProfession profession) |
Constructor and Description |
---|
TridentVillager(UUID uuid,
Position spawnPosition,
VillagerCareer career,
VillagerProfession role) |
Copyright © 2016. All rights reserved.