Advertisement
Guest User

Untitled

a guest
Aug 19th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. @SubscribeEvent
  2. public void onKeyInput(InputEvent.KeyInputEvent event) {
  3. EntityPlayer player = Minecraft.getMinecraft().thePlayer;
  4.  
  5. if(openMenu.isPressed()) {
  6. player.openGui(Skyrimcraft.INSTANCE, 2, Minecraft.getMinecraft().theWorld, (int)player.posX, (int)player.posY, (int)player.posZ);
  7. }
  8.  
  9. if(spell1.isPressed()) {
  10. FusRoDah.cast(player);
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement