Started by
Dallahin
on
Topic category: Help with Minecraft modding (Java Edition)
I want to create a chest entity. When a player clicks with their right hand holding a key, a specific item drops from the chest. The item drop itself works, but the problem is that the key in the right hand does not see the chest and does not open it. How can I solve this issue?
The problem may be one of the following:
If this is the second case, you need to replace the blocks associated with the player from "Event/Target Entity" to "Source Entity", it is located in the "Minecraft Components" tab.
They told me: External trigger you selected does not provide all the dependencies your procedure requires
Could you explain in detail what trigger you're using and which parts of the procedure aren't working? Could you send a screenshot, if possible?
There's a problem in the Event/Trigger Entity. Right now, the trigger only accepts the player variable and substitutes it into the Event/Target Entity, so this doesn't work, since the chest is already a different Entity that is not provided for by the trigger. In your case, you can do one of two things:
I recommend using the first option as it is easier.
Thank you! (sorry for my English)