Posted October 30, 201312 yr Is there a way to mine a block at a specific (x,y,z)? assuming of course that the Player is near the Block.
October 30, 201312 yr Hi PlayerControllerMP.clickBlock does this see also PlayerControllerMP.onPlayerDestroyBlock PlayerControllerMP.onPlayerDamageBlock They use the x,y,z position to specify the block being mined, which I think is what you're asking? -TGG -TGG
October 30, 201312 yr Author If i use that my my mod will only break blocks like flowers or grass. I'm not mining any blocks.
October 30, 201312 yr Instant kill: Block#removeBlockByPlayer(World world, EntityPlayer player, int x, int y, int z) A mining operation: World#destroyBlockInWorldPartially(int...)
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.