Skull skullData = (Skull) data;
if (canRotate(skullData)) { // Can be rotated
skull.setRotation(player.getFacing().getOppositeFace());
}
skull.update();
}
@Override
public Collection<ItemStack> getDrops(GlowBlock block, ItemStack tool) {
GlowSkull skull = (GlowSkull) block.getState();