Started by
RuZZn
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to create a simple key store (that actually can only contain 1 key).
The block have three states, closed - opened with key - opened empty.
When player right clicks at the closed it replaces with opened with key, and opened with key state have a right click event to give player a key and replace opened with key to opened empty.
My problem is in right click event delay. When player clicks at closed key store it should open, and then player should click one more time to take the key, but instead, player gets the key immediately, and key store becomes opened empty when player clicks only one time at the closed key store.
Okay, i just needed to remove the right click event :D