Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ItemStack onItemRightClick(ItemStack stack, World world, EntityPlayer player) {
- player.addPotionEffect(...);
- player.addPotionEffect(...);
- player.addPotionEffect(...);
- player.setCurrentItemOrArmor(0, null);
- return super.onItemRightClick(stack, world, player);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement