Package | Description |
---|---|
org.bukkit |
More generalized classes in the API.
|
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 | Description |
---|---|---|
interface |
OfflinePlayer |
Modifier and Type | Interface | 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 | 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 | 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 | Description |
---|---|---|
AnimalTamer |
EntityTameEvent.getOwner() |
Gets the owning AnimalTamer
|
Constructor | Description |
---|---|
EntityTameEvent(LivingEntity entity,
AnimalTamer owner) |
Copyright © 2020. All rights reserved.