Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
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
usesItemData
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
intosweeping_edge
(and vicerverse).
Deprecations
ItemObject#getComponentPath()
andItemObject#getTagPath()
, useItemData
methods instead.
Information
Published on | September 3, 2024 |
---|---|
Downloads | 0 |
Platforms
Paper (1.8-1.21.1)