Started by
camro3892
on
Topic category: Help with Minecraft modding (Java Edition)
i've been working on this mod and i need this to complete it
it will basically working by detecting coords of a certain block and if u put that in an if procedure then i can be able to do many many things with it
this was supposed to be suggestion with the software but i didnt realise what the section said
Edited by camro3892 on Sat, 04/01/2023 - 17:12
Slight problem i can see with this - what happens if theres 4 blocks with the same ids? or 10? or a million?
go to the block triggers and go to update tick, there you can do whatever you want with the block. If you want it's coords make 3 global number variables and make the block set one of them to the block's x, the other to the blocks y, and the third to the blocks z. Then you can use the variables in another procedure where you want the blocks coords