Topic category: Help with Minecraft modding (Java Edition)
So I am wanting to make a block that I am going to call a Phantom Block. I want you to be able to walk through it and when you place it down it will look like the block it is next to. This is the part that I am having trouble with. I tried to make it so that when you right click the phantom block with a normal block, like a grass block for example, it will turn into a grass block. The procedure I had originally didn't work because it was " too large for try statement " :
This is the procedure that I used. Its very long and it is the same thing for every block all the way down:
I am using 1.19.2 and MCreator 2023.1
I understand that someone had a similar post to me but that didnt help at all.
I also put the procedure under "block on right click"
Can i get the procedure pls