Closed bensku closed 5 years ago
Also, gotta document block state support.
Work in progress... Docs done. Lookup table very incomplete.
On the bright side, the lookup table should be something that only needs to be written once without needing maintenance as any other new blocks added at any point obviously won't exist in the old versions and won't need support for block state lookups.
I started a repo for data values <-> block states here. Right now it's only data value -> block state and it's very incomplete, but I'll get there.
Was never implemented, and will not be needed because aliases circumvented this issue.
Basically, look at https://minecraft.gamepedia.com/Block_states and write a lookup table. Spigot 1.13 has nice API for turning block state string to block data object.