接口 IForgePotion

所有已知实现类:
Potion

public interface IForgePotion
  • 方法概要

    修饰符和类型
    方法
    说明
    default boolean
    Determines whether the potion bottle item should be enchanted.
    private Potion
     
  • 方法详细资料

    • 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.
      参数:
      stack - The potion bottle
      返回:
      whether the item should appear enchanted.