Started by
Diamentus
on
Topic category: Help with Minecraft modding (Java Edition)
So, i want to create a block to my mod which emits a redstone signal when front of it is right-clicked and I can't find a way to detect what face of a block the player is facing (if the player is clicking the front of the block or somewhere else on it)
I saw the ways to detect if the block is facing the specific directions (Up/Down/North/South/East/West) but not if the player is right-clicking the front of it.
Do
if [clicked side]=[get direction of [block]]