Compatibility
Minecraft: Java Edition
1.20.6
Platforms
Supported environments
Links
Creators
Details
Licensed MIT
Published 8 months ago
Updated 8 months ago
Changelog
Added
- New interface for the
/askcommand: The/askcommand now opens a full-fledged graphical interface for chatting with AI, replacing the old system for outputting answers to a game chat. - AI Dialogue History: The new interface supports a scrollable message history that is saved for the player.
- History storage component: To implement the chat history, a new component
PlayerAskHistoryComponentwas added using the Cardinal Components API.
Changed
- Improved AI context recognition: The logic of generating requests to AI has been radically redesigned. Now, up-to-date information about the player (inventory, biome, coordinates) is added to the end of each query, which forces the model to pay more attention to it and give more relevant advice.
- Dialog context support: The AI now gets a complete history of previous messages, which allows it to "remember" the context of the conversation and answer clarifying questions.
- The AI response limit has been increased: The maximum number of tokens in an API response has been increased from 250 to 1024 to prevent long and detailed responses from being cut off.
- Formatting of AI responses: A Markdown-like markup parser is implemented in the new
/askwindow. The text surrounded by**is now displayed correctly as bold. - Server logic: The
AskAiC2SPacketpackage handler no longer sends a message to the chat, but updates thePlayerAskHistoryComponenton the server, followed by synchronization to the client.
Fixed
- Character input restriction: The 32-character input limit has been lifted in the input fields in the dialogue with residents and in the chat window with AI. The new limit is 256 characters.
- Network code structure: Fixed an error in the file `ModNetworking.java where one package handler was mistakenly nested in another, which caused cascading compilation errors.
ŠŠ¾Š±Š°Š²Š»ŠµŠ½Š¾
- ŠŠ¾Š²Ńй ŠøŠ½ŃеŃŃŠµŠ¹Ń Š“Š»Ń ŠŗŠ¾Š¼Š°Š½Š“Ń
/ask: ŠŠ¾Š¼Š°Š½Š“а/askŃŠµŠæŠµŃŃ Š¾ŃŠŗŃŃŠ²Š°ŠµŃ ŠæŠ¾Š»Š½Š¾ŃŠµŠ½Š½Ńй Š³ŃŠ°ŃŠøŃеŃкий ŠøŠ½ŃеŃŃŠµŠ¹Ń Š“Š»Ń ŃŠ°Ńа Ń ŠŠ, заменŃŃ ŃŃŠ°ŃŃŃ ŃŠøŃŃŠµŠ¼Ń Š²ŃŠ²Š¾Š“а Š¾ŃвеŃов в ŠøŠ³Ńовой ŃŠ°Ń. - ŠŃŃŠ¾ŃŠøŃ Š“ŠøŠ°Š»Š¾Š³Š° Ń ŠŠ: ŠŠ¾Š²Ńй ŠøŠ½ŃеŃŃŠµŠ¹Ń ŠæŠ¾Š“Š“ŠµŃŠ¶ŠøŠ²Š°ŠµŃ ŠæŃŠ¾ŠŗŃŃŃŠøŠ²Š°ŠµŠ¼ŃŃ ŠøŃŃŠ¾ŃŠøŃ ŃŠ¾Š¾Š±Ńений, ŠŗŠ¾ŃŠ¾ŃŠ°Ń ŃŠ¾Ń ŃŠ°Š½ŃеŃŃŃ Š“Š»Ń ŠøŠ³ŃŠ¾ŠŗŠ°.
- ŠŠ¾Š¼ŠæŠ¾Š½ŠµŠ½Ń Š“Š»Ń Ń
ŃŠ°Š½ŠµŠ½ŠøŃ ŠøŃŃŠ¾ŃŠøŠø: ŠŠ»Ń ŃŠµŠ°Š»ŠøŠ·Š°ŃŠøŠø ŠøŃŃŠ¾ŃŠøŠø ŃŠ°Ńа Š±ŃŠ» Гобавлен Š½Š¾Š²Ńй компоненŃ
PlayerAskHistoryComponentŃ ŠæŠ¾Š¼Š¾ŃŃŃ Cardinal Components API.
ŠŠ·Š¼ŠµŠ½ŠµŠ½Š¾
- УлŃŃŃŠµŠ½Š¾ ŃŠ°Ńпознавание ŠŗŠ¾Š½ŃекŃŃŠ° ŠŠ: ŠŠ°ŃŠ“ŠøŠ½Š°Š»ŃŠ½Š¾ ŠæŠµŃŠµŃŠ°Š±Š¾ŃŠ°Š½Š° логика ŃŠ¾ŃŠ¼ŠøŃŠ¾Š²Š°Š½ŠøŃ Š·Š°ŠæŃŠ¾Ńов Šŗ ŠŠ. ТепеŃŃ Š°ŠŗŃŃŠ°Š»ŃŠ½Š°Ń ŠøŠ½ŃŠ¾ŃŠ¼Š°ŃŠøŃ об ŠøŠ³Ńоке (ŠøŠ½Š²ŠµŠ½ŃŠ°ŃŃ, биом, ŠŗŠ¾Š¾ŃŠ“инаŃŃ) Š“Š¾Š±Š°Š²Š»ŃŠµŃŃŃ Š² ŠŗŠ¾Š½ŠµŃ ŠŗŠ°Š¶Š“Š¾Š³Š¾ Š·Š°ŠæŃŠ¾Ńа, ŃŃŠ¾ заŃŃŠ°Š²Š»ŃŠµŃ Š¼Š¾Š“ŠµŠ»Ń ŃŠ“елŃŃŃ ŠµŠ¹ повŃŃŠµŠ½Š½Š¾Šµ внимание Šø ГаваŃŃ Š±Š¾Š»ŠµŠµ ŃŠµŠ»ŠµŠ²Š°Š½ŃŠ½ŃŠµ ŃŠ¾Š²ŠµŃŃ.
- ŠŠ¾Š“Š“ŠµŃŠ¶ŠŗŠ° ŠŗŠ¾Š½ŃŠµŠŗŃŃŠ° Гиалога: ŠŠ ŃŠµŠæŠµŃŃ ŠæŠ¾Š»ŃŃŠ°ŠµŃ полнŃŃ ŠøŃŃŠ¾ŃŠøŃ ŠæŃŠµŠ“ŃŠ“ŃŃŠøŃ ŃŠ¾Š¾Š±Ńений, ŃŃŠ¾ ŠæŠ¾Š·Š²Š¾Š»ŃŠµŃ ŠµŠ¼Ń "помниŃŃ" ŠŗŠ¾Š½ŃŠµŠŗŃŃ Š±ŠµŃŠµŠ“Ń Šø Š¾ŃŠ²ŠµŃаŃŃ Š½Š° ŃŃŠ¾ŃнŃŃŃŠøŠµ Š²Š¾ŠæŃŠ¾ŃŃ.
- Š£Š²ŠµŠ»ŠøŃŠµŠ½ Š»ŠøŠ¼ŠøŃ Š¾ŃŠ²ŠµŃа ŠŠ: ŠŠ°ŠŗŃŠøŠ¼Š°Š»ŃŠ½Š¾Šµ ŠŗŠ¾Š»ŠøŃŠµŃŃŠ²Š¾ ŃŠ¾ŠŗŠµŠ½Š¾Š² в Š¾ŃвеŃе Š¾Ń API ŃŠ²ŠµŠ»ŠøŃено Ń 250 Го 1024, ŃŃŠ¾Š±Ń ŠæŃŠµŠ“Š¾ŃŠ²ŃŠ°ŃŠøŃŃ Š¾Š±ŃŃŠ²Š°Š½ŠøŠµ ГлиннŃŃ Šø ŠæŠ¾Š“ŃŠ¾Š±Š½ŃŃ Š¾ŃŠ²ŠµŃов.
- Š¤Š¾ŃŠ¼Š°ŃŠøŃŠ¾Š²Š°Š½ŠøŠµ Š¾ŃŠ²ŠµŃов ŠŠ: Рновом окне
/askŃŠµŠ°Š»ŠøŠ·Š¾Š²Š°Š½ паŃŃŠµŃ Markdown-поГобной ŃŠ°Š·Š¼ŠµŃŠŗŠø. ТекŃŃ, окŃŃŠ¶ŠµŠ½Š½Ńй**, ŃŠµŠæŠµŃŃ ŠŗŠ¾ŃŃŠµŠŗŃно Š¾ŃобŃажаеŃŃŃ ŠŗŠ°Šŗ Š¶ŠøŃŠ½Ńй. - Š”ŠµŃŠ²ŠµŃŠ½Š°Ń Š»Š¾Š³ŠøŠŗŠ°: ŠŠ±ŃабоŃŃŠøŠŗ ŠæŠ°ŠŗŠµŃŠ°
AskAiC2SPacketŃŠµŠæŠµŃŃ Š½Šµ Š¾ŃŠæŃŠ°Š²Š»ŃŠµŃ ŃŠ¾Š¾Š±Ńение в ŃŠ°Ń, а Š¾Š±Š½Š¾Š²Š»ŃеŃPlayerAskHistoryComponentна ŃŠµŃŠ²ŠµŃŠµ Ń ŠæŠ¾ŃŠ»ŠµŠ“ŃŃŃŠµŠ¹ ŃŠøŠ½Ń ŃŠ¾Š½ŠøŠ·Š°Ńией на клиенŃ.
ŠŃŠæŃŠ°Š²Š»ŠµŠ½Š¾
- ŠŠ³ŃŠ°Š½ŠøŃŠµŠ½ŠøŠµ на ввоГ ŃŠøŠ¼Š²Š¾Š»Š¾Š²: ДнŃŃŠ¾ Š¾Š³ŃŠ°Š½ŠøŃение на ввоГ в 32 ŃŠøŠ¼Š²Š¾Š»Š° в полŃŃ Š²Š²Š¾Š“Š° в Гиалоге Ń Š¶ŠøŃŠµŠ»Ńми Šø в окне ŃŠ°Ńа Ń ŠŠ. ŠŠ¾Š²Ńй Š»ŠøŠ¼ŠøŃ ā 256 ŃŠøŠ¼Š²Š¾Š»Š¾Š².
- Š”ŃŃŃŠŗŃŃŃŠ° ŃŠµŃевого коГа: ŠŃŠæŃŠ°Š²Š»ŠµŠ½Š° Š¾ŃŠøŠ±ŠŗŠ° в ŃŠ°Š¹Š»Šµ
ModNetworking.java, гГе оГин Š¾Š±ŃабоŃŃŠøŠŗ ŠæŠ°ŠŗŠµŃŠ¾Š² Š±ŃŠ» Š¾ŃŠøŠ±Š¾Ńно вложен в Š“ŃŃŠ³Š¾Š¹, ŃŃŠ¾ Š²ŃŠ·Ńвало ŠŗŠ°ŃŠŗŠ°Š“Š½ŃŠµ Š¾ŃŠøŠ±ŠŗŠø компилŃŃŠøŠø.
Files
Metadata
Release channel
ReleaseVersion number
1.0.3Loaders
Game versions
1.20.6Environment
Client and server, optional on both
Downloads
26Publication date
July 12, 2025 at 2:13 PMPublisher

Beykus-Y
Member


