I'm trying to create an item that can break certain blocks, but also has a colored name in 1.13.2

Here's the command I'm using.

/give iAugust minecraft:shears{display:{Name:"[{\"text\":\"Arcane Shears\",\"color\":\"aqua\",\"italic\":false,\"bold\":false}]CanDestroy:[minecraft:iron_bars]"}}

But it only has a colored name, and it can't break specific blocks.

  • 2
    Possible duplicate of How to combine NBT tags in two different commands? – pppery May 19 at 3:50
  • 1
    @pppery That duplicate target is a few months newer than this question. We do not normally close newer questions as duplicates of older ones, and this certainly wouldn't warrant an exception. If you believe these questions are duplicates, then please cast your votes on the newer question. If you believe it's a candidate for a merge, then please flag it for moderator attention. – Wipqozn May 20 at 12:15
  • 1
    @Wipqozn I strongly disagree. We've previously established in meta (granted, it's very old) that age doesn't trump quality. The other question is both more general (and thus easier to find), and also has a much higher quality answer. – Schism May 21 at 4:14
  • 4
    @Schism Except the other question has a score of -3. Closing a question of a +3 question as a duplicate of a -3 question just doesn't make any sense. If we're concerned with preserving quality answers, then a merge into the higher quality question (this one) would make more sense. – Wipqozn May 21 at 14:35
  • @Wipqozn To be completely frank, I don't actually think the question score is relevant in this case. All the downvotes on the other question were given prior to any of the edits. This is subjective, but IMHO the final state of the other question is strictly superior to this one; it's just that the voting doesn't reflect that. Anyway, I wouldn't have any objection to merging the posts. – Schism May 25 at 3:03

Assuming the map is in adventure mode, all you need to do is put the minecraft:iron_bars in quotation marks (" ") and it should work.

| improve this answer | |

Go to MCStacker for the mining of a certain type of block but just do /give @p diamond_sword{display:{Name'{"text":"UltraBlade", "color":"light_blue"} for the colors.

| improve this answer | |

Here's a useful tip when writing coloured writing in Minecraft, use "§" followed by a number.

For example: §1 §2 §3 §4 §5 §6 §7 §8 §9 §0

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.