---
description: List of all the datablock types and how they can be used.
---

# Datablock Documentation

## EnemyDatablock

Defined in `path_to_vanilla_profile/datablocks/enemy/enemy.js`.

```typescript
interface EnemyDatablock {
    // @deprecated
    // Max health of the enemy, used to calculate hp from damage
    maxHealth?: number;
    
    // Display name of enemy
    name?: string;
    
    // Factory function that returns a Model object to render the enemy
    model?: (wrapper: EnemyModelWrapper, enemy: Enemy) => 
        Model<[enemy: Enemy, anim: EnemyAnimState]>;
        
    // The height off the ground in which the enemy info text
    // is positioned
    tmpHeight?: number;
}
```
