How create a banner block with a name using a command?

How create a banner block with a name using a command? - Crop faceless toddler sitting on bed with colorful wooden building blocks while mother sitting with legs crossed doing remote work with laptop on knees on background

I can name a banner item with a give command:

give @p minecraft:banner 1 1 {display:{Name:"BlueFlag"}}

But I can't add a name with a command like this:

/setblock -263 99 69 minecraft:standing_banner 0 0 <NBT Tag>

I've tried every possible NBT Tag I can think of/find. Does anyone know if naming banner blocks is impossible for some reason?



Best Answer

What you want to do is impossible. Placed banners are blocks (well, tile-entities), and blocks cannot have names that appear above them, only entities.

A workaround perhaps could be to summon an invisible ArmorStand or WitherSkull with the name you want, and have that on the banner so that it appears as if the banner has a name. Try this command:

/summon ArmorStand ~ ~ ~ {CustomName:"Banner",Invisible:1b,CustomNameVisible:1b}

The minecraft wiki has pages on NBT data, including that of tile entities. Rather than guessing, it's a good guide to check what tags an entity/tile-entity has.

Entities and Tile-Entities: http://minecraft.gamepedia.com/Chunk_format

Players and Items: http://minecraft.gamepedia.com/Player.dat_Format




Pictures about "How create a banner block with a name using a command?"

How create a banner block with a name using a command? - Crop young businesswoman using laptop while drinking tea at home
How create a banner block with a name using a command? - Top View Photo of Two Person's Hands Weaving
How create a banner block with a name using a command? - Crop unrecognizable female designer using tablet and stylus for drawing sketches on wooden table



How do you make a banner with commands?

How to get a Command Block
  • Enable cheats in your world or Realm settings.
  • Turn on Creative Mode in your world or Realm settings.
  • Open the chat box and enter \u201c/give [your username] command_block\u201d
  • Place the block where you want it.


  • How do you give a named item with commands?

    This is just a small fun little addition to the game, you can now wear banners by placing them in your head slot. It does not provide protection or any bonuses except looking different. This idea came from the Illager Captain wearing a banner. It would look just like that except with the banner of your choice.



    How to make EVERY letter in the alphabet | Banner design | Minecraft




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

    Images: Tatiana Syrikova, Vlada Karpovich, Karolina Grabowska, Michael Burrows