The command execute store result score player scores run locatebiome minecraft:plains will set score of player to 0 if the biome is not "within a reasonable distance". But that is indecipherable from running the same command, and being 0 blocks away from a plains biome, since if Minecraft finds that biome "within a reasonable distance", it will set the score to the distance that biome is away.
So if instead, the command set the score to -1 if it can't find the biome "within a reasonable distance", than you could decipher between a player being 0 blocks away from a biome, and a player being too far away from a biome, for it to be "within a reasonable distance".
Please sign in to leave a comment.
1 Comments