Started by
maxitime
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod that when you right click an item, it removes a large area of blocks, the problem is that it only works in a specific direction (south) i want to check if the player is facing north, east, west or south so that it removes the area of blocks based on the direction the player is facing
I have been having a similar problem, but with a wand that shoots shulker orbs. I have been searching for a solution for hours, but I have found nothing. I have tried using the xyz offset direction blocks, but they do not work well and make things go in the opposite direction. This means that there is a way to detect the players direction, but it somehow needs to be reversed. I'll add more if I find anything else.
Put everything inside of a for each direction as direct integer do block.
can you send me a screenshot? i'm still confused