Package | Description |
---|---|
org.bukkit |
The root package of the Bukkit API, contains generalized API classes.
|
org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world , including all players, monsters, projectiles, etc. |
org.bukkit.event.entity |
Modifier and Type | Interface and Description |
---|---|
interface |
OfflinePlayer |
Modifier and Type | Interface and Description |
---|---|
interface |
HumanEntity
Represents a human entity, such as an NPC or a player
|
interface |
Player
Represents a player, connected or not
|
Modifier and Type | Method and Description |
---|---|
AnimalTamer |
Fox.getFirstTrustedPlayer()
Gets the first trusted player.
|
AnimalTamer |
Tameable.getOwner()
Gets the current owning AnimalTamer
|
AnimalTamer |
Fox.getSecondTrustedPlayer()
Gets the second trusted player.
|
Modifier and Type | Method and Description |
---|---|
void |
Fox.setFirstTrustedPlayer(AnimalTamer player)
Set the first trusted player.
|
void |
Tameable.setOwner(AnimalTamer tamer)
Set this to be owned by given AnimalTamer.
|
void |
Fox.setSecondTrustedPlayer(AnimalTamer player)
Set the second trusted player.
|
Modifier and Type | Method and Description |
---|---|
AnimalTamer |
EntityTameEvent.getOwner()
Gets the owning AnimalTamer
|
Constructor and Description |
---|
EntityTameEvent(LivingEntity entity,
AnimalTamer owner) |
Copyright © 2021. All rights reserved.