tr7zw/Item-NBT-API


Add custom NBT tags to Items/Tiles/Entities without NMS! https://www.spigotmc.org/resources/item-entity-tile-nbt-api.7939/

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.tr7zw:Item-NBT-API:2.12.0-RC1'
	}
	dependencies {
		implementation("com.github.tr7zw:Item-NBT-API:2.12.0-RC1")
	}
	<dependency>
	    <groupId>com.github.tr7zw</groupId>
	    <artifactId>Item-NBT-API</artifactId>
	    <version>2.12.0-RC1</version>
	</dependency>

                            
    libraryDependencies += "com.github.tr7zw" % "Item-NBT-API" % "2.12.0-RC1"
        
        

                            
    :dependencies [[com.github.tr7zw/Item-NBT-API "2.12.0-RC1"]]
        
        

Readme


Item-NBT-API

Add custom NBT tags to Items/Tiles/Entities without NMS! Modify NBT and store it in Files, other NBT, or as String in yaml/json/SQL/Redis. Server Owner/Developer Wiki

Build/Maven/Sonar Status

Build Status Discord Patreon

SpigotMC Status

VersionRatingRatingbStats ServersbStats PlayersAll Contributors

Getting started

Import the API using Maven or Gradle, then check out the basic usage or code examples like working with Skulls.

bStats

bStats Stats

Github Stargazers

<img src="https://starchart.cc/tr7zw/Item-NBT-API.svg" alt="stargazers" width="800"/>

Supported by YourKit


YourKit supports open source projects with innovative and intelligent tools for monitoring and profiling Java and .NET applications. YourKit is the creator of <a href="https://www.yourkit.com/java/profiler/">YourKit Java Profiler</a>, <a href="https://www.yourkit.com/.net/profiler/">YourKit .NET Profiler</a>, and <a href="https://www.yourkit.com/youmonitor/">YourKit YouMonitor</a>.