SafeNBT [1.8 - 1.19] — cross-version resource for NBT tags  — with commands! icon

SafeNBT [1.8 - 1.19] — cross-version resource for NBT tags — with commands! -----

A simple cross-version API for editing NBT tags, safe for many versions of Minecraft! +Commands



For Server Owners
Just download this plugin and plop it into your plugins folder, and you're done!

There is one command in the plugin: /safenbt, with the aliases /snbt and /nbt.

Players with the permission safenbt.get can get the NBT tags on the item in their hand by simply running the command /nbt, or /nbt get

For Developers
You can use the objects SafeNBT, SafeNBTList, and SafeNBTBaseType to interact with NBT tags. Check out the source code on GitHub at https://github.com/jojodmo/SafeNBT for more info about using the plugin!

Two important methods are

Code (Java):
// static method, gets the SafeNBT tag associated
// with an item
//
// Returns: SafeNBT
SafeNBT. get (ItemStack item )

// instance method, applies this SafeNBT to the
// item stack, and returns the new item stack
//
// Returns: ItemStack
SafeNBT. apply (ItemStack item )
Donations
Any and all donations are appreciated! They're a big help in bringing updates to SafeNBT and my other plugins!

[​IMG]

My Other Resources
[​IMG]
[​IMG]
Resource Information
Author:
----------
Total Downloads: 2,647
First Release: Jun 7, 2019
Last Update: Jun 15, 2022
Category: ---------------
All-Time Rating:
4 ratings
Find more info at github.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings