From b6e6f1634a5516459f1cf4e6e4ba66eff307f590 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 16 Mar 2016 19:07:14 -0400 Subject: Add Boat#getWoodType and Boat#setWoodType(TreeSpecies) --- src/main/java/org/bukkit/entity/Boat.java | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src/main/java/org') 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,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. -- cgit v1.2.3