mojira.dev
MCPE-232716

/loot insert and /loot replace block suggest fractional coordinates

The bug

Commands targeting blocks are supposed to suggest integer block coordinates. This works correctly for /setblock, /execute if block (since MCPE-156285 was fixed), /replaceitem block, etc. However it does not work correctly for /loot insert and /loot replace block. Fractional coordinates are suggested instead.

How to reproduce

  1. Look at a block

  2. Type /loot insert and a space

  3. Press tab twice

Expected results

You should get a whole number

Observed results

You get a number with a decimal point

Attachments

Comments 4

hello there. I'm not a mod tho. I have also seen this glitch this is kinda a point of the game because some storage systems can be in a one or 2 block area. and when you insert it the area you can in a chest or container is less then a block so you have to use .44

Hi!
Thank you for your report!
After consideration, the issue is being closed as Invalid.

You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit https://feedback.minecraft.net

Quick Links:Β 
πŸ““β€―Issue Guidelines – πŸ’¬β€―Mojang Support – πŸ“§β€―Suggestions – πŸ“–β€―Minecraft Wiki

Java has this same command and correctly suggests fractional coordinates for /loot spawn and integer ones for /loot insert:

image-20251204-223007.png

image-20251204-223054.png

I should also point out that due to MCPE-156080, fractional coords don’t even work in /loot spawn in Bedrock.

tryashtar

(Unassigned)

Confirmed

Windows

26.0.23/24 Preview

Retrieved