mojira.dev
MC-249453

/locatebiome can teleport players into blocks

The bug

Using /locatebiome can teleport you inside of blocks when locating cave biomes. This is likely a valid issue unlike MC-143512 due to the introduction of set Y coordinates in the results of these commands in 22w12a for cave biomes.

How to reproduce

Seed: -8536124287322511917

Run the following command and teleport to the position it returns:

/locatebiome minecraft:deep_dark

The position it returns is not always consistent, so it might take a few tries before it happens.

Attachments

Comments 5

Isn't that kind of out of scope of the command? You're asking for the nearest biome, not the nearest air block with a biome.

Isn't this just MC-143512 (but for locatebiome instead of locate)?

Yes but in the newest snapshot the y coordinate was added to the command results, and that ticket was resolved as invalid because the y coordinate was based on the player's position instead of being a part of the command.

I suspect that this might end up resolved as "Won't Fix", but I can confirm that this behavior occurs.

Yes but in the newest snapshot the y coordinate was added to the command results

Thanks for the clarification - I didn't realise that that had been changed.

Chandler

(Unassigned)

Confirmed

(Unassigned)

22w12a

Retrieved