mojira.dev
MC-124348

Using data get to get an element of a string array says the tag doesn't exist

The bug

When using /data get entity to get a specific element number of an array with strings, it says the tag does not exist.

How to reproduce

  1. Summon an entity with a tag:

    /summon minecraft:chicken ~ ~ ~ {Tags:["imAChicken"]}
  2. This command works and returns the whole list in chat:

    /data get entity @e[type=chicken,limit=1,tag=imAChicken] Tags
  3. This command says the tag doesn't exist:

    /data get entity @e[type=chicken,limit=1,tag=imAChicken] Tags[0]

Comments 0

No comments.

AlexMCool

Nathan Adams

Unconfirmed

Minecraft 18w03a

Minecraft 18w03b

Retrieved