Maven
<dependency>
<groupId>com.github.cryptomorin</groupId>
<artifactId>XSeries</artifactId>
<version>13.6.0</version>
</dependency>Gradle
repositories {
mavenCentral()
}
dependencies {
implementation("com.github.cryptomorin:XSeries:13.6.0")
}Important
Don't forget to set api-version: 1.13 in your plugins.yml.
Don't forget to shade the library.
Added support for 1.21.11
XBlock
- Fixed errors with
getType()andisSimilar()(which depended ongetType()) on slab blocks pre-1.13 (Fixes #381)
XParticle
- Added the experimental
getDataType()method similar to Spigot's API.
ParticleDisplay
- Added
withRawData()for easier access.
XItemStack
- the
serialize(),deserialize()andedit()methods are now deprecated. You should use the inner classes instead
which provide a much cleaner API. - Fixed backwards compatibility of base potion effect serialization and deserialization. (Fixes #379)
- Fixed serialization issues with
item-modeloptions. - Added MiniMessage support (Closes #382)