mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Add Boat#getWoodType and Boat#setWoodType(TreeSpecies)
This commit is contained in:
parent
6e846a5517
commit
b6e6f1634a
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