load nbt

These are functions to load the binary and stringified NBT formats.

amulet_nbt.load(filepath_or_buffer, *args, compressed=True, count=None, offset=False, little_endian=False, string_decoder=<built-in function decode_modified_utf8>, read_context=None)[source]
Return type:

Union[NamedTag, Tuple[Union[NamedTag, List[NamedTag]], int]]

amulet_nbt.load_many(filepath_or_buffer, *, count=1, compressed=True, little_endian=False, read_context=None, string_decoder=<built-in function decode_modified_utf8>)[source]
amulet_nbt.from_snbt(snbt)[source]