@ -1,7 +1,6 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
import java.net.InetSocketAddress;
|
||||
import org.bukkit.Achievement;
|
||||
import org.bukkit.DyeColor;
|
||||
import org.bukkit.Effect;
|
||||
import org.bukkit.GameMode;
|
||||
@ -452,39 +451,6 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
@Deprecated
|
||||
public void updateInventory();
|
||||
|
||||
/**
|
||||
* Awards the given achievement and any parent achievements that the
|
||||
* player does not have.
|
||||
*
|
||||
* @param achievement Achievement to award
|
||||
* @throws IllegalArgumentException if achievement is null
|
||||
* @deprecated future versions of Minecraft do not have achievements
|
||||
*/
|
||||
@Deprecated
|
||||
public void awardAchievement(@NotNull Achievement achievement);
|
||||
|
||||
/**
|
||||
* Removes the given achievement and any children achievements that the
|
||||
* player has.
|
||||
*
|
||||
* @param achievement Achievement to remove
|
||||
* @throws IllegalArgumentException if achievement is null
|
||||
* @deprecated future versions of Minecraft do not have achievements
|
||||
*/
|
||||
@Deprecated
|
||||
public void removeAchievement(@NotNull Achievement achievement);
|
||||
|
||||
/**
|
||||
* Gets whether this player has the given achievement.
|
||||
*
|
||||
* @param achievement the achievement to check
|
||||
* @return whether the player has the achievement
|
||||
* @throws IllegalArgumentException if achievement is null
|
||||
* @deprecated future versions of Minecraft do not have achievements
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean hasAchievement(@NotNull Achievement achievement);
|
||||
|
||||
/**
|
||||
* Increments the given statistic for this player.
|
||||
* <p>
|
||||
|
||||
Reference in New Issue
Block a user