Interface IForgePotion

All Known Implementing Classes:
Potion

public interface IForgePotion
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Determines whether the potion bottle item should be enchanted.
    private Potion
     
  • Method Details

    • self

      private Potion self()
    • isFoil

      default boolean isFoil(ItemStack stack)
      Determines whether the potion bottle item should be enchanted. Not called for tipped arrows or if the item is already enchanted.
      Parameters:
      stack - The potion bottle
      Returns:
      whether the item should appear enchanted.