Skip to main content

nbt_collection_values

Function nbt_collection_values 

Source
pub fn nbt_collection_values(tag: &NbtTag) -> Option<Vec<NbtTag>>
Expand description

Returns values exposed by Vanilla’s NbtOps collection interface.

Numeric arrays are collections as well as ordinary list tags, so codecs built with Codec.listOf() accept all four representations.