TailsLib icon

TailsLib -----

Make your custom things without mods just with your plugin!



Release 1.8-beta
## 1.8-beta
I think this version is might be a stable one.
So finally TailsLib is now in beta! This version is contain many breaking changes.
I'll try to make way less breaking changes for API compability.
This version is introducing very big breaking changes, so be aware alpha versions is not compabitable with this version.
### Compability
This version is not compabitable with any version below 1.8-beta.
### Testing
**1.19**:
* No problems reported.
**1.20**:
* No problems reported.
**1.21**:
* No problems reported.
## Breaking changes
* `CustomBlock` interface now expect `PlacedBlockData` for all events. [No compability]
* `CustomItem#getItemData` renamed to `CustomItem#itemData`. [No compability]
* Renamed item property class `ICustomItemProperty` -> `CustomItemProperty`.
* `CustomItemData#asUniqueMaterial` renamed to `CustomItemData#notUniqueMaterial`. Unqiue material flag is enabled by default so we need something to disable it. [No compability]
* `CustomItem#getItemData` renamed to `CustomItem#itemData`. [No compability]
* Almost all methods in managers is now static.
* Renamed `CustomEffect#secondPassed` to `CustomEffect#process`.
## Changes
* `CustomBlock` interface now expect `PlacedBlockData` for all events.
* `CustomItemData#withUUID` is no longer a switch. Now its just enables UUID flag.
* `CustomEffectManager#getRegisteredEffects` now returns copy of set.
* `CustomEffectManager#getAppliedEffects` now returns copy of list.
* `Cooldown` now expect ticks, not seconds.
* `Cooldown#getCooldowns` now contain `Map<T, BukkitRunnable>` instead of `Map<T, BukkitTask>`.
## Fixed
* Added constructor for item data via `List<String>` (Yeah, i forgot to actually add this).
* Javadoc for `PermissionVariables` in `@return`.
* Unique material flag is now working normally.
* `CustomBlock#loadData` is now working.
## Added
* Added javadoc for `CustomBlockManager`.
* Added method `validationFailed` for `CustomBlock`. Called when manager can't validate block on position.
* Added `onItemCreation` event for `CustomItem`.
* Added `empty` and `of` static methods to `RayTraceEntitySettings` for quick creation.
* Added TailsLib Listener class (`LibListener`) for listening TailsLib events.
* Added few events for `CustomItem`.
* Added `CooldownTask`. Simple implementation of `BukkitRunnable`.
* Added `addCooldownTask` methods for `Cooldown` class.
* Added `processTick` method for `CustomEffect` as experiment. No event for LibListener provided.
* Added listeners `LibListeners` as experiment.
----------, Feb 2, 2025
Resource Information
Author:
----------
Total Downloads: 89
First Release: Dec 15, 2024
Last Update: Feb 2, 2025
Category: ---------------
All-Time Rating:
0 ratings
Find more info at thisistails.gitbook.io...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings