Guest User

Item

a guest
Jul 7th, 2014
260
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
  2.     player.addPotionEffect(...);
  3.     player.addPotionEffect(...);
  4.     player.addPotionEffect(...);
  5.     player.setCurrentItemOrArmor(0, null);
  6.     return super.onItemRightClick(stack, world, player);
  7. }
RAW Paste Data