geforkt von Mirrors/Paper
339e57513a
By: sk89q <the.sk89q@gmail.com>
23 Zeilen
408 B
Java
23 Zeilen
408 B
Java
package org.bukkit;
|
|
|
|
/**
|
|
* Represents a minecart entity.
|
|
*
|
|
* @author sk89q
|
|
*/
|
|
public interface Minecart extends Vehicle {
|
|
/**
|
|
* Sets a minecart's damage.
|
|
*
|
|
* @param damage over 40 to "kill" a minecart
|
|
*/
|
|
public void setDamage(int damage);
|
|
|
|
/**
|
|
* Gets a minecart's damage.
|
|
*
|
|
* @param damage
|
|
*/
|
|
public int getDamage();
|
|
}
|