Started by
ProjectGemini12
on
Topic category: Help with Minecraft modding (Java Edition)
Is there any way of getting the coordinates (x,y,z values) of a placed block in a world? My goal is to make a block that when destroyed explodes, but to spawn an explosion onto the block, my code would need to know the position of where the block is located right? I apologize if this post makes no sense, I've just recently got into modding minecraft. Any help would be appreciated.
When a procedure is called by a block, the X, Y, Z components are the coordinates of that block.
For example, this procedure will be called at the block's coordinates