default @NotNull String getString(final @NotNull String key) {
    return this.getString(key, "");
  }
Gets a string.

@param key the key
@return the string value, or {@code ""} if this compound does not contain a string tag
    with the specified key, or has a tag with a different type
@since 4.0.0
nbt/src/main/java/net/kyori/adventure/nbt/CompoundBinaryTag.java