Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1. Class clazz = PacketPlayOutPlayerInfo.class;
  2. Field action = clazz.getDeclaredField("action");
  3. action.setAccessible(true);
  4. Field name = clazz.getDeclaredField("username");
  5. name.setAccessible(true);
  6. Field ping = clazz.getDeclaredField("ping");
  7. ping.setAccessible(true);
  8. Field gm = clazz.getDeclaredField("gamemode");
  9. gm.setAccessible(true);
  10. Field profile = clazz.getDeclaredField("player");
  11. profile.setAccessible(true);
  12. int survival = GameMode.SURVIVAL.getValue();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement