diff options
author | Matthew <stteg@hotmail.com> | 2016-03-16 19:07:14 -0400 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-18 14:28:15 +1100 |
commit | b6e6f1634a5516459f1cf4e6e4ba66eff307f590 (patch) | |
tree | b1733fb99ae15e9e4525e53db3046e18724d6538 /src | |
parent | 6e846a5517443fddf08133186e439f4c121b2386 (diff) | |
download | bukkit-b6e6f1634a5516459f1cf4e6e4ba66eff307f590.tar bukkit-b6e6f1634a5516459f1cf4e6e4ba66eff307f590.tar.gz bukkit-b6e6f1634a5516459f1cf4e6e4ba66eff307f590.tar.lz bukkit-b6e6f1634a5516459f1cf4e6e4ba66eff307f590.tar.xz bukkit-b6e6f1634a5516459f1cf4e6e4ba66eff307f590.zip |
Add Boat#getWoodType and Boat#setWoodType(TreeSpecies)
Diffstat (limited to 'src')
-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. * |