diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/entity/Boat.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/entity/Boat.java b/src/main/java/org/bukkit/entity/Boat.java index 36d6e969..db02115e 100644 --- a/src/main/java/org/bukkit/entity/Boat.java +++ b/src/main/java/org/bukkit/entity/Boat.java @@ -1,11 +1,27 @@ 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. * |