promotional bannermobile promotional banner

LoraCore

Experimental
AI-powered mod for Minecraft. Adds intelligent assistants, dynamic info structures, villager personalities, and quests.

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

Fabric

modImplementation "curse.maven:loracore-1304177:6763204"
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven


[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 single executeChatCompletion` 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 StructureNameManager related to an attempt to call a non-existent getLanguage() method on the player's server entity. The correct method player.getClientOptions().language() is now used.

[1.0.4] - 2025-07-13

Добавлено

  • Отправка сообщений по Enter: В окне диалога с жителем теперь можно отправлять сообщения нажатием клавиши Enter, что улучшает удобство использования.
  • Прокрутка диалога: Реализована полноценная прокрутка колесом мыши в окне диалога с жителем, что предотвращает наложение длинных диалогов на элементы интерфейса.

Изменено

  • Внешние файлы промптов: Все системные промпты для ИИ вынесены из кода во внешние файлы (.prompt), загружаемые через PromptManager. Это упрощает их редактирование и кастомизацию без необходимости перекомпиляции мода.
  • Унификация AiService: Код для взаимодействия с API был централизован. Теперь все запросы проходят через единый метод executeChatCompletion, что повышает стабильность и упрощает добавление новых функций ИИ.

Исправлено

  • Наложение текста в диалоговом окне: Устранена проблема, при которой длинные диалоги накладывались на поле ввода. Это исправлено внедрением механизма отсечения (scissor) и прокрутки контента.
  • Серверная ошибка получения языка игрока: Исправлена ошибка компиляции в StructureNameManager, связанная с попыткой вызова несуществующего метода getLanguage() на серверной сущности игрока. Теперь используется корректный метод player.getClientOptions().language().