setString

fun setString(key: String, value: String): MutableNBTCompound

Sets (and overwrites previous) tag associated to the given key (shorthand method that in turn calls set)