Releases: saicone/rtag
Releases · saicone/rtag
Rtag 1.5.14
Make sure to read Rtag 1.6.0 announce
Additions
- Support for Minecraft 1.21.11.
- Utility class to detect and compare the exact version that server is running.
Changes
- The version handling got a complete recode in order to use a better comparision across versions (and also prepare the code for the new Minecraft version format).
- (experimental) Now
ItemMaterialTagclass use a companion class to provide data about item material entry.
Deprecations
- Every part of the code that use numbers to compare server version is now marked as deprecated and scheduled for removal (for now, no version is specified).
Full Changelog: 1.5.13...1.5.14
Rtag 1.5.13
Make sure to read Rtag 1.6.0 announce
Additions
- Support for Minecraft 1.21.9 and 1.21.10.
- Dynamic head profile support on SkullTexture.
Changes
- (experimental) Now ItemStack and Component codecs are public fields.
Rtag 1.5.12
Make sure to read Rtag 1.6.0 announce
Additions
- Minecraft 1.21.7 item materials.
SkullTexture#getProfile()to get a view of the GameProfile object inside ItemStack.- #13 (rtag-entity): include all save methods on EntityObject.
EntityObject#getEncodeId()to get entity ID.- Variant component detection on ItemData utility class.
Changes
- Now
EntityObject#save()includes entity ID.
Bug Fixes
- SkullTexture deprecated methods not giving the correct return value.
Rtag 1.5.11
Make sure to read Rtag 1.6.0 announce
Additions
- Support for Minecraft 1.21.6, 1.21.7 and 1.21.8.
- Extensive data component detectors for item version lookup on newer Minecraft servers.
ProblemReporterutility class to get a problem reporter on +1.20.3 servers.IOValueutility class to get a value input/output object on +1.21.6 servers.SkullTextureupdated version, now compatible with multiple APIs, asynchronous methods and player profile fetching.
Changes
- ItemStack codec usage on
ItemObjectmethods if the server is on 1.20.5 or higher.
Bug Fixes
- #12 (rtag-item): fix rare exception with item serialization.
- Block entity load method not mapped correctly on 1.19 servers.
Rtag 1.5.10
Make sure to read Rtag 1.6.0 announce
Additions
- Support for Minecraft 1.21.5.
- Support for plain text on
ChatComponent#fromJson(). - Automatic update from old raw text format on
ChatComponent#fromJson(). ChatComponent#fromTag()to create a text component using a NBT object (Compatible with pre 1.21.5 versions).ChatComponent#toTag()andChatComponent#toTagOrNull()to create a NBT object using text component (Compatible with pre 1.21.5 versions).- Heterogenous tag list compatibility.
ItemObject#isEmpty()to check if Minecraft ItemStack is empty or not.
Changes
- Text component codec usage on
ChatComponent#toJson()if the server is on 1.20.5 or higher.
Bug Fixes
- Tag compound
clonemethod not being correctly declared on versions between 1.13 and 1.17.1.
Rtag 1.5.9
Additions
- Support for Minecraft 1.21.4.
- Debug message for class id override on EasyLookup.
Changes
- Now global registry is used when block entity doesn't exist on a world.
- Now RtagItem model data methods are marked as Deprecated (NOT scheduled for removal).
Bug Fixes
- Fix null objects data component wrapped optional getter.
- Fix incorrect copy method usage on non-mapped +1.20.5 servers.
Note
If your server is on +1.21.4 download the file rtag-1.5.10-SNAPSHOT
Rtag 1.5.8
Additions
- Support for Minecraft 1.21.2 and 1.21.3.
- Component support on material mirror.
- Attribute mirror to change item attributes names across versions.
saicone.easylookup.debugsystem property to print debug information about EasyLookup usage.- Support to legacy damageable items on material mirror.
Changes
- Now ItemData version detector read stored enchantments and inner items recursively.
Bug Fixes
- Fix some components not being upgraded by malformatted tags.
- Fix compatibility with servers that change NBT field types.
- Typo on book contents component.
- RtagEntity attributes not being edited correctly.
Rtag 1.5.7
Additions
- Added
ComponentType#all()to get a view of all component types.
Bug Fixes
- #9 (rtag-item): fix SkullTexture usage on 1.21.1 servers.
Rtag 1.5.6
Additions
- Blazingly fast item edits!, now any RtagItem usage is practically invisible for server performance.
ItemObject#newCraftItem()to create CraftItemStack using ItemStack.ItemObject#loadHandle()to explicitly load handle into ItemStack using a CraftItemStack mirror.ItemObject#getCraftStack()to get delegated CraftItemStack from ItemStack object (Only for Paper +1.21).ItemObject#getUncheckedHandle()to get handle from CraftItemStack unsafely.ItemObject#asCraftMirror()to convert ItemStack to it's CraftItemStack form.ItemDataclass dedicated to item data handling.ItemData#getItemVersion()to get the nearest minecraft version from item by reading item data.RtagItem#getLiteralTag()to get current item tag or null.RtagItem#loadInto()to load changes into provided minecraft ItemStack.- Proper conversion for new component changes.
Changes
- Now item changes are applied directly to items.
- Avoid rtag plugin code remap on newer paper servers.
- Now
ItemObject#setHandle()replaces CraftItemStack handle directly or create a bukkit copy of provided handle to apply changes into item. - Most of deprecated methods are marked to deletion on
1.6.0update. - Now
ItemTagStreamusesItemDatato detect item version from compound. RtagItemnow doesn't clone or create any tag unless you're trying to edit it.RtagItemnow allows to clear item tag.
Bug Fixes
- Recursive reflection on
EasyLookupdoesn't detect some legacy fork patches. - Component mirror doesn't change enchantment
sweepingintosweeping_edge(and vicerverse).
Deprecations
ItemObject#getComponentPath()andItemObject#getTagPath(), useItemDatamethods instead.
Rtag 1.5.5
Additions
- Support for Minecraft 1.21.1.
OptionalType#asEnum()to get the current value as enum type.- Compatibility with Map values on IterableType.
- More precise error messages when trying to create an invalid component type.
Bug Fixes
- Fix component type not being parsed or encoded.
- Fix IterableType iteration hover arrays and single objects.