geforkt von Mirrors/Paper
Add Boat#getWoodType and Boat#setWoodType(TreeSpecies)
By: Matthew <stteg@hotmail.com>
Dieser Commit ist enthalten in:
Ursprung
1051754e5e
Commit
408903f118
@ -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.
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren