Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by ChristianWP3579, May 27, 2018.
How would one get the rotation of a head that is placed on the floor and not on a wall?
Nevermind. I managed to get it by casting the block state to a skull rather than trying to look through the generic block data.
org.bukkit.block.Skull skull = (org.bukkit.block.Skull) block.getState();
BlockFace rotation = skull.getRotation();