mojira.dev
MCPE-190195

The API documentation states that each entity has an equipment component, but this is not the case.

In the current version (1.21.50), the API documentation states that every entity has equipment components. However, when using getComponents(), the equipment component can only be retrieved from players and not from entities like zombies or skeleton archers.

Additionally, while we can use the /replaceitem command in Minecraft Bedrock Edition (MCBE) to equip entities with items, the API does not allow us to retrieve the equipment component from these entities. This is a significant issue, as it prevents us from using the API to enchant the given equipment or modify its name. As a result, we are forced to rely on the /replaceitem command to achieve these modifications instead of using API methods as expected.

Linked issues

Comments 0

No comments.

ytconch

(Unassigned)

Unconfirmed

Windows

windows 11

1.21.51 Hotfix

Retrieved