BananaPuncher714 / NBTEditor

A single class NBT editor for items, skulls, mobs, and tile entities
MIT License
136 stars 30 forks source link

It doesn't work for 1.18.2 #20

Closed Iseason2000 closed 2 years ago

Iseason2000 commented 2 years ago

Server: Purpur 1.18.2 - 1576

NBTEditor Version: 7.18.0

Example code

val nbtCompound = NBTEditor.getNBTCompound(item)
nbtCompound.set(item, cost, "tag", "RepairCost")
return NBTEditor.getItemFromTag(nbtCompound)

Result:

image


Example code

NBTEditor.contains(item, "RepairCost")

Result:

return false for every ItemStack


Example Code

NBTEditor.set(item, 6, "RepairCost")

Result: it doesn't work

BananaPuncher714 commented 2 years ago

Thanks, I'll take a look when I get the chance.

Aurelien30000 commented 2 years ago

Please, bump version for maven dependency or force the build on codemc, thanks.