mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Add Boat#getWoodType and Boat#setWoodType(TreeSpecies)
By: Matthew <stteg@hotmail.com>
This commit is contained in:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user