Skip to content

Releases: CryptoMorin/XSeries

v8.6.0

06 Jan 11:08

Choose a tag to compare

Maven

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

[NEW] XTag
A class similar to Spigots XTag, but with more features and directly works with XSeries.
Note that this is a huge class. It's recommended that you exclude this from your project if you don't want to use it.

MaterialUtils

  • Removed in favor of XTag.

ReflectionUtils

  • Fixed an issue with 1.17
  • Attempted to fix a few issues with Bukkit-Forge servers.

XMaterial

  • Fixed an issue with Regex cache.

XSound

  • Added a method to stop a particular sound from XSound.Record

NMSExtras

  • Added support for 1.18 and fixed a small issue for 1.17

XPotion
If you're using this utility, you should consider recoding all those parts.
Most methods are renamed to a shorter and concise version.
Added a wrapper for PotionEffect for chances.
matchXPotion(PotionEffectType) is now extremely more efficient.

v8.5.0

03 Dec 13:27
949beeb

Choose a tag to compare

Maven

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

Added support for 1.18 altho there weren't many changes.
Started working on unit tests. It's kinda a mess right now.

XMaterial

  • Fixed a few version detection issues.

ParticleDisplay

  • Removed some unnecessary code.
  • The whole class is based on Builder Pattern now.

XItemStack

  • Fixed a few issues related to spawn eggs.
  • Fixed proper cross version material name serialization.
  • Fixed issues with items that don't have meta.

ReflectionUtils

  • Added a simple if branching method v(version, item)...orElse(item) as a cleaner expression-oriented alternative to if statements.

v8.4.0

27 Aug 07:50
dfb4ece

Choose a tag to compare

Maven

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

XMaterial

  • Added 1.16+ getId() support.
  • Removed the material version as it wasn't really that useful.
  • Removed glazed terracotta data values because they were unused.
  • Fixed potted flower materials for pre-1.13
  • Fixed spruce and dark oak leaves material for pre-1.13

XBlock

  • setBlock() now supports all the legacy materials.

XSound

  • The parse() method is no longer async and strict about the location.

Titles

  • Now uses Player#setPlayerListHeaderFooter() for sendTabList()

XParticle

  • Ellipse method is fully customizable now.
  • Fixed line() method.
  • Updated according to the new ParticleDisplay system

ParticleDisplay

  • Moved all the rotation methods from XParticle to ParticleDisplay
  • Added rotation order support
  • Rotation degrees now support decimals.
  • Added more methods to make particles facing a certain yaw/pitch direction easier.
  • Added a shorthand for offset()
  • Added a built-in onSpawn event as a simple consumer. This helps when you need the final calculated location of each particle.

8.3.0

29 Jul 03:39
40e80c5

Choose a tag to compare

All the cached VALUES lists for enums are now turned back to standard arrays as I don't see the benefit of having them as lists.

Maven

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

XMaterial

  • Deprecated XMaterial.isNewVersion() This method will be removed soon. Please switch to XMaterial.supports() instead.

Titles

  • Fixed tab packets for 1.17
  • Tab list now supports multiple players.
  • Tab list no longer colorizes messages and it doesn't replace the %player% short placeholder.

XPotion

  • Removed SATURATION and SLOW_FALLING from DEBUFFs

XItemStack

  • Added support for AxolotlBucketMeta
  • Fixed a NPE issue when the item was a map.
  • Fixed slot filters.

XBlock

  • Added setType(Block, XMaterial) that supports placing blocks correctly in a cross-compatible way for common blocks.

ParticleDisplay

  • Added a shorthand for specifying offsets.