Update Bukkit for Minecraft 1.6.1

By: Wesley Wolfe <weswolf@aol.com>
This commit is contained in:
Bukkit/Spigot
2013-07-01 05:50:24 -05:00
parent 4a573b3312
commit 153cde6043
13 changed files with 225 additions and 27 deletions

View File

@@ -7,19 +7,35 @@ import org.bukkit.util.Vector;
*/
public interface Minecart extends Vehicle {
/**
* This method exists for legacy reasons to provide backwards compatibility.
* It will not exist at runtime and should not be used under any
* circumstances.
*/
@Deprecated
public void _INVALID_setDamage(int damage);
/**
* Sets a minecart's damage.
*
* @param damage over 40 to "kill" a minecart
*/
public void setDamage(int damage);
public void setDamage(double damage);
/**
* This method exists for legacy reasons to provide backwards compatibility.
* It will not exist at runtime and should not be used under any
* circumstances.
*/
@Deprecated
public int _INVALID_getDamage();
/**
* Gets a minecart's damage.
*
* @return The damage
*/
public int getDamage();
public double getDamage();
/**
* Gets the maximum speed of a minecart. The speed is unrelated to the velocity.