File Details
LoraCore 1.0.4
- R
- Jul 13, 2025
- 4.57 MB
- 5
- 1.20.6
- Fabric
File Name
loracore-1.0.4.jar
Supported Versions
- 1.20.6
Curse Maven Snippet
[1.0.4] - 2025-07-13
Added
- Sending messages by Enter: In the dialog box with the resident, you can now send messages by pressing the Enter key, which improves usability.
- Scrolling of the dialog: Full-fledged scrolling with the mouse wheel is implemented in the dialog window with the resident, which prevents the imposition of long dialogues on the interface elements.
Changed
- External prompting files: All system prompts for AI are extracted from the code into external files (
.prompt) uploaded via PromptManager. This makes it easier to edit and customize them without having to recompile the mod. - **Unification of 'AiService
**: The code for interacting with the API has been centralized. Now all requests go through a singleexecuteChatCompletion` method, which increases stability and simplifies adding new AI features.
Fixed
- Text overlay in the dialog box: Fixed an issue where long dialogs overlaid the input field. This has been fixed by introducing a clipping mechanism (`scissor') and scrolling content.
- Server error getting the player's language: Fixed a compilation error in
StructureNameManagerrelated to an attempt to call a non-existentgetLanguage()method on the player's server entity. The correct methodplayer.getClientOptions().language()is now used.
[1.0.4] - 2025-07-13
Добавлено
- Отправка сообщений по Enter: В окне диалога с жителем теперь можно отправлять сообщения нажатием клавиши Enter, что улучшает удобство использования.
- Прокрутка диалога: Реализована полноценная прокрутка колесом мыши в окне диалога с жителем, что предотвращает наложение длинных диалогов на элементы интерфейса.
Изменено
- Внешние файлы промптов: Все системные промпты для ИИ вынесены из кода во внешние файлы (
.prompt), загружаемые черезPromptManager. Это упрощает их редактирование и кастомизацию без необходимости перекомпиляции мода. - Унификация
AiService: Код для взаимодействия с API был централизован. Теперь все запросы проходят через единый методexecuteChatCompletion, что повышает стабильность и упрощает добавление новых функций ИИ.
Исправлено
- Наложение текста в диалоговом окне: Устранена проблема, при которой длинные диалоги накладывались на поле ввода. Это исправлено внедрением механизма отсечения (
scissor) и прокрутки контента. - Серверная ошибка получения языка игрока: Исправлена ошибка компиляции в
StructureNameManager, связанная с попыткой вызова несуществующего методаgetLanguage()на серверной сущности игрока. Теперь используется корректный методplayer.getClientOptions().language().

