Skip to content

Releases: saicone/rtag

Rtag 1.5.14

12 Dec 13:14
048540d

Choose a tag to compare

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 ItemMaterialTag class 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

08 Oct 16:43
1cfee73

Choose a tag to compare

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

26 Aug 21:28
f106fe1

Choose a tag to compare

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

20 Jun 14:49
efed39c

Choose a tag to compare

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.
  • ProblemReporter utility class to get a problem reporter on +1.20.3 servers.
  • IOValue utility class to get a value input/output object on +1.21.6 servers.
  • SkullTexture updated version, now compatible with multiple APIs, asynchronous methods and player profile fetching.

Changes

  • ItemStack codec usage on ItemObject methods 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

26 Mar 20:44
d065fe3

Choose a tag to compare

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() and ChatComponent#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 clone method not being correctly declared on versions between 1.13 and 1.17.1.

Rtag 1.5.9

04 Dec 17:52
dd25506

Choose a tag to compare

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

23 Oct 23:36
86a756c

Choose a tag to compare

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.debug system 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

18 Sep 00:16
ceea67e

Choose a tag to compare

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

03 Sep 17:42
18a0e41

Choose a tag to compare

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.
  • ItemData class 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.0 update.
  • Now ItemTagStream uses ItemData to detect item version from compound.
  • RtagItem now doesn't clone or create any tag unless you're trying to edit it.
  • RtagItem now allows to clear item tag.

Bug Fixes

  • Recursive reflection on EasyLookup doesn't detect some legacy fork patches.
  • Component mirror doesn't change enchantment sweeping into sweeping_edge (and vicerverse).

Deprecations

  • ItemObject#getComponentPath() and ItemObject#getTagPath(), use ItemData methods instead.

Rtag 1.5.5

08 Jul 18:08
2971994

Choose a tag to compare

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.