Started by
IntellegibileC…
on
Thu, 02/11/2021 - 18:36
Topic category: Advanced modding
Hi everyone, i'm trying to create a mod that when you click with a particular item on a block a variable get the position of the block, after you can click another block and another variable take the position of the second block. And all the blocks beetween the two blocks take a particular tag NBT.
It is possible to do this with procedure blocks? Or i have to use directly Custom element write with Forge API?
Thanks for the answer and i'm sorry for my bad english
On block right-clicked provides you click location. You can store this value in variables (eg. player variable) to then compare it with click on another block.