-
Bug
-
Resolution: Unresolved
-
None
-
1.19.60.25 Preview, 1.19.50.20 Preview, 1.18.31, 1.19.0, 1.19.30.20 Preview, 1.19.11 Hotfix, 1.19.20, 1.19.31 Hotfix, 1.19.51, 1.20.15 Hotfix, 1.20.40.21 Preview, 1.20.50.24 Preview
-
None
-
Confirmed
-
Windows
-
787549
The bug
When setting the position in the /loot command, the resulting location is always in the lowermost corner of the block; i.e. the coordinates get floored down. This has some useful applications, but it ruins the intended use case of /loot (spawning loot at a specific location).
Steps to reproduce:
- Summon loot through /loot, and set the coordinates to the center of a block. The "entities/panda_sneeze" loot table always drops one slime ball. Here's an example that would spawn loot at the center of (0, -60, 0).
/loot spawn 0.5 -60.0 0.5 loot "entities/panda_sneeze"
→ The slime ball spawns in the lowest corner, rather than in the center.