-
Bug
-
Resolution: Unresolved
-
None
-
1.21.22 Hotfix
-
None
-
Community Consensus
-
Multiple
-
1291549
Note: this behavior was described in MCPE-155479, but because that report also described other issues that were already reported it was resolved as a duplicate. This issue is causally unrelated to either MCPE-99462 or MCPE-55824.
Steps to reproduce
- Place a hopper at 2049 100 2049 or -2050 100 -2050.
- Place a column of several blocks of glass or stone on top of the hopper.
- Toss items against each side of the column.
Expected result
The hopper does not collect the items.
Observed result
The hopper collects the items.
Code analysis (from MCPE-155479)
Hopper::_getItemAt() defines a cube fetch range with a side length of 1, and inwards in all axes shrink by 0.0001. The float in C++ is only accurate to 6-7 digits in decimal, so when the value exceeds 2048, the shrinking by 0.0001 does not have any effect. (MCPE-99462 supersedes this bug at chunk borders, so it cannot be observed at X/Z +2048 or -2049.)