Skip to content

Instantly share code, notes, and snippets.

import net.minecraft.server.v1_9_R1.NBTTagCompound;
import org.bukkit.Material;
import org.bukkit.craftbukkit.v1_9_R1.inventory.CraftItemStack;
import org.bukkit.inventory.ItemStack;
/**
* This class is made for Spigot 1.9 and Bukkit 1.9 builds.
* This class lets you get the potion type from a potion item stack.