I'm trying to understand a Minecraft game that someone else has written. They've used the scoreboard feature to implement a few variables.
Say the author used /scoreboard objectives add objectiveA xp
.
When I type /scoreboard objectives list
, I get There are 1 objectives: [objectiveA]
.
But how can I query the system to find out that "objectiveA
has criteria xp
"?
This is in Minecraft 1.15.2, Java edition.
Best Answer
This used to be possible in Minecraft 1.12, where you would see the objective's type. You would get the following when typing
/scoreboard objectives list
.In 1.13+, you get the following result instead:
When I was using scoreboards, I found myself using
/scoreboard objectives list
very often. And you can hover over the objective's display names to reveal their ID. (Objective1
,Objective2
)I thought that it would display the objective type there as well, but it doesn't.
Unless there is some other, more clever way that I don't know of, what you have requested may not be possible. Still, consider waiting for the next answer in case that solution is thought of by our community's more clever members.
At least scoreboards of type
trigger
can be listed by using the autocomplete of/scoreboard players enable @s
.By using external tools like NBTExplorer, you can open the
data/scoreboard.dat
file of the world. It has adata/Objectives
tag that is a list of scoreboards with the type in theirCriteriaName
tag. You can also seeRenderType
there.