BetterFriendAI v1.1 Update: Model Engine Pets, Potion Effects, and Bug Fixes!
I'm excited to announce a major update for BetterFriendAI! This version introduces some fantastic new features that will bring your companion pets to life like never before. Here’s what’s new:
Model Engine Integration
You can now use custom models from Model Engine for your pets! Simply set the type to modelengine and specify the model-id in your config.yml.
Potion Effects
Code (YAML):
companions:
flameborn:
name
:
"Flameborn"
type
: modelengine
model-id
:
"flame_spirit"
personality
:
"Fiery and bold"
permission
:
"bestfriendai.pet.flameborn"
price
: 2500
description
:
"A fiery spirit that burns bright beside you."
effect
:
"FIRE_RESISTANCE:0"
mountable
: true
seat-bone
:
"body"
Your pets can now grant you potion effects! You can easily configure this in your config.yml by adding an effect to your pet's configuration. The format is EFFECT_NAME:AMPLIFIER, where the amplifier is a number (e.g., 0 for level 1, 1 for level 2).
Bug Fixes
- Pet Despawning: Pets will now correctly despawn when a player leaves the game, preventing them from getting stuck.
- Pet Naming: Pet names are now correctly saved and loaded.