SubLib Wiki › Guides › SubLib PetBuddy Integration
SubLib PetBuddy Integration
SubLib contains the base entity code for the PetBuddy, a miniature companion that follows the player.
Pet Mechanics
- Behavior: The pet uses SubLib's targeting logic to stay within a specific radius of the owner. It can be set to stay, follow, or ride on the player's shoulder.
- Appearance: The pet can mimic the player's skin or be transformed into various mobs using specific items.
- Inventory: SubLib provides the pet with its own small inventory, allowing it to act as a mobile storage unit.
