13
0
geforkt von Mirrors/Paper

Add Boat#getWoodType and Boat#setWoodType(TreeSpecies)

By: Matthew <stteg@hotmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2016-03-16 19:07:14 -04:00
Ursprung 1051754e5e
Commit 408903f118

Datei anzeigen

@ -1,10 +1,26 @@
package org.bukkit.entity; package org.bukkit.entity;
import org.bukkit.TreeSpecies;
/** /**
* Represents a boat entity. * Represents a boat entity.
*/ */
public interface Boat extends Vehicle { public interface Boat extends Vehicle {
/**
* Gets the wood type of the boat.
*
* @return the wood type
*/
TreeSpecies getWoodType();
/**
* Sets the wood type of the boat.
*
* @param species the new wood type
*/
void setWoodType(TreeSpecies species);
/** /**
* Gets the maximum speed of a boat. The speed is unrelated to the * Gets the maximum speed of a boat. The speed is unrelated to the
* velocity. * velocity.