Switched to 1.17 mojang mappings and began FastItemStack

This commit is contained in:
Auxilor
2021-08-01 22:09:18 +01:00
parent c6e59e1d62
commit ed5f1ccb5e
11 changed files with 194 additions and 51 deletions

View File

@@ -5,7 +5,6 @@ import org.bukkit.enchantments.Enchantment;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.NotNull;
import java.util.List;
import java.util.Map;
/**
@@ -31,18 +30,11 @@ public interface FastItemStack {
boolean checkStored);
/**
* Get the lore of the item.
* Get bukkit ItemStack again.
*
* @return The lore.
* @return The ItemStack.
*/
List<String> getLore();
/**
* Set the lore of the item.
*
* @param lore The lore.
*/
void setLore(@NotNull List<String> lore);
ItemStack unwrap();
/**
* Wrap an ItemStack to create a FastItemStack.