Releases: OneLiteFeatherNET/Guira
0.6.0
v0.5.0
Changelog
Version 0.5.0
introduces support for Minecraft 1.21.8
.
The internal mycelium-bom
version has been updated accordingly to reflect this change.
This release includes several additions, removals, and breaking changes.
Let’s start with the additions and improvements that do not require any migration effort:
✨ Additions & Improvements
- Introduced two functional interfaces to simplify functional usage (#21)
📦 Dependency Updates
v0.4.0
v0.3.0
Changelog
Version 0.3.0
adds support for Minecraft 1.21.5
. The internal mycelium-bom
version has also been updated to reflect this change.
This release introduces several additions, removals, and breaking changes. Below are the improvements that do not require any migration efforts:
Improvements
The SetupDataService
now includes two new methods to assist with setup:
isEmpty
: Allows you to check whether the service currently contains any data.clear
: Removes all references from the internal map, effectively cleaning up the service. If you need additional cleanup logic, you can extend this method in your implementation.
⚠️ Breaking Changes: SetupData
Generics have been removed from the SetupData
class to simplify the codebase. Additionally, the sealed
keyword has been removed, so you can now directly extend the base definition to implement your own custom context. This change increases flexibility, as not every implementation needs to rely on BaseMap
.
A typical implementation of a custom class now looks like this:
public final class YourData implements SetupData {
private final UUID uuid;
public YourData(@NotNull UUID uuid) {
this.uuid = uuid;
}
@Override
public boolean equals(Object o) {
if (!(o instanceof YourData that)) return false;
return Objects.equals(uuid, that.uuid);
}
@Override
public int hashCode() {
return Objects.hashCode(uuid);
}
@Override
public void save() {
// Logic
}
@Override
public void reset() {
// Logic
}
@Override
public void loadData() {
// Logic
}
@Override
public @NotNull UUID getId() {
return this.uuid;
}
}
v0.2.0
Release Notes
This release restructures the project's dependencies to rely on our internal BOM projects, streamlining the dependency update process.
Additionally, the project now explicitly depends on Minestom
instead of Microtus
.
v0.1.0
Changelog
This is the first release of the Guira library. You can now access it via our internal Reposilite server.
The library enables you to store various kinds of data for the setup process of a minigame or other projects on a Minestom server.
To get started, implement your own class that inherits from BaseSetupData
and create a new instance of SetupDataService
, which manages the objects at runtime.
For more details, refer to the example section in the README file.