-----
#### !! Beta Update !!
This is a beta update! It is highly advised to **not use it in production or on public servers!**
It is mostly untested and still very much in development, so **breaking changes may occur**.
Additionally, it **may cause game breaking issues** (disappearing items, item duplication, config corruption).
There are only a few recommended scenarios where you may use it:
* Your server is private, and you do not mind game breaking issues (like loosing items, item duplication, config corruption)
* You want to try the latest version on a test server, help test it and report issue before release.
Either way, you should **make a backup of your server/data before installing this beta**.
-----
This update introduces the new `StackReference` and `StackIdentifier` classes, that provide a lot of features to reference external Items (from like Oraxen, MMOItems, etc.) and replace the old very limited `APIReference`.
### `CustomItem` ⇾ `StackReference`
From this update onward `CustomItems` are no longer used to reference external Items, instead that is the task of the `StackReference`.
The only purpose of the `CustomItem` is to represent the well... `CustomItem` created via WolfyUtils. They do use a `StackReference` to wrap external stacks, but are no longer used as a plain reference.
### `APIReference` ⇾ `StackIdentifier`
`APIReferences` are now replaced by `StackIdentifiers`, and no longer keep track of the `amount` and `weight`, because those properties are now part of the `StackReference`.
`StackIdentifiers` only contain the info required to identify the external item stack, like an ID or name.
<br>
So in return, plugins requiring references to external stacks no longer have to use CustomItems everywhere and no longer need to accept the overhead that comes with it. Instead, it only requires the StackReference, which contains a lot less data, and has a lot less overhead.
## Changelog
* [#66](https://github.com/WolfyScript/WolfyUtils-Spigot/pull/66) - New StackReference System to replace old APIReferences
**Full Changelog**: [`v4.16.14.1...v4.16.15-beta.1`](https://github.com/WolfyScript/WolfyUtils-Spigot/compare/v4.16.14.1...v4.16.15-beta.1)
Developer information
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle.
maven { name = "Modrinth"; url = "https://api.modrinth.com/maven" }