public class PlayerWrapper extends LivingEntityWrapper
Constructor and Description |
---|
PlayerWrapper(org.bukkit.entity.Player player) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.util.List<ItemStackWrapper> |
getArmor()
Gets the armor of the player
|
java.lang.String |
getDisplayName()
Gets the player's display name
|
int |
getFoodLevel()
Gets the player's food level
|
java.util.List<ItemStackWrapper> |
getInventory()
Gets the inventory of the player
|
ItemStackWrapper |
getItemInHand()
Gets the item in the player's hand
|
boolean |
isOnline()
Gets whether or not the player is online
|
boolean |
isSneaking()
Gets whether or not the player is sneaking
|
getActivePotionEffects, getCustomName, getEyeDirection, getHealth, getMaxHealth, getMaximumAir, getRemainingAir
getEntityId, getEntityType, getFallDistance, getFireTicks, getLocation, getPassenger, getVelocity, isDead
public java.lang.String getDisplayName()
public int getFoodLevel()
public ItemStackWrapper getItemInHand()
public boolean isOnline()
public boolean isSneaking()
public java.util.List<ItemStackWrapper> getInventory()
public java.util.List<ItemStackWrapper> getArmor()
public boolean equals(java.lang.Object object)
equals
in class LivingEntityWrapper