mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 01:06:01 +01:00
Add Boat#getWoodType and Boat#setWoodType(TreeSpecies)
By: Matthew <stteg@hotmail.com>
This commit is contained in:
parent
1051754e5e
commit
408903f118
1 changed files with 16 additions and 0 deletions
|
@ -1,10 +1,26 @@
|
|||
package org.bukkit.entity;
|
||||
|
||||
import org.bukkit.TreeSpecies;
|
||||
|
||||
/**
|
||||
* Represents a boat entity.
|
||||
*/
|
||||
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
|
||||
* velocity.
|
||||
|
|
Loading…
Add table
Reference in a new issue