mojira.dev
MCPE-161752

No way to get the armor, mainhand or offhand inventory

Steps to Reproduce:

  1. create addon featuring GameTest code

  2. Retrieve an entity

  3. Find a component that allows access to the armor inventory ("minecraft:armor"?), mainhand ("minecraft:mainhand"?) or offhand ("minecraft:offhand"?)

Observed Results:
No such components exist.

Expected Results:
The components exist and are accessible like an actual inventory, much like "minecraft:inventory". 

Comments 2

Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response

Could you please attach an example add-on to this ticket?

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Tom Adriaenssen

(Unassigned)

Unconfirmed

Multiple

Any (in this case: Windows)

1.19.21 Hotfix

Retrieved