13
0
geforkt von Mirrors/Paper
Paper/paper-api/src/main/java/org/bukkit/Minecart.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();
}