So I want to rotate a skull, but when I use {Rot:12b}, it ignores it and just goes to the default rotation. I tried using block data on it and going to the successful command window and copy it into another command block, but that doesn't work either. And I specified a wither skull using the data value of 1, but it just uses a skeleton texture instead.
Command: /setblock -107 67 227 minecraft:skull 1 {ExtraType:"",id:"Skull",A:1,SkullType:1b,Rot:12b,z:227,y:67,x:-107,}
So I want to rotate a skull, but when I use {Rot:12b}, it ignores it and just goes to the default rotation. I tried using block data on it and going to the successful command window and copy it into another command block, but that doesn't work either. And I specified a wither skull using the data value of 1, but it just uses a skeleton texture instead.
Command: /setblock -107 67 227 minecraft:skull 1 {ExtraType:"",id:"Skull",A:1,SkullType:1b,Rot:12b,z:227,y:67,x:-107,}
Several things: you do not need to specify the "ExtraType" tag if you're not setting a player skull, there is no tag called "A", and you cannot specify the x/y/z coordinates and "id" tag in the root dataTags. You do not need to label the tag-types for the "SkullType" and "Rot" tags. Your /setblock command is using incorrect syntax, putting the dataTags in place of the replacement method, thus there are no actual dataTags to apply.
The correct syntax:
/setblock X Y Z <Block ID> [Damage] [Replacement Method] {dataTags}
Command: /setblock -107 67 227 minecraft:skull 1 {ExtraType:"",id:"Skull",A:1,SkullType:1b,Rot:12b,z:227,y:67,x:-107,}
Several things: you do not need to specify the "ExtraType" tag if you're not setting a player skull, there is no tag called "A", and you cannot specify the x/y/z coordinates and "id" tag in the root dataTags. You do not need to label the tag-types for the "SkullType" and "Rot" tags. Your /setblock command is using incorrect syntax, putting the dataTags in place of the replacement method, thus there are no actual dataTags to apply.
The correct syntax:
Your fixed command:
You can find a collection of NBT data for tile entities here: http://minecraft.gamepedia.com/Chunk_format#Tile_Entity_Format
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/