This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Bukkit decided that having raw Ids and data values for constants (and even names!) was a bad idea, so they are removing that. As of right now BKCommonLib redirects all these method calls to calls inside the library, so they can easily be re-implemented manually when that is needed.
This is a continuous task reminding to find alternatives to Block/Item/Material Ids and Data. MaterialData is possibly the best alternative for raw data, but it does not support everything such as Items (they have durability). There should also be a proper way of storing Material-Id-mapped data in a hashmap, as that is a frequent use of the ID system.
Please mind that, with the 'make your own material' goal in the minds of MC developers, Material WILL stop being an enumeration. EnumMap and switch statements WILL stop functioning.
To post a comment, please login or register a new account.