Skip to content

v12.1.0

Latest
Compare
Choose a tag to compare
@CryptoMorin CryptoMorin released this 15 Dec 19:30
· 9 commits to master since this release

Maven

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

Gradle

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

Important

Don't forget to shade the library.


1.21.4 Support

Important

XSeries will no longer follow independent class principle due to a lot of changes caused by previous versions.
This version implements the abstraction concept from #239 as an experiment. This change was forced because
Minecraft now uses registries for most enum-like.

  • Added v1.21.4 support thanks to @kangarko
  • Implemented the @XMerge annotation system.
  • Added license header for all classes.
  • Added XItemFlag.
  • Added XPatternType.
  • Fixed XMaterial.BLACK_DYE for v1.8
  • Fixed an error caused by XSound in older versions (issue with pulling system values)
  • Fixed an issue with XPotion name matching system.
  • MethodMemberHandles are now more lenient when it comes to public methods that are in superclasses of the target class.
  • Added XTag.getTag(String name)
  • XTag general class cleanup (Uses TagBuilder, we should also inline most tags)
  • Deprecated a lot of methods. Although they wont be removed any time soon, you should update as soon as possible.
  • Fixed XItemStack to use XPatternType.
  • XPotion now covers more value ranges.
  • Significantly improved unit tests.
  • Fixed a few broken sound entries for v1.12
  • Improved XEnchantment's Enchantment->XEnchantment mapping for older versions.
  • XAttribute: Fixed some missing values. Also fixed the entire class for some older versions (specifically ~v1.15-1.19)
  • XParticle: Fixed some missing/mismatched values.