Topic category: Help with modding (Java Edition)
I'm trying to make a mod about the moon. When the player right-clicks on a bed in my custom Moon dimension, an overlay temporarily appears for three seconds saying "Time doesn't seem to pass normally here...". However, I can't figure out how to make the overlay show when the block is right-clicked. Also, I want it to work for all colors of beds.
Please provide screenshots? I get confused easily by a wall of text, lol.