#Is there a way to dump the list of values for a given tag to console/chat for debugging purposes?

1 messages · Page 1 of 1 (latest)

rotund pebble
#

Basically title. The /tag command seems to be totally unrelated. I just want to be able to verify that the changes I'm making to what values a tag has are working without having to manually verify whether each thing has the tag. I'm specifically working with biome tags on 1.21.1 if that matters.

autumn dust
#

There is no such command in vanilla.

Why do you even have to verify that things are in the tag?

Tags are usually very straightforward, even when merging/combining them.

#

What you can do instead if the above is not good enough is use a loot_table (can be inlined)

#
{
  "pools": [
    {
      "rolls": 1,
      "entries": [
        {
          "type": "minecraft:tag",
          "name": "minecraft:banners"
        }
      ]
    }
  ]
}```
#

Above would drop all different colors of banner

rotund pebble
#

I'm on neoforge if that has one

#

as for why, just to have the data I need in a much more useful format

#

I'm working on compat stuff for a private server

#

it's specifically biome tags that are the most frustrating to try to compare and sync up, so I don't think the loot_table helps

#

I was hoping for a generalizable solution that wouldn't depend on the specific modloader I was using or on what type of thing the tag values are

#

but if that doesn't exist I'll figure something else out

#

thanks tho