Advertisement
Guest User

Item

a guest
Jul 7th, 2014
364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.27 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement