Improved SNBT lookups

This commit is contained in:
Auxilor
2022-06-14 12:42:49 +01:00
parent 3f8759b08a
commit 5ce70399f0
8 changed files with 149 additions and 7 deletions

View File

@@ -1,8 +1,10 @@
package com.willfp.eco.internal.spigot.proxy
import com.willfp.eco.core.items.TestableItem
import org.bukkit.inventory.ItemStack
interface SNBTConverterProxy {
fun toSNBT(itemStack: ItemStack): String
fun fromSNBT(snbt: String): ItemStack?
fun makeSNBTTestable(snbt: String): TestableItem
}