public interface AbstractPlayer extends AbstractEntity
Modifier and Type | Method and Description |
---|---|
boolean |
canSee(AbstractPlayer target) |
boolean |
getAllowFlight() |
float |
getExperience() |
int |
getFoodLevel() |
float |
getFoodSaturation() |
int |
getLevel() |
boolean |
hasPermission(String perm) |
void |
hidePlayer(AbstractPlayer target) |
boolean |
isInCreativeMode() |
boolean |
isInSpectatorMode() |
boolean |
isOnline() |
void |
resetPersonalTime() |
void |
resetPersonalWeather() |
void |
sendActionBarMessage(String message) |
void |
sendMessage(String message) |
void |
setAllowFlight(boolean b) |
void |
setExperience(float exp) |
void |
setFlying(boolean b) |
void |
setFlyingSpeed(float f) |
void |
setFoodLevel(int amount) |
void |
setFoodSaturation(float amount) |
void |
setGameMode(AbstractGameMode mode) |
void |
setHealthScale(double scale) |
void |
setHealthScaled(boolean scale) |
void |
setLevel(int level) |
void |
setPersonalTime(long time,
boolean relative) |
void |
setPersonalWeather(String type) |
void |
setWalkSpeed(float f) |
void |
showPlayer(AbstractPlayer target) |
addPotionEffect, addScoreboardTag, asPlayer, damage, eject, equipItemChest, equipItemFeet, equipItemHead, equipItemLegs, equipItemMainHand, equipItemOffHand, getBukkitEntity, getCustomName, getEnchantmentLevel, getEnchantmentLevelHeld, getEyeHeight, getEyeLocation, getHealth, getLocation, getLuck, getMaxHealth, getMetadata, getName, getPassenger, getTarget, getUniqueId, getVehicle, getVelocity, getWorld, hasAI, hasGravity, hasLineOfSight, hasMetadata, hasPotionEffect, hasPotionEffect, hasPotionEffect, hasScoreboardTag, isAnimal, isCitizensNPC, isCreature, isDead, isFlyingMob, isGliding, isLiving, isLoaded, isMonster, isOnGround, isPlayer, isValid, isWaterMob, remove, removeMetadata, removeScoreboardTag, setAI, setAttackSpeed, setDamage, setFireTicks, setGravity, setHealth, setMaxHealth, setMetadata, setMovementSpeed, setNoDamageTicks, setPassenger, setPassenger, setVelocity, teleport
boolean hasPermission(String perm)
boolean isInCreativeMode()
boolean isInSpectatorMode()
void sendMessage(String message)
float getExperience()
void setExperience(float exp)
void hidePlayer(AbstractPlayer target)
boolean canSee(AbstractPlayer target)
boolean isOnline()
int getLevel()
void setLevel(int level)
void setHealthScale(double scale)
void setHealthScaled(boolean scale)
void setPersonalTime(long time, boolean relative)
void resetPersonalTime()
void setPersonalWeather(String type)
void resetPersonalWeather()
void setAllowFlight(boolean b)
boolean getAllowFlight()
void showPlayer(AbstractPlayer target)
void setFlying(boolean b)
void setFlyingSpeed(float f)
void setWalkSpeed(float f)
int getFoodLevel()
void setFoodLevel(int amount)
float getFoodSaturation()
void setFoodSaturation(float amount)
void setGameMode(AbstractGameMode mode)
void sendActionBarMessage(String message)
Copyright © 2020. All rights reserved.