# Армированные мобы

Используя мод-дополнение <mark style="color:blue;">**ArmoreableMobs**</mark>, Вы можете изменить экипировку мобов.

Сначала необходимо импортировать группы мода:

```java
import mods.armoreablemods.ArmorGroup;
```

Создание новой группы:

```java
new ArmorGroup(group_name)
```

Установка предмета и слота:

```java
.inSlot(slot, item)
```

Устанавливается вес появления экипировки:

```java
.setWeight(x)
```

Регистрация сущности (моба), которая будет экипирована:&#x20;

```java
.register(entity);
```

где\
\&#xNAN;*<mark style="color:blue;">**group\_name**</mark>* – имя группы (может быть почти любым),\
\&#xNAN;*<mark style="color:blue;">**slot**</mark>* – слот,\
\&#xNAN;*<mark style="color:blue;">**item**</mark>* – предмет, который будет находиться в слоту,\
\&#xNAN;*<mark style="color:blue;">**x**</mark>* – число, вес появления,\
\&#xNAN;*<mark style="color:blue;">**entity**</mark>* – сущность (моб).

### Доступные слоты:

* <mark style="color:blue;">**equipmentslottype:head**</mark> - шлем;
* <mark style="color:blue;">**equipmentslottype:chest**</mark> - нагрудник;
* <mark style="color:blue;">**equipmentslottype:legs**</mark> - поножи;
* <mark style="color:blue;">**equipmentslottype:feet**</mark> - ботинки;
* <mark style="color:blue;">**equipmentslottype:mainhand**</mark> - ведущая рука;
* <mark style="color:blue;">**equipmentslottype:offhand**</mark> - второстепенная рука.

Пример, создающий новую группу: зомби в железной броне с железным мечом и щитом.

```java
import mods.armoreablemods.ArmorGroup;

new ArmorGroup("zombie_test_1")
    .inSlot(<equipmentslottype:head>, <item:minecraft:iron_helmet>)
    .inSlot(<equipmentslottype:chest>, <item:minecraft:iron_chestplate>)
    .inSlot(<equipmentslottype:legs>, <item:minecraft:iron_leggings>)
    .inSlot(<equipmentslottype:feet>, <item:minecraft:iron_boots>)
    .inSlot(<equipmentslottype:mainhand>, <item:minecraft:iron_sword>)
    .inSlot(<equipmentslottype:offhand>, <item:minecraft:shield>)
    .setWeight(5.0)
    .register(<entitytype:minecraft:zombie>);
```

<div align="left"><figure><img src="/files/9qoflsOgo4oWkEwXV3Dx" alt=""><figcaption></figcaption></figure></div>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.aegis-mine.ru/modifications/sozdanie-kontenta/crafttweaker/minecraft-1.16.5/armirovannye-moby.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
