Millenaire Villager Expansion

Unlisted
Can render the villagers of a millennium village as other biological models.
QQ20260828-192231.png

QQ20260828-192231.png

QQ20260828-192306.png

QQ20260828-192306.png

Description

Usage

  1. Entity Model Binding
    In the millenaire-custom directory, declare inner_entity:id in the villager configuration file to allow the villager to use the specified entity model.

    {
      "pamars": "...",
      "tags": [
        "...",
        "inner_entity:cataclysm:ancient_remnant"
      ],
      "pamars": "..."
    }
    
  2. NBT and Runtime Behavior Configuration
    Declare inner_nbt in the villager tags to adjust runtime behavior and details:

    • sync_box [Optional]: Declare this for entities with non-standard humanoid bounding boxes. It synchronizes the collision box once per tick, which carries a minor performance cost.
    • rewrite [Known Issue]: Attempts value rewriting for meaningful NBT keys (e.g., awakening the Ancient Remnant). Since Cataclysm uses uppercase keys, case compatibility is handled—simply use lowercase uniformly.
    • put [Use with Caution]: The rewrite option above rarely takes effect. put provides stronger NBT injection—it is case-sensitive, overwriting existing keys or inserting new ones if missing.
    • battle_ai [Testing]: Upon entering combat state, attempts to activate the AI of the rendered target model entity to participate in battle.
    {
      "tags": [
        "...",
        "inner_entity:touhou_little_maid:maid",
        "inner_nbt:sync_box:true,put:has_necklace:1b,battle_ai:true"
      ]
    }
    
  3. Touhou Little Maid Integration
    Requires declaring specific parameters inside inner_nbt:

    • ModelId=id [Required]: Specifies which maid model to render.
    • ysm=true [Conditionally Required]: Must be declared if the model is of YSM type (or Bedrock-style 3D animations with higher volumetric detail); otherwise, animation mapping issues will occur.
    • Chained YSM Integration: For maids using models from the YSM mod, the following declarations must be appended along with the base config. Specify a ModelID other than reimu (灵梦):
      • IsYsmModel:true [Conditionally Required]
      • YsmModelId:"goety_revelation.zip" [Conditionally Required] (Escaped quotes " are required)
      • YsmModelName:"使徒" [Conditionally Required]
      • YsmModelTexture:"default" [Optional]
      • YsmRoamingVars:{} [Optional]
      • YsmRouletteAnim:"empty" [Optional]
      • YsmRoamingUpdateFlag:0 [Optional]
    {
      "tags": [
        "...",
        "inner_entity:touhou_little_maid:maid",
        "inner_nbt:ModelId:geckolib:winefox,ysm:true",
        // To render a YSM maid
        "inner_nbt:ModelId:geckolib:winefox,ysm:true,IsYsmModel:true,YsmModelId:"goety_revelation.zip",YsmModelTexture:"default",YsmModelName:"使徒",YsmRoamingVars:{},YsmRouletteAnim:"empty",YsmRoamingUpdateFlag:0"
      ]
    }
    
  4. Explicit Animation Adapters [Testing]
    Explicitly configure animation adapters in ./config/millenairevillageexpansion/adapters.

    • Unpack the .jar file to inspect declared configuration files. This requires basic modding background and is not recommended for users without development experience.

Millenaire Villager Expansion Team

profile avatar
Owner
  • 1
    Followers
  • 15
    Projects
  • 7.6K
    Downloads

More from AMOTBQZView all