I'm working on a multi-version Spigot plugin and am trying to implement an NMS-based method to find the number of layers of a block of snow. In 1.13 the Spigot API Block.getBlockData() method was added, which can be casted to Snow, which has the convenient getLayers() function. Prior to this, however, there is no such method. I'm no NMS wizard, but my approach has been deobfuscating the relevant NMS classes: [BlockSnow, Block, BlockData, etc. All I've found is the static LAYERS variable in the BlockSnow class, and I'm unsure of how to use it. I'm currently getting the NMS block using Code (Text): CraftMagicNumbers.getBlock(spigotBlock) but looking at the deobfuscated NMS code, it seems like this just returns a general block of the same type, rather than an NMS block representing that specific Spigot block. Any ideas? Or, is there a resource someone could point me toward that explains this?