
Rtag
The "readable tag" Bukkit library, an easy way to handle block, entity, item NBT and data components
1.7K
8
Список изменений
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.6.jar(253.63 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.5.6
Загрузчики
BukkitFoliaPaperPurpurSpigot
Версии игры
1.8.8–1.21.1
Загрузок
65
Дата публикации
1 г. назад