SHARE
TWEET

Untitled

a guest Oct 21st, 2019 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {"org.bukkit.entity.Player":[{"method":"awardAchievement(Achievement achievement)","modifier":"void","deprecated":true,"description":"Deprecated. future versions of Minecraft do not have achievements"},{"method":"canSee(Player player)","modifier":"boolean","deprecated":false,"description":"Checks to see if a player has been hidden from this player"},{"method":"chat(String msg)","modifier":"void","deprecated":false,"description":"Says a message (or runs a command)."},{"method":"decrementStatistic(Statistic statistic)","modifier":"void","deprecated":false,"description":"Decrements the given statistic for this player."},{"method":"decrementStatistic(Statistic statistic, int amount)","modifier":"void","deprecated":false,"description":"Decrements the given statistic for this player."},{"method":"decrementStatistic(Statistic statistic, EntityType entityType)","modifier":"void","deprecated":false,"description":"Decrements the given statistic for this player for the given entity."},{"method":"decrementStatistic(Statistic statistic, EntityType entityType, int amount)","modifier":"void","deprecated":false,"description":"Decrements the given statistic for this player for the given entity."},{"method":"decrementStatistic(Statistic statistic, Material material)","modifier":"void","deprecated":false,"description":"Decrements the given statistic for this player for the given material."},{"method":"decrementStatistic(Statistic statistic, Material material, int amount)","modifier":"void","deprecated":false,"description":"Decrements the given statistic for this player for the given material."},{"method":"getAddress()","modifier":"InetSocketAddress","deprecated":false,"description":"Gets the socket address of this player"},{"method":"getAdvancementProgress(Advancement advancement)","modifier":"AdvancementProgress","deprecated":false,"description":"Return the player's progression on the specified advancement."},{"method":"getAllowFlight()","modifier":"boolean","deprecated":false,"description":"Determines if the Player is allowed to fly via jump key double-tap like in creative mode."},{"method":"getClientViewDistance()","modifier":"int","deprecated":false,"description":"Get the player's current client side view distance."},{"method":"getCompassTarget()","modifier":"Location","deprecated":false,"description":"Get the previously set compass target."},{"method":"getDisplayName()","modifier":"String","deprecated":false,"description":"Gets the \"friendly\" name to display of this player."},{"method":"getExhaustion()","modifier":"float","deprecated":false,"description":"Gets the players current exhaustion level."},{"method":"getExp()","modifier":"float","deprecated":false,"description":"Gets the players current experience points towards the next level."},{"method":"getFlySpeed()","modifier":"float","deprecated":false,"description":"Gets the current allowed speed that a client can fly."},{"method":"getFoodLevel()","modifier":"int","deprecated":false,"description":"Gets the players current food level"},{"method":"getHealthScale()","modifier":"double","deprecated":false,"description":"Gets the number that health is scaled to for the client."},{"method":"getLevel()","modifier":"int","deprecated":false,"description":"Gets the players current experience level"},{"method":"getLocale()","modifier":"String","deprecated":false,"description":"Gets the player's current locale."},{"method":"getPlayerListFooter()","modifier":"String","deprecated":false,"description":"Gets the currently displayed player list footer for this player."},{"method":"getPlayerListHeader()","modifier":"String","deprecated":false,"description":"Gets the currently displayed player list header for this player."},{"method":"getPlayerListName()","modifier":"String","deprecated":false,"description":"Gets the name that is shown on the player list."},{"method":"getPlayerTime()","modifier":"long","deprecated":false,"description":"Returns the player's current timestamp."},{"method":"getPlayerTimeOffset()","modifier":"long","deprecated":false,"description":"Returns the player's current time offset relative to server time, or the current player's fixed time if the player's time is absolute."},{"method":"getPlayerWeather()","modifier":"WeatherType","deprecated":false,"description":"Returns the type of weather the player is currently experiencing."},{"method":"getSaturation()","modifier":"float","deprecated":false,"description":"Gets the players current saturation level."},{"method":"getScoreboard()","modifier":"Scoreboard","deprecated":false,"description":"Gets the Scoreboard displayed to this player"},{"method":"getSpectatorTarget()","modifier":"Entity","deprecated":false,"description":"Gets the entity which is followed by the camera when in GameMode.SPECTATOR."},{"method":"getStatistic(Statistic statistic)","modifier":"int","deprecated":false,"description":"Gets the value of the given statistic for this player."},{"method":"getStatistic(Statistic statistic, EntityType entityType)","modifier":"int","deprecated":false,"description":"Gets the value of the given statistic for this player."},{"method":"getStatistic(Statistic statistic, Material material)","modifier":"int","deprecated":false,"description":"Gets the value of the given statistic for this player."},{"method":"getTotalExperience()","modifier":"int","deprecated":false,"description":"Gets the players total experience points."},{"method":"getWalkSpeed()","modifier":"float","deprecated":false,"description":"Gets the current allowed speed that a client can walk."},{"method":"giveExp(int amount)","modifier":"void","deprecated":false,"description":"Gives the player the amount of experience specified."},{"method":"giveExpLevels(int amount)","modifier":"void","deprecated":false,"description":"Gives the player the amount of experience levels specified."},{"method":"hasAchievement(Achievement achievement)","modifier":"boolean","deprecated":true,"description":"Deprecated. future versions of Minecraft do not have achievements"},{"method":"hidePlayer(Player player)","modifier":"void","deprecated":true,"description":"Deprecated. see hidePlayer(Plugin, Player)"},{"method":"hidePlayer(Plugin plugin, Player player)","modifier":"void","deprecated":false,"description":"Hides a player from this player"},{"method":"incrementStatistic(Statistic statistic)","modifier":"void","deprecated":false,"description":"Increments the given statistic for this player."},{"method":"incrementStatistic(Statistic statistic, int amount)","modifier":"void","deprecated":false,"description":"Increments the given statistic for this player."},{"method":"incrementStatistic(Statistic statistic, EntityType entityType)","modifier":"void","deprecated":false,"description":"Increments the given statistic for this player for the given entity."},{"method":"incrementStatistic(Statistic statistic, EntityType entityType, int amount)","modifier":"void","deprecated":false,"description":"Increments the given statistic for this player for the given entity."},{"method":"incrementStatistic(Statistic statistic, Material material)","modifier":"void","deprecated":false,"description":"Increments the given statistic for this player for the given material."},{"method":"incrementStatistic(Statistic statistic, Material material, int amount)","modifier":"void","deprecated":false,"description":"Increments the given statistic for this player for the given material."},{"method":"isFlying()","modifier":"boolean","deprecated":false,"description":"Checks to see if this player is currently flying or not."},{"method":"isHealthScaled()","modifier":"boolean","deprecated":false,"description":"Gets if the client is displayed a 'scaled' health, that is, health on a scale from 0-getHealthScale()."},{"method":"isPlayerTimeRelative()","modifier":"boolean","deprecated":false,"description":"Returns true if the player's time is relative to the server time, otherwise the player's time is absolute and will not change its current time unless done so with setPlayerTime()."},{"method":"isSleepingIgnored()","modifier":"boolean","deprecated":false,"description":"Returns whether the player is sleeping ignored."},{"method":"isSneaking()","modifier":"boolean","deprecated":false,"description":"Returns if the player is in sneak mode"},{"method":"isSprinting()","modifier":"boolean","deprecated":false,"description":"Gets whether the player is sprinting or not."},{"method":"kickPlayer(String message)","modifier":"void","deprecated":false,"description":"Kicks player with custom kick message."},{"method":"loadData()","modifier":"void","deprecated":false,"description":"Loads the players current location, health, inventory, motion, and other information from the username.dat file, in the world/player folder."},{"method":"openBook(ItemStack book)","modifier":"void","deprecated":false,"description":"Open a Material.WRITTEN_BOOK for a Player"},{"method":"performCommand(String command)","modifier":"boolean","deprecated":false,"description":"Makes the player perform the given command"},{"method":"playEffect(Location loc, Effect effect, int data)","modifier":"void","deprecated":true,"description":"Deprecated. Magic value"},{"method":"playEffect(Location loc, Effect effect, T data)","modifier":"<T> void","deprecated":false,"description":"Plays an effect to just this player."},{"method":"playNote(Location loc, byte instrument, byte note)","modifier":"void","deprecated":true,"description":"Deprecated. Magic value"},{"method":"playNote(Location loc, Instrument instrument, Note note)","modifier":"void","deprecated":false,"description":"Play a note for a player at a location."},{"method":"playSound(Location location, String sound, float volume, float pitch)","modifier":"void","deprecated":false,"description":"Play a sound for a player at the location."},{"method":"playSound(Location location, String sound, SoundCategory category, float volume, float pitch)","modifier":"void","deprecated":false,"description":"Play a sound for a player at the location."},{"method":"playSound(Location location, Sound sound, float volume, float pitch)","modifier":"void","deprecated":false,"description":"Play a sound for a player at the location."},{"method":"playSound(Location location, Sound sound, SoundCategory category, float volume, float pitch)","modifier":"void","deprecated":false,"description":"Play a sound for a player at the location."},{"method":"removeAchievement(Achievement achievement)","modifier":"void","deprecated":true,"description":"Deprecated. future versions of Minecraft do not have achievements"},{"method":"resetPlayerTime()","modifier":"void","deprecated":false,"description":"Restores the normal condition where the player's time is synchronized with the server time."},{"method":"resetPlayerWeather()","modifier":"void","deprecated":false,"description":"Restores the normal condition where the player's weather is controlled by server conditions."},{"method":"resetTitle()","modifier":"void","deprecated":false,"description":"Resets the title displayed to the player."},{"method":"saveData()","modifier":"void","deprecated":false,"description":"Saves the players current location, health, inventory, motion, and other information into the username.dat file, in the world/player folder"},{"method":"sendBlockChange(Location loc, BlockData block)","modifier":"void","deprecated":false,"description":"Send a block change."},{"method":"sendBlockChange(Location loc, Material material, byte data)","modifier":"void","deprecated":true,"description":"Deprecated. Magic value"},{"method":"sendChunkChange(Location loc, int sx, int sy, int sz, byte[] data)","modifier":"boolean","deprecated":true,"description":"Deprecated. Magic value"},{"method":"sendMap(MapView map)","modifier":"void","deprecated":false,"description":"Render a map and send it to the player in its entirety."},{"method":"sendRawMessage(String message)","modifier":"void","deprecated":false,"description":"Sends this sender a message raw"},{"method":"sendSignChange(Location loc, String[] lines)","modifier":"void","deprecated":false,"description":"Send a sign change."},{"method":"sendSignChange(Location loc, String[] lines, DyeColor dyeColor)","modifier":"void","deprecated":false,"description":"Send a sign change."},{"method":"sendTitle(String title, String subtitle)","modifier":"void","deprecated":true,"description":"Deprecated. API behavior subject to change"},{"method":"sendTitle(String title, String subtitle, int fadeIn, int stay, int fadeOut)","modifier":"void","deprecated":false,"description":"Sends a title and a subtitle message to the player."},{"method":"setAllowFlight(boolean flight)","modifier":"void","deprecated":false,"description":"Sets if the Player is allowed to fly via jump key double-tap like in creative mode."},{"method":"setCompassTarget(Location loc)","modifier":"void","deprecated":false,"description":"Set the target of the player's compass."},{"method":"setDisplayName(String name)","modifier":"void","deprecated":false,"description":"Sets the \"friendly\" name to display of this player."},{"method":"setExhaustion(float value)","modifier":"void","deprecated":false,"description":"Sets the players current exhaustion level"},{"method":"setExp(float exp)","modifier":"void","deprecated":false,"description":"Sets the players current experience points towards the next level"},{"method":"setFlying(boolean value)","modifier":"void","deprecated":false,"description":"Makes this player start or stop flying."},{"method":"setFlySpeed(float value)","modifier":"void","deprecated":false,"description":"Sets the speed at which a client will fly."},{"method":"setFoodLevel(int value)","modifier":"void","deprecated":false,"description":"Sets the players current food level"},{"method":"setHealthScale(double scale)","modifier":"void","deprecated":false,"description":"Sets the number to scale health to for the client; this will also setHealthScaled(true)."},{"method":"setHealthScaled(boolean scale)","modifier":"void","deprecated":false,"description":"Sets if the client is displayed a 'scaled' health, that is, health on a scale from 0-getHealthScale()."},{"method":"setLevel(int level)","modifier":"void","deprecated":false,"description":"Sets the players current experience level"},{"method":"setPlayerListFooter(String footer)","modifier":"void","deprecated":false,"description":"Sets the currently displayed player list footer for this player."},{"method":"setPlayerListHeader(String header)","modifier":"void","deprecated":false,"description":"Sets the currently displayed player list header for this player."},{"method":"setPlayerListHeaderFooter(String header, String footer)","modifier":"void","deprecated":false,"description":"Sets the currently displayed player list header and footer for this player."},{"method":"setPlayerListName(String name)","modifier":"void","deprecated":false,"description":"Sets the name that is shown on the in-game player list."},{"method":"setPlayerTime(long time, boolean relative)","modifier":"void","deprecated":false,"description":"Sets the current time on the player's client."},{"method":"setPlayerWeather(WeatherType type)","modifier":"void","deprecated":false,"description":"Sets the type of weather the player will see."},{"method":"setResourcePack(String url)","modifier":"void","deprecated":false,"description":"Request that the player's client download and switch resource packs."},{"method":"setResourcePack(String url, byte[] hash)","modifier":"void","deprecated":false,"description":"Request that the player's client download and switch resource packs."},{"method":"setSaturation(float value)","modifier":"void","deprecated":false,"description":"Sets the players current saturation level"},{"method":"setScoreboard(Scoreboard scoreboard)","modifier":"void","deprecated":false,"description":"Sets the player's visible Scoreboard."},{"method":"setSleepingIgnored(boolean isSleeping)","modifier":"void","deprecated":false,"description":"Sets whether the player is ignored as not sleeping."},{"method":"setSneaking(boolean sneak)","modifier":"void","deprecated":false,"description":"Sets the sneak mode the player"},{"method":"setSpectatorTarget(Entity entity)","modifier":"void","deprecated":false,"description":"Sets the entity which is followed by the camera when in GameMode.SPECTATOR."},{"method":"setSprinting(boolean sprinting)","modifier":"void","deprecated":false,"description":"Sets whether the player is sprinting or not."},{"method":"setStatistic(Statistic statistic, int newValue)","modifier":"void","deprecated":false,"description":"Sets the given statistic for this player."},{"method":"setStatistic(Statistic statistic, EntityType entityType, int newValue)","modifier":"void","deprecated":false,"description":"Sets the given statistic for this player for the given entity."},{"method":"setStatistic(Statistic statistic, Material material, int newValue)","modifier":"void","deprecated":false,"description":"Sets the given statistic for this player for the given material."},{"method":"setTexturePack(String url)","modifier":"void","deprecated":true,"description":"Deprecated. Minecraft no longer uses textures packs. Instead you should use setResourcePack(String)."},{"method":"setTotalExperience(int exp)","modifier":"void","deprecated":false,"description":"Sets the players current experience points."},{"method":"setWalkSpeed(float value)","modifier":"void","deprecated":false,"description":"Sets the speed at which a client will walk."},{"method":"showPlayer(Player player)","modifier":"void","deprecated":true,"description":"Deprecated. see showPlayer(Plugin, Player)"},{"method":"showPlayer(Plugin plugin, Player player)","modifier":"void","deprecated":false,"description":"Allows this player to see a player that was previously hidden."},{"method":"spawnParticle(Particle particle, double x, double y, double z, int count)","modifier":"void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ)","modifier":"void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra)","modifier":"void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, T data)","modifier":"<T> void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, T data)","modifier":"<T> void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, double x, double y, double z, int count, T data)","modifier":"<T> void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, Location location, int count)","modifier":"void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ)","modifier":"void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra)","modifier":"void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, double extra, T data)","modifier":"<T> void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, Location location, int count, double offsetX, double offsetY, double offsetZ, T data)","modifier":"<T> void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"spawnParticle(Particle particle, Location location, int count, T data)","modifier":"<T> void","deprecated":false,"description":"Spawns the particle (the number of times specified by count) at the target location."},{"method":"stopSound(String sound)","modifier":"void","deprecated":false,"description":"Stop the specified sound from playing."},{"method":"stopSound(String sound, SoundCategory category)","modifier":"void","deprecated":false,"description":"Stop the specified sound from playing."},{"method":"stopSound(Sound sound)","modifier":"void","deprecated":false,"description":"Stop the specified sound from playing."},{"method":"stopSound(Sound sound, SoundCategory category)","modifier":"void","deprecated":false,"description":"Stop the specified sound from playing."},{"method":"updateCommands()","modifier":"void","deprecated":false,"description":"Update the list of commands sent to the client."},{"method":"updateInventory()","modifier":"void","deprecated":true,"description":"Deprecated. This method should not be relied upon as it is a temporary work-around for a larger, more complicated issue."}]}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top