Solved Skull Head Rotation

Discussion in 'Spigot Plugin Development' started by ChristianWP3579, May 27, 2018.

  1. How would one get the rotation of a head that is placed on the floor and not on a wall?
  2. Nevermind. I managed to get it by casting the block state to a skull rather than trying to look through the generic block data.

    Solution Example:
    Code (Java):
    org.bukkit.block.Skull skull = (org.bukkit.block.Skull) block.getState();
    BlockFace rotation = skull.getRotation();