oneofthem999

AuraPotionItemFood

Jun 11th, 2016
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. public class AuraPotionItemFood extends ItemFood
  2. {
  3. public AuraPotionItemFood()
  4. {
  5. super(1, 1.0F, false);
  6. this.setPotionEffect((new PotionEffect(Main.auraPotion, 30 * 20, 1)), 1.0F);
  7. this.setAlwaysEdible();
  8. this.setUnlocalizedName("auraPotion");
  9. this.setCreativeTab(CreativeTabs.BREWING);
  10. }
  11. }
Add Comment
Please, Sign In to add comment