SentientMobs icon

SentientMobs -----

Mobs Aren't Dumb Anymore. Every Mob Thinks Smarter.



Language System & Trade Improvements
SentientMobs 2.1.7

Language System & Trade Improvements

  • NEW: Fully configurable language system
  • NEW: Added support for custom villager names through language files
  • NEW: Language files are now automatically generated inside the lang/ folder
  • NEW: Default language file: EN_lang.yml
  • NEW: Added /sm createlang <language> command to quickly generate new language templates
  • NEW: Added /sm setlang <language> command to instantly switch active language and save it to config
  • IMPROVED: Villager names are now fully configurable from language files instead of being hardcoded
  • FIXED: Labor Trade pricing logic was reversed
  • FIXED: Villagers now correctly trade multiple seeds for 1 Emerald instead of charging dozens of Emeralds for a single seed

How the Language System Works

The new language system allows server owners to fully customize plugin messages and villager names without editing the plugin itself.

  • All language files are stored inside:
    plugins/SentientMobs/lang/
  • Each language uses the format:
    <LANGUAGE>_lang.yml
  • Example:
    • EN_lang.yml
    • ID_lang.yml
    • JP_lang.yml
  • The plugin automatically creates EN_lang.yml on first startup as the default language template.
  • The active language is controlled from:
    config.yml

    Example:
    Code (Text):

    language: EN
     
  • Changing the language instantly changes:
    • Plugin messages
    • Villager names
    • AI-related text outputs
    • Future localized content
  • Villager name lists are now fully configurable directly from the language file.
    Example:
    Code (Text):

    villager:
    names:
    male:
    - Vincent
    - Yusuf

    female:
    - Beatrice
    - Fatimah

    neutral:
    - Alex
     
  • New villagers will automatically use names from the currently active language file.
  • The command:
    /sm createlang <language>
    creates a new language file by copying the default English template.

    Example:
    Code (Text):

    /sm createlang ID
     
    This generates:
    ID_lang.yml
  • The command:
    /sm setlang <language>
    changes the active language instantly and saves it to the configuration.

    Example:
    Code (Text):

    /sm setlang ID
     
  • After reloading or restarting the server, all plugin systems will automatically use the selected language.

Villager Stamina Overhaul

  • NEW: Completely redesigned Villager-exclusive stamina system
  • NEW: Added structured stamina states:
    • ENERGETIC
    • NORMAL
    • TIRED
    • EXHAUSTED
  • NEW: Villagers dynamically lose stamina while:
    • Working
    • Running from danger
    • Walking around the village
  • NEW: Villagers recover stamina by:
    • Sleeping
    • Eating
    • Resting near village bells
  • NEW: Dynamic movement speed adjustments based on stamina state
  • NEW: Visual particle feedback system
    • Sweat particles when exhausted
    • Sleep/rest particles while recovering
  • IMPROVED: Villager AI behaviors are now deeply integrated with the new stamina manager
  • IMPROVED: More immersive and realistic village simulation
  • IMPROVED: Added extensive stamina configuration options in config.yml

Technical Changes

  • NEW: Dedicated VillagerStaminaManager system
  • IMPROVED: Refactored multiple villager AI behaviors to use the new stamina architecture
  • IMPROVED: Cleaner internal language management system
  • UPDATED: Plugin version bumped to 2.1.7
  • UPDATED: Config version updated to 2.1.7

Notes

This update heavily modernizes villager behavior systems and introduces full language customization support, making villages feel significantly more alive, configurable, and immersive.
----------, Jun 14, 2026
Resource Information
Author:
----------
Total Downloads: 120
First Release: May 15, 2026
Last Update: Jun 14, 2026
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings