I have a BlockState object which I can get a Block object from. This object is an instance of the SpawnerBlock class (net.minecraft.block.SpawnerBlock). This is all client-side Forge.
How do I figure out which type of spawner the block is? Eg. Zombie, Skeleton, etc
An item ID will do fine too.
Thanks in advance