Class PotionTooltip

java.lang.Object
ke.ric.api.item.PotionTooltip

public final class PotionTooltip extends Object
Native potion tooltip presentation, independent of the potion's actual consume effects.
  • Method Details

    • hideEmptyEffectTooltip

      public static void hideEmptyEffectTooltip(org.bukkit.inventory.ItemStack item)
      Remove vanilla's empty "No Effects" row from an owned custom potion.
    • hideEffectTooltip

      public static void hideEffectTooltip(org.bukkit.inventory.ItemStack item)
      Hide potion rows only; preserve custom lore, effects, and other tooltip settings.