Overview
Entity models are 3D models attached to Minecraft entities. They follow the entity’s position, rotation, and can respond to entity events like damage.Prerequisites
Prepare Your Model
Create a BlockBench model and export it as
.bbmodel format. Place it in BetterModel/models/ directory.Basic Implementation
Creating an Entity Model
Here’s how to spawn a basic entity model:Getting or Creating Models
UsegetOrCreate() to avoid creating duplicate models:
Playing Animations
Basic Animation
Stop Animation
Updating Model Properties
Change Colors and Effects
Managing Model Lifecycle
Closing and Cleanup
Handle Close Events
Player Visibility Control
Best Practices
Complete Example
Next Steps
Animated NPC
Create interactive NPCs with custom animations
Custom Events
Learn about hitbox interactions and custom events
Conditional Animations
Implement state-based animation systems
API Reference
Explore the complete API documentation
