let blah = this.getComponent(entity, "minecraft:inventory_container");
The above should return all inventory slots (27 inventory and 9 hotbar) but currently it only returns the 27 inventory
Attachments
Comments 2
Cleaning up old tickets: This ticket has not been updated recently (~1 year+) so is being closed as Cannot Reproduce. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines.
Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki
^ From the #scripting-api-feedback channel in the official minecraft discord server
I guess if this is working as intended then all that needs to change is for the documentation to be updated (as of this comment it is incorrect) but I hope another component is added like "minecraft:full_inventory_container" as it would be quite helpful to get all 36 slots in one call.