setDouble

fun setDouble(key: String, value: Double): MutableNBTCompound

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