Sueta

Rtag

1.5.18

The "readable tag" Bukkit library, an easy way to handle block, entity, item NBT and data components

·Plugin
  1. 1.5.18latest3 weeks ago
    Make sure to read [Rtag 1.6.0 announce](https://github.com/saicone/rtag/issues/10)
    Additions
    * feat: initial update to 26.3
    Changes
    * refactor: update data component patch to 26.3 format
    Bug Fixes
    * fix: new paper craft stack methods * fix: removed object inconsistency with items
    13 downloads
  2. 1.5.17Jul 19, 2026
    Make sure to read [Rtag 1.6.0 announce](https://github.com/saicone/rtag/issues/10)
    Additions
    * feat: initial update to 26.2 * feat: initial item data fix, closes [#8](https://github.com/saicone/rtag/issues/8)
    Changes
    * perf: cached player head constructor by version * refactor: public remapper * build: upload snapshot artifact
    Bug Fixes
    * fix(item): book labeled content not being detected * fix: pretty print output invalid snbt
    122 downloads
  3. 1.5.16Apr 19, 2026
    Additions
    * Version matching with non-precise declaration, for example 26.1.x. * Accurate version lookup.
    Changes
    * Now the javadoc is deployed using Java 25. * Now the project is published on maven central under the group com.saicone (for now, JitPack support still).
    Bug Fixes
    * Version name not being formatted correctly. * Usage of older version of snakeyaml. Full Changelog: https://github.com/saicone/rtag/compare/1.5.15...1.5.16
    190 downloads
  4. 1.5.15Mar 27, 2026
    Additions
    * Support for Minecraft 26.1.x
    Changes
    * The reflection system got a complete recode to only write mojang-mapped names and providing a backstage remapping for old versions. * Now the docs use mojang-mapped names only.
    Deprecations
    * EasyLookup now is scheduled to removal on 2.x.
    51 downloads
  5. 1.5.14Rtag 1.5.14Dec 12, 2025
    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 get 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).
    182 downloads
  6. 1.5.13Rtag 1.5.13Oct 8, 2025
    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.
    156 downloads
  7. 1.5.12Rtag 1.5.12Aug 26, 2025
    Additions
    * Minecraft 1.21.7 item materials. * SkullTexture#getProfile() to get a view of the GameProfile object inside ItemStack. * [#13](https://github.com/saicone/rtag/issues/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.
    91 downloads
  8. 1.5.11Rtag 1.5.11Jun 20, 2025
    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](https://github.com/saicone/rtag/issues/12): fix rare exception with item serialization. * Block entity load method not mapped correctly on 1.19 servers.
    126 downloads
  9. 1.5.10Rtag 1.5.10Mar 26, 2025
    Additions
    * Support for Minecraft 1.21.5. * Support for plain text on ChatComponent#fromJson(). * Automatic update from [old raw text format](https://minecraft.wiki/w/Text_component_format/Before_1.2… 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.
    135 downloads
  10. 1.5.9Rtag 1.5.9Dec 4, 2024
    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. If your server is on +1.21.4 download the file rtag-1.5.10-SNAPSHOT
    171 downloads
  11. 1.5.8Rtag 1.5.8Oct 23, 2024
    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.
    88 downloads
  12. 1.5.7Rtag 1.5.7Sep 18, 2024
    Additions
    * Added ComponentType#all() to get a view of all component types.
    Bug Fixes
    * [#9](https://github.com/saicone/rtag/issues/9) (rtag-item): fix SkullTexture usage on 1.21.1 servers.
    69 downloads
  13. 1.5.6Rtag 1.5.6Sep 3, 2024
    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.
    79 downloads
  14. 1.5.5Rtag 1.5.5Jul 8, 2024
    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.
    149 downloads
  15. 1.5.4Rtag 1.5.4Jun 13, 2024
    Additions
    * Support for Minecraft 1.21.
    Bug Fixes
    * Fix skull texture usage on servers with newer versions of authlib.
    97 downloads
  16. 1.5.3Rtag 1.5.3Apr 30, 2024
    Additions:
    * More precise ServerInstance#DATA_VERSION for newer server versions.
    Bug Fixes
    * [#7](https://github.com/saicone/rtag/issues/7) (rtag-item): fix ItemObject#getCustomDataTag() on 1.20.6 servers. * Fix enchantment tag initialization.
    90 downloads
  17. 1.5.2Rtag 1.5.2Apr 30, 2024
    Additions
    * Support for Minecraft 1.20.6 (same has 1.20.5). * Item count conversion. * Profile component transformation. * Profile/SkullOwner sub-paths conversion.
    Changes
    * Now component conversion doesn't replace components object.
    Bug Fixes
    * Fix component paths not being downgraded. * Fix enchantment level upgrade to component format. * Fix potion convertion. * Fix item effects conversion. * Fix firework component transformation.
    96 downloads
  18. 1.5.1Rtag 1.5.1Apr 28, 2024
    Additions
    * Experimental enchantments on EnchantmentTag from Minecraft 1.21.
    Changes
    * Now EnchantmentTag use enchantment registry to get bukkit enchantments on newer Minecraft versions.
    Bug Fixes
    * Several reflected methods on +1.20.5 Mojang mapped servers.
    87 downloads
  19. 1.5.0Rtag 1.5.0Apr 24, 2024
    Minecraft 1.20.5 change ItemStack format, in order to keep Rtag in continuous development, the next updates will have multiple experimental features It's not suggested to use any experimental change/addition unless you are shading the library in your project
    Additions
    * Support for Minecraft 1.20.5. * Multiple removal notices in deprecated methods. * ItemObject#hasCustomData() to check if item has custom data (or tag for <1.20.5). * ItemObject#apply() to apply data updates into item (or load compound for <1.20.5). * ItemObject#copy() to copy the provided item. * ItemObject#getCustomDataTag() and ItemObject#setCustomDataTag() to get tag from custom data component inside item. * ItemObject#getComponentPath() to convert any old tag path into new component path. * ItemObject#getTagPath() to convert any new component path into any old tag path. * ItemTagStream#ofVersion() to create an ItemTagStream instance with a provided version range. * IContainerMirror instance to convert any item inside container on it's item form. * TagCompound#newUncheckedTag() and TagList#newUncheckedTag() to create a new tag without check provided object. * (experimental) Rtag#UNIT constant to get a Minecraft unit object. * (experimental) Rtag#getMinecraftRegistry method to get a custom registry provided by Bukkit. * (experimental) RtagItem#getComponents() method to get component map from MC item (only for +1.20.5). * (experimental) IComponentMirror instance to convert item tags into components and viceversa to mantain cross-version support on ItemTagStream. * (experimental) DataComponent utility class to manage any data Holder, Map and Patch instances. * (experimental) ComponentType utility class to get, parse, encode and handle any data component type and object. * (experimental) Multiple methods to get/edit/set data components using RtagItem instance.
    Changes
    * ServerInstance utility class has been fully recoded. * TagCompound.DATA usage will be moved to TStream.COMPOUND. * Any #edit() method from RtagEditor instances has been moved into RtagEditor directly. * Any Enchantment usage from RtagItem on +1.20.5 servers will be redirected to Bukkit API (since items now cannot hold invalid enchantments). * RtagItem#fixSerialization() will make no change on +1.20.5 since items now use different serialization. * ItemMirror instance now use item components has main conversion concept (on versions before 1.20.5 the components object will be item tag). * ItemTagStream now make a fully usage of instance version to handle tags and also use item components on newer versions. * EasyLookup#field() is now a public method.
    Deprecations
    * Any HideFlag usage from RtagItem since items cannot have flags on +1.20.5. * ItemObject#load() since items now cannot implement direct updates from compound (and also is really messy to mantain on newer versions). * ItemObject#getTag() and ItemObject#setTag() since items now use custom data component. * IShulkerMirror instance since IComponentMirror now is used to convert containers.
    88 downloads
  20. 1.4.4Rtag 1.4.4Dec 11, 2023
    Additions
    * Support for Minecraft 1.20.3 and 1.20.4. * Backwards list index using negative numbers, for example -1 to get the lastest value.
    Bug Fixes
    * Fix skull meta profile setter.
    107 downloads
  21. 1.4.1Rtag 1.4.1Sep 23, 2023
    Additions:
    * Support for Minecraft 1.20.2. * Support for mojang mapped servers. * Explicit number conversion for OptionalType.
    Bug Fixes
    * Fix failed value conversion not being deleted from OptionalType#asCollection()
    Changes
    * Item mirror instances now use floats for version comparision (better acurracy for material conversion between MC minor releases).
    109 downloads
  22. 1.3.2Rtag 1.3.2Aug 14, 2023
    Additions:
    * Support for Minecraft 1.20 and 1.20.1
    147 downloads

Similar projects

Plugin →