NBT - Save File (Effect) — SkBee

Addon: SkBee · Category: Effect · Since: 1.14.0

Syntax

save nbt file[s] (from|for|of) %nbtcompounds%

Description

Manually save the NBT from a file. When getting the NBT compound from a file, changing values in the compound will not be automatically applied to the file, and saving will have to be done manually.

Examples

set {_n} to nbt compound from file "plugins/maScript/some-data.nbt"
set tag "ma-tag" of {_n} to 32
save nbt file of {_n}

View source