# IScriptFactory.createCompound [← IScriptFactory](index.md) · [← Master](../../wiki.md) createCompound(java.lang.String nbt) INBTCompound Parse an NBT compound data out of given string, if string NBT was invalid then an empty compound will be returned.