How can I get a player head that can only be placed on a specific block? [duplicate]

How can I get a player head that can only be placed on a specific block? [duplicate] - Little Boy Carrying Can

So I Have a adventure map and I want to know how to get a head that can only be placed on a certain block. I know how to make blocks that can only be placed on certain blocks, but I want a head that can be placed on a certain block and I want the head to be a TNT head, like so:

/give Angel_Scarz minecraft:skull 1 3 {SkullOwner:"MHF_Tnt"}

How can I make it so that this head can only be placed on a certain block?



Best Answer

try this:

/give <player> minecraft:skull 1 3 {SkullOwner:"MHF_Tnt",CanPlaceOn:["minecraft:<block_id>","minecraft:<block_id2>]}

replacing the values inside the <> with what you want




Pictures about "How can I get a player head that can only be placed on a specific block? [duplicate]"

How can I get a player head that can only be placed on a specific block? [duplicate] - People Getting Paintbrushes from the Can
How can I get a player head that can only be placed on a specific block? [duplicate] - Sad black businessman with alcohol drink on street
How can I get a player head that can only be placed on a specific block? [duplicate] - Person Holding Can With Blue and White Knit Sweater



How do you make it so an item can only be placed on a certain block?

How to Get Someone Else's Head in Minecraft
  • Step 1: Command Block. first type in this command /give <your username> minecraft:command_block. ...
  • Step 2: Command. Now in the command block interface type the command: /give @p minecraft:skull 1 3 {SkullOwner:<username>} ...
  • Step 3: Power. ...
  • Step 4: Enjoy!


  • How do you get a custom head in Minecraft with command blocks?

    The command to give the player a head with the skin of another player is /give @s minecraft:player_head{SkullOwner:"<PlayerName>"} . Commonly, this kind of head is called a custom head.



    How To Get People's Heads In Minecraft




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Dazzle Jam, cottonbro, Nicola Barts, Anna Shvets