maruohon / malilib

Library mod for masa's client-side Minecraft mods
GNU Lesser General Public License v3.0
297 stars 131 forks source link

getInventoryItemCounts doesn’t support bundles #148

Open johndrinkwater opened 8 months ago

johndrinkwater commented 8 months ago

Litematica cannot find items inside bundles, with the material list registering them as missing when they are in the player inventory.

Bundles are useful if you have a decorative build with lots of low stack count blocks (villager POI, pots, lighting, chains etc)

I know it’s an experimental feature, but it’s shipped with Minecraft, and some SMP enable it.

sakura-ryoko commented 6 months ago

Hey masa, by the way I added this feature in my PR, it basically works the same as the shulker box code, except it scans the bundle contents component, for 1.20.6+ of course.