Skip to content

Releases: Cobbleworks/Blockfolk-NPC-Plugin

Blockfolk 1.1.0

Choose a tag to compare

@github-actions github-actions released this 01 Sep 21:03

Blockfolk 1.1.0 is an automatic release containing verified changes to the packaged plugin.

Added

  • enhance documentation and AI memory management; add conversation history limit and context details
  • add detailed capability descriptions for AI action types in AiGuiService
  • enhance AI interaction handling with explicit switch and container aliases
  • implement container interaction for NPCs with temporary inventory access
  • implement AI decision result handling with target snapshots and enhance NPC behavior management
  • set default model for OpenRouter AI configuration
  • enhance AI group management with sequence tracking and improved release logic
  • update chat range logic to use player location at message send time and add related tests
  • remove nearby death reactions from AI control settings and related components
  • enhance START_COMBAT action to accept perceived entities and update related logic
  • add MINE_BLOCKS action and shared conversation feature

Changed

  • Refactor code structure for improved readability and maintainability
  • update mining logic and inventory handling across AI components
  • Apply consistent Java formatting
  • improve code readability and formatting in AiControlService
  • update timeout configuration and rename lever handling to switch
  • Refactor NPC handling and improve location persistence
  • Integrate BeautyQuests support: update README, enhance NPC icon handling, and add inventory event for NPC icons
  • Beautyquests Support
  • Refactor NPC combat and instance management
  • Update NPC properties configuration in GUI: add click prompt and remove unused property display
  • Add likes and dislikes to AI control settings and update related components
  • Enhance AI perception: add detection of nearby levers within 12 blocks and update location handling in dialog and NPC instances
  • Enhance FOLLOW action: require and accept perceived player targets, update documentation and tests
  • Increase location perception radius for AI to 64 blocks
  • Add inventory management and movement capabilities for NPCs
  • Refactor AI processing indicators: update hologram text to 'Thinking...' and improve error handling in AI requests
  • Enhance AI processing feedback: add hologram indicators for request status, implement processing handlers, and update configuration comments for clarity
  • Implement long-term memory for NPCs: add REMEMBER_FACT action, memory management, and related UI updates
  • Enhance NPC interaction: allow newcomers to join conversations after their current actions
  • Update OpenRouter client configuration: increase max tokens to 1600 and remove length retry logic
  • Implement length retry mechanism for OpenRouter API calls and update related tests
  • Group Handling
  • Refactor NPC dialog handling: implement chunking for long speech and update related tests to ensure proper message splitting without breaking words or surrogate pairs
  • Add reaction to nearby deaths in AI control settings and behavior
  • Update AI control settings: disable greeting on approach by default and adjust related tests
  • Enhance AI control actions: add UNFOLLOW and INTERACT actions, update NPC behaviour to handle nearby signs, and improve interaction logic with buttons and levers
  • Add NPC editing command and improve combat targeting logic
  • Refactor AI control system: enhance AI context structure with identity, behaviour, goal, and information; update related classes and methods; improve NPC memory management and conversation handling; add documentation for AI behaviour request context
  • AI UX improvs
  • Implement AI control features: add settings for enabling/disabling AI conversations, responding to chat, and greeting players; refactor related methods and UI components
  • AI Control Action
  • Add NPC color customization and pushable property
  • Add NPC teleportation commands and enhance GUI interactions for NPC deletion
  • Enhance NPC navigation handling: introduce waypoint action sequences and improve route movement logic to manage navigation states more effectively
  • Update NPC properties configuration in GUI
  • Refactor route handling: simplify route entry management and update route creation prompts for clarity
  • Refactor NPC skin application and enhance route management: introduce NpcHeadUtil, RouteBrowserModel, and update related classes for improved route handling and NPC definition referencing
  • Add icon management to NamedLocation and update location handling in RouteGuiService
  • Add NPC properties management: implement show name, look at player, and item pickup features
  • Enhance location editing UI and functionality: add teleport prompt, update item descriptions, and improve session handling
  • Add location management features with LocationRepository and NamedLocation model
  • Implement NPC instance removal handling and refactor event registration
  • Register NPC renderer as event listener, update follow range, and enhance UI text management
  • Refactor text handling in GUI and chat services to use Adventure components
  • Add experience handling to combat profiles and UI updates for NPCs
  • Rename time-related behaviour events and update references in the codebase
  • Code Cleanup and Streamlining
  • Enhance fight options to include aggression levels and update related functionality
  • Refactor UI text handling with UiText utility class
  • Implement reorder functionality for custom events, NPC definitions, and routes
  • Add behaviour clipboard functionality: enable copying and pasting of behaviour actions
  • Add edit command for NPC presets and update usage instructions
  • Refactor question handling: normalize options and improve validation; add configured options method
  • More answer stuff
  • Refactor dialog line duration calculation and remove config option
  • Change item type for Cancel/Timeout and Back actions in GUI
  • GUI Back Adjust
  • Adjusted row
  • Ask Action added
  • Spacing of Actions adjusted
  • Right Click =/= Shift Right Click
  • URL Saving + Custom Event with NPC Heads
  • Fixed Redstone and Menu Re-Arrangement
  • Summary of Row Actions
  • Revert "Shift + left-click: spawn a persistent copy at your current location."

Fixed

  • update item type for 'Manage Routes' in GUI from MAP to RAIL
  • harden BeautyQuests integration

Added components

  • AiActionType.
  • AiControlService.
  • AiControlSettings.
  • AiDecision.
  • AiDecisionParser.
  • AiDecisionResult.
  • AiGroupDecisionParser.
  • AiMemoryStore.
  • AiTargetSnapshot.
  • OpenRouterClient.
  • AiGuiService.
  • GuiHolder.
  • NpcHeadUtil.
  • ReorderSupport.
  • RouteBrowserModel.
  • BeautyQuestsIntegration.
  • NamedLocation.
  • NpcColor.
  • NpcQuestion.
  • QuestionOption.
  • 10 additional files changed.

Changed components

  • Updated plugin components: BlockfolkPlugin, ArrowNpcAttack, MeleeNpcAttack, NpcAttackSelector, SplashPotionNpcAttack, BlockfolkCommand, DialogService, CustomEventGuiService, GuiLayout, GuiService, RouteGuiService, ChatInputService, ActionLocation, AttackReaction, BehaviourAction, BehaviourActionType, BehaviourEvent, CombatProfile, CustomEvent, FightOptions and 20 more.

Configuration

  • Updated config.yml.
  • Updated plugin.yml.

Dependencies and build

  • Updated the runtime dependency or build definition.

Removed

  • AggressionLevel.

Note: If you encounter any bugs or issues, please don't hesitate to open an issue. For any questions or to start a discussion, feel free to initiate a discussion on the GitHub repository.

Blockfolk-NPC v1.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Jul 18:38