Rtag | API to edit block, entity, item NBT [1.8.8 - 1.21.4] icon

Rtag | API to edit block, entity, item NBT [1.8.8 - 1.21.4] -----

The "readable tag" library, an easy way to handle NBTTagCompounds and data components



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.
  • 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.
----------, Sep 3, 2024
Resource Information
Author:
----------
Total Downloads: 3,560
First Release: Mar 14, 2022
Last Update: Dec 4, 2024
Category: ---------------
All-Time Rating:
6 ratings
Find more info at docs.saicone.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings