> For the complete documentation index, see [llms.txt](https://shimado.gitbook.io/relics-plugin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://shimado.gitbook.io/relics-plugin/creatures-constructor.md).

# Creatures constructor

You can configure creatures to spawn while using a relic, or when spawned by an egg.

First, indicate the ID that will be used further. For example -> GOBLIN\_AXE

Now let's start setting up the fields. There are required fields and optional ones.

**Required fields:**

<mark style="color:purple;">**Type**</mark>. You need to set entity type in UPPER\_CASE. For example: ZOMBIE, SKELETON, EVOKER, CREEPER and etc.

<mark style="color:purple;">**Custom name**</mark>. The name of the creature that will be displayed above its head.

<mark style="color:purple;">**Custom name visible**</mark>. Hide the creature's name or make it visible. Boolean value.

<mark style="color:purple;">**Health**</mark>. Creature health. Number with a dot.

<mark style="color:purple;">**Damage**</mark>. Creature damage. Number with a dot.

<mark style="color:purple;">**Movement speed**</mark>. Creature speed. Number with a dot.

<mark style="color:purple;">**Drop**</mark>. Creature drop. You can add items by the command.

**Not required fields.**

<mark style="color:purple;">**Head**</mark>. You can set the head url or minecraft material here.

<mark style="color:purple;">**Chestplate**</mark>. You can set minecraft material here.

<mark style="color:purple;">**Leggings**</mark>. You can set minecraft material here.

<mark style="color:purple;">**Boots**</mark>. You can set minecraft material here.

<mark style="color:purple;">**Main hand**</mark>. You can set minecraft material here.

<mark style="color:purple;">**Off hand**</mark>. You can set minecraft material here.

<mark style="color:purple;">**Arrows in body**</mark>. How many arrows will be in the creature's body. Integer value.

<mark style="color:purple;">**Can pickup items**</mark>. Will the creature be able to pick up objects. Boolean value.

<mark style="color:purple;">**Invisible**</mark>. Make a creature invisible. Boolean value.

<mark style="color:purple;">**Fire ticks**</mark>. How many seconds will the creature burn? In ticks. 20 ticks = 1 second.

<mark style="color:purple;">**Glowing**</mark>. Whether the creature will be highlighted. Boolean value.

<mark style="color:purple;">**Potions**</mark>. You can specify one potion. You must specify it in potions.yml and enter the ID here. String value.

<mark style="color:purple;">**Passenger**</mark>. You can specify the driver by specifying the ID of another creature from the same file. String value.

<mark style="color:purple;">**Invulnerable**</mark>. Will the creature be invulnerable? Boolean value.

<mark style="color:purple;">**Target**</mark>. You can specify who the creature will attack first. String value.

<mark style="color:red;">TARGET</mark> - The creature that was hit.

<mark style="color:red;">DAMAGER</mark> - The player who spawned it.

<mark style="color:purple;">**Baby**</mark>. Make the creature small. Boolean value.

<mark style="color:purple;">**Breed**</mark>. Make the creature in breeding mode. Boolean value.

<mark style="color:purple;">**Egg title**</mark>. Title of the summon egg item. String value.

<mark style="color:purple;">**Egg lore**</mark>. Lore of the summon egg item. String value.

<mark style="color:purple;">**Egg enchant**</mark>. Enchant the summon egg item. Boolean value.

<mark style="color:purple;">**Egg custom model data**</mark>. If you want to add texture to the egg. Integer value.

<mark style="color:purple;">**Egg material**</mark>. Material of the summon egg item. UPPER\_CASE.

{% code fullWidth="true" %}

```yaml
GOBLIN_AXE:
  Type: 'ZOMBIE'
  Custom name: '&a&lGOBLIN'
  Custom name visible: true
  Health: 20.0
  Damage: 3.0
  Movement speed: 0.15
  Head: 'faab2fd037c3997101bcf5cd483840494fae2132ebaf92342d9be1e4b8b67ec'
  Chestplate: 'IRON_CHESTPLATE'
  Leggings: 'LEATHER_LEGGINGS'
  Boots: 'LEATHER_BOOTS'
  Main hand: 'IRON_AXE'
  Off hand: ''
  Arrows in body: 0
  Can pickup items: false
  Invisible: false
  Passenger: ''
  Invulnerable: false
  Target: 'TARGET'
  Baby: true
  Drop: []

GOBLIN_KNIGHT:
  Type: 'ZOMBIE'
  Custom name: '&f&lKNIGHT'
  Custom name visible: true
  Health: 20.0
  Damage: 5.0
  Movement speed: 0.2
  Head: 'IRON_HELMET'
  Chestplate: 'IRON_CHESTPLATE'
  Leggings: 'IRON_LEGGINGS'
  Boots: 'IRON_BOOTS'
  Main hand: 'DIAMOND_SWORD'
  Off hand: 'SHIELD'
  Can pickup items: false
  Invisible: false
  Passenger: ''
  Invulnerable: false
  Target: 'TARGET'
  Baby: true
  Drop: []

GOBLIN_WIZARD:
  Type: 'ZOMBIE'
  Custom name: '&d&lWIZARD'
  Custom name visible: true
  Health: 20.0
  Damage: 5.0
  Movement speed: 0.2
  Head: 'ead2aee0780ab33f29f502993f054d912fe2915dc6b4094117e291c95344b3b1'
  Chestplate: 'LEATHER_CHESTPLATE'
  Chestplate leather color: [41,213,33]
  Leggings: 'LEATHER_LEGGINGS'
  Leggings leather color: [41,213,33]
  Boots: 'LEATHER_BOOTS'
  Boots leather color: [29,144,23]
  Main hand: 'BLAZE_ROD'
  Off hand: ''
  Can pickup items: false
  Invisible: false
  Passenger: ''
  Invulnerable: false
  Target: 'TARGET'
  Baby: true
  Drop: []


```

{% endcode %}
