Commits
md_5 authored cc40de87027
3 3 | import java.util.List; |
4 4 | import org.bukkit.DyeColor; |
5 5 | import org.bukkit.block.banner.Pattern; |
6 6 | |
7 7 | public interface BannerMeta extends ItemMeta { |
8 8 | |
9 9 | /** |
10 10 | * Returns the base color for this banner |
11 11 | * |
12 12 | * @return the base color |
13 + | * @deprecated banner color is now stored as the data value, not meta. |
13 14 | */ |
15 + | |
14 16 | DyeColor getBaseColor(); |
15 17 | |
16 18 | /** |
17 19 | * Sets the base color for this banner |
18 20 | * |
19 21 | * @param color the base color |
22 + | * @deprecated banner color is now stored as the data value, not meta. |
20 23 | */ |
24 + | |
21 25 | void setBaseColor(DyeColor color); |
22 26 | |
23 27 | /** |
24 28 | * Returns a list of patterns on this banner |
25 29 | * |
26 30 | * @return the patterns |
27 31 | */ |
28 32 | List<Pattern> getPatterns(); |
29 33 | |
30 34 | /** |