remove

fun remove(key: String)

This method removes the given key from the NBTTagCompound. Its value will be lost.