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 |
---|---|
@Nullable AnimalTamer |
Fox.getFirstTrustedPlayer()
Gets the first trusted player.
|
@Nullable AnimalTamer |
Tameable.getOwner()
Gets the current owning AnimalTamer
|
@Nullable AnimalTamer |
Fox.getSecondTrustedPlayer()
Gets the second trusted player.
|
Modifier and Type | Method and Description |
---|---|
void |
Fox.setFirstTrustedPlayer(@Nullable AnimalTamer player)
Set the first trusted player.
|
void |
Tameable.setOwner(@Nullable AnimalTamer tamer)
Set this to be owned by given AnimalTamer.
|
void |
Fox.setSecondTrustedPlayer(@Nullable AnimalTamer player)
Set the second trusted player.
|
Modifier and Type | Method and Description |
---|---|
@NotNull AnimalTamer |
EntityTameEvent.getOwner()
Gets the owning AnimalTamer
|
Constructor and Description |
---|
EntityTameEvent(@NotNull LivingEntity entity,
@NotNull AnimalTamer owner) |
Copyright © 2021. All rights reserved.