Posted June 14, 201312 yr Can i somehow get block coordinates on right clock on it? http://i.imgur.com/ZAoTYCc.png[/img]
June 14, 201312 yr public boolean onBlockActivated(World par1World, int x, int y, int z, EntityPlayer par5EntityPlayer, int par6, float par7, float par8, float par9) { System.out.println("My block is at " + x + "," + y + "," + z); return false; } Every single function that passes a World or IBlockAccess will follow that up with three integer params (Entities use doubles). These three params are ALWAYS the x,y,z location of the block (or entity) that that function is being called for. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 14, 201312 yr Author AH lol how could i dont see that?! Thanks http://i.imgur.com/ZAoTYCc.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.