mojira.dev
MCPE-68624

The component "minecraft:interact" does not work when added to custom entities

I am creating addons, and the documentation for entity components lists the "Minecraft:interact" component as a modable Json component and lists no restrictions in its use. However, when I apply the component to my entity it does nothing. There are no items I can use to interact, and no events that will trigger from my code. 

 

I would really appreciate that if you guys know how this component is limited, that you fully document it, or document it in a way that makes it easier for developers to use it. It is a pretty critical type of component for building addons and it makes no sense why it wouldn't be easy to use in any situation.

 

you can recreate the issue by creating a custom entity, and adding some type of "Minecraft:interact" logic, and see that it does nothing in game.

Comments 2

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

Is this still an issue in the latest version?

If it is, please be sure to include steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

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

Cecil McIntosh

(Unassigned)

Unconfirmed

Windows

Windows

1.14.30 Hotfix

Retrieved