All previous deprecated methods removed (OH GOD EVERYTHING BROKEN)

By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
Bukkit/Spigot 2011-03-14 15:05:46 +00:00
parent e377a96a02
commit 7e9974d53c
5 changed files with 1 additions and 57 deletions

View File

@ -55,14 +55,6 @@ public abstract class Command {
return description;
}
/**
* @deprecated Use {@link #getDescription()}
*/
@Deprecated
public String getTooltip() {
return getDescription();
}
/**
* Gets an example usage of this command
*
@ -94,15 +86,6 @@ public abstract class Command {
return this;
}
/**
* @deprecated Use {@link #setDescription(description)}
*/
@Deprecated
public Command setTooltip(String tooltip) {
this.description = tooltip;
return this;
}
/**
* Sets the example usage of this command
*

View File

@ -18,15 +18,6 @@ public interface CommandSender {
*/
public boolean isOp();
/**
* Checks if this sender is a player
*
* @return true if they are
* @deprecated Use instanceof
*/
@Deprecated
public boolean isPlayer();
/**
* Returns the server instance that this command is running on
*

View File

@ -26,7 +26,7 @@ public class PluginCommandYamlParser {
Object aliases = entry.getValue().get("aliases");
if (description != null)
newCmd.setTooltip(description.toString());
newCmd.setDescription(description.toString());
if (usage != null) {
newCmd.setUsage(usage.toString());

View File

@ -17,24 +17,6 @@ public interface Entity {
*/
public Location getLocation();
/**
* Gets this entity's current momentum
*
* @return Current travelling momentum of this entity
* @deprecated See {@link #getVelocity()}
*/
@Deprecated
public Vector getMomentum();
/**
* Sets this entity's momentum
*
* @param vector New momentum to travel with
* @deprecated See {@link #setVelocity(org.bukkit.util.Vector)}
*/
@Deprecated
public void setMomentum(Vector vector);
/**
* Sets this entity's velocity
*

View File

@ -31,18 +31,6 @@ public class BlockRightClickEvent extends BlockEvent {
return player;
}
/**
* Get the block that this block was placed against
*
* @return Block the block that the new block was placed against
* @deprecated use getBlock
*/
@Deprecated
public Block getBlockAgainst() {
return clickedBlock;
}
/**
* @return BlockFace the direction this block was clicked
*/