Guest User

Untitled

a guest
Jul 22nd, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. System.out.println("Bot has created new thread hooking into minecraft");
  2.  
  3. if(player == null){
  4. System.out.println("The Player is null - this is a problem");
  5. return;
  6. }else{
  7. System.out.println("Successfully hooked player!");
  8. }
  9.  
  10. System.out.println("Player Position X:" + player.posX + " Y:" + player.posY + " Z:" + player.posZ);
  11.  
  12. for(ItemStack stack : inventory){
  13. try{
  14. //System.out.println("Stack of " + stack.stackSize + " , [" + stack.itemID + "]");
  15. }catch(Exception ex){
  16.  
  17. }
  18. }
  19. if(world.blockExists((int)player.posX, (int)player.posY, (int)player.posZ-2)){
  20. System.out.println("Block at player position " + world.getBlockId((int)player.posX, (int)player.posY, (int)player.posZ-20));
  21. }
  22. while(true){
  23. try{
  24.  
  25. }catch(Exception ex){
  26. System.out.println(ex.toString());
  27. }
  28. }
Add Comment
Please, Sign In to add comment