[SPIGOT-7083] org.bukkit.TreeSpecies missing tree types Created: 25/Jun/22 Updated: 25/Dec/24 Resolved: 05/Jul/22 |
|
| Status: | Resolved |
| Project: | Spigot |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Shane Bee | Assignee: | Doc |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Version: | n/a |
| Guidelines Read: | Yes |
| Description |
|
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/TreeSpecies.html Missing new Mangrove. And maybe warped/crimson? |
| Comments |
| Comment by Doc [ 05/Jul/22 ] |
|
Close this because for boats now exists https://hub.spigotmc.org/javadocs/spigot/org/bukkit/entity/Boat.Type.html related to the material type and for the TreeSpecies the https://hub.spigotmc.org/javadocs/spigot/org/bukkit/TreeType.html mentioned by md5. |
| Comment by md_5 [ 26/Jun/22 ] |
|
Further to the above, TreeType is the enum for growing trees etc and has these news types already. |
| Comment by Doc [ 26/Jun/22 ] |
|
Created a PR for make a new method for handle the boat type because the class TreeSpecies is only used by boats and the class use a deprecated system. https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/769/overview
|
| Comment by Black Hole [ 25/Jun/22 ] |
|
TreeSpecies is used for boats. Every other use is deprecated. So it should be expanded by mangrove but not by warped or crimson. |