Skip to main content

collection_field_nbt

Function collection_field_nbt 

Source
pub(super) fn collection_field_nbt<P>(
    collection: Option<&CollectionPredicate<P>>,
    name: &str,
    encode: impl Fn(&P) -> NbtTag + Copy,
) -> NbtTag