Class IngredientPreview
java.lang.Object
ke.ric.api.item.IngredientPreview
Cosmetic ingredient icons. Identity, provenance, food and consume effects are never copied.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.inventory.ItemStackcopy(org.bukkit.inventory.ItemStack source) static org.bukkit.inventory.ItemStackcopy(org.bukkit.inventory.ItemStack source, Function<org.bukkit.Material, org.bukkit.inventory.ItemStack> emptyItem) The factory must supply a fresh, empty stack for the requested material.
-
Method Details
-
copy
public static org.bukkit.inventory.ItemStack copy(org.bukkit.inventory.ItemStack source) -
copy
public static org.bukkit.inventory.ItemStack copy(org.bukkit.inventory.ItemStack source, Function<org.bukkit.Material, org.bukkit.inventory.ItemStack> emptyItem) The factory must supply a fresh, empty stack for the requested material.
-