#(stevoeinrad) Byte size of an Item
31 messages · Page 1 of 1 (latest)
(stevoeinrad) Byte size of an Item
Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
!t inventorytag.inventory
Returns the type of the inventory (e.g. "PLAYER", "CRAFTING", "HORSE").
ElementTag
(Property) A container item's inventory contents.
Properties
ListTag(ItemTag)
ItemTag.inventory_contents
!t listtag.size
Returns the size of the list.
ElementTag(Number)
# Narrates '3'
- narrate <list[one|two|three].size>
I don't think you understand the question lol
Looks like they're trying to figure out like
How many bytes the items use when stored in playerdata?
I guess to make it easier to bookban people idfk
!t <ItemTag.all_raw_nbt>
Returns a map of all raw NBT on this item, including default values.
Refer to format details at !language Raw NBT Encoding.
properties
MapTag
ItemTag.raw_nbt
^ closest thing to what you're looking for, but there isn't an actual storage byte tag on Denizen
from the picture it looks like a mod, why not just use that
its no longer available
and the only other known way is the meteor client
which is a hacked client
as far as i know
i've tested this : <player.item_in_hand.all_raw_nbt.map_to_nbt.length>
Tag parse results for <player.item_in_hand.all_raw_nbt.map_to_nbt.length>: https://paste.denizenscript.com/View/128290
player.item_in_hand.all_raw_nbt.map_to_nbt.length
Had error: Player is not online, but tag 'item_in_hand' requires the player be online, for player: p@460e96b9-7a0e-416d-b2c3-4508164b8b1b (mcmonkey4eva)
Had error: Tag <player.item_in_hand.all_raw_nbt.map_to_nbt.length> is invalid!
Had error: Unfilled or unrecognized sub-tag(s) 'item_in_hand.all_raw_nbt.map_to_nbt.length' for tag <player.item_in_hand.all_raw_nbt.map_to_nbt.length>!
Had error: The returned value from initial tag fragment 'player' was: 'p@460e96b9-7a0e-416d-b2c3-4508164b8b1b (mcmonkey4eva)'.
Had error: Almost matched but failed (possibly bad input?): item_in_hand
Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.
If not yet resolved, please reply below to tell us what you still need.
(Note that if there is no reply for a few days, this thread will eventually close itself.)
@cobalt aspen