public static void setExtension(@NotNull ExtendableTextComponent editor, @NotNull ExtendableTextComponent.Extension extension, boolean set) {
    if (set) {
      editor.addExtension(extension);
    } else {
      editor.removeExtension(extension);
    }
  }
public static void setExtension(@NotNull ExtendableTextComponent editor, @NotNull ExtendableTextComponent.Extension extension, boolean set)