Started by
rojo
on
Topic category: Help with Minecraft modding (Java Edition)
Hi, I need help. I am new to modding and it has been really difficult to find a way throw what I am trying to do. I am making a mod of swords, but one of my swords called Tessaiga has one ability. The ability basically is that when you right click, I want all the blocks in front of the players to get removed. Like a line of blocks in front of where the player is looking to get removed/ replaced by air. I really don't know how to do it and I will appreciate yall help. Thanks for reading me and I will really appreciate if yall help me. Bye
Not sure if this was what you mean,
Hi @friyes, thanks for your help and you definetly helped me achieve a lot. But I was wondering if you also knew how to modify your procedure, so that it removes a specific amount of blocks. When I tested your procedure and right clicked, a block was being placed anywhere I looked ( air or ground) but it was only one block. Do you know a way to make it be like, 3 blocks tall 5 wide? Thanks for your enourmeous help