Jade ๐Ÿ”

Jade ๐Ÿ”

93M Downloads

Count in inventory preview is not correct for 1k+ items of a single type

MeeniMc opened this issue ยท 0 comments

commented

Mod loader

Fabric

Minecraft version

1.19.4

Mod version

10.2.0

Modloader version

fabric/0.14.19 api/0.81.0

Modpack info

No response

If bug:

  • Can you reproduce this issue with relevant mods only?

If bug: The latest.log file

No response

Issue description

Problem

When a chest contains more than 1001 items, it's 'inventory preview' shows a count of '10k+'. This is incorrect as there cannot be 10k+ items in a Vanilla chest.

Replication steps

  1. Place a chest
  2. Fill 999 items in the chest, Inventory preview will show the correct count "999x Stone"
  3. Add 1 item, the preview will show "1kx Stone"
  4. Add 1 item, the preview will show "10k+x Stone"

Notable behaviors

If the chest contains 2 or more item types, the count is completely correct!

  1. Fill a chest with same item to the brim shows "10k+x Stone"
  2. Remove one stack of stones, add another item, now shows "1.66kx Stone\n64x Dirt"