I create data packs and one way to indirectly edit the item in a player's inventory is through a shulker box with loot table manipulation.
This is clunky, as the client would need to load an extra chunk from a region far away from the player (so that they couldn't access the area).
Adding something in replaceitem that could specify a path to a storage NBT like:
/replaceitem entity @s weapon storage namespace:storage Path.To.Item[0]
This would decrease the need of the shulker box mechanic that almost everyone has been using for custom weapons and would decrease the general need for extra chunks to be loaded.
Please sign in to leave a comment.
0 Comments