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.