Skip to content

v13.1.0

Choose a tag to compare

@CryptoMorin CryptoMorin released this 15 Mar 13:20
· 70 commits to master since this release

Maven

<dependency>
    <groupId>com.github.cryptomorin</groupId>
    <artifactId>XSeries</artifactId>
    <version>13.1.0</version>
</dependency>

Gradle

repositories {
    mavenCentral()
}
dependencies {
    implementation("com.github.cryptomorin:XSeries:13.1.0")
}

Important

Don't forget to shade the library.


Maven Aggregate Project

This project has been converted into an aggregator Maven project with
submodules. This change was necessary to implement the new API classes
mentioned below.

XInventoryView & XArt

Introducing XInventoryView.of(InventoryView) & XArt.of(Art) which allows you to use Bukkit's InventoryView
and Art
classes respectively in a cross-version compatible way. Bukkit changed their API from abstract/enum classes to
interfaces for these classes. Although this might not appear to cause any issues at first, plugins compiled for
non-interface vs interface have a different underlying bytecode which can cause runtime errors depending on which
version the plugin was compiled against. These two classes add a minimal zero-overhead wrapper that handles this issue.

XItemStack

  • Fixed ItemFlags for v1.20.6+
  • addItems() now uses item-specific stack size checking instead of inventory-based stack size by default.

XBlock

  • Fixed setColor() for 1.13+

XSkull

  • Attempted a fix for hybrid server softwares like Arclight Forge.