Confirmedusers
13,514
edits
Mirotworez (talk | contribs) (Created page with "Итак, прежде всего нам нужно создать файл типа сущности <code>assets/figure/entities/land/littlefigure.json</code>. Теперь...") |
Mirotworez (talk | contribs) (Created page with "<code>code</code>: Уникальный идентификатор вашего объекта. Префикс идентификатора вашего мода будет д...") |
||
Line 14: | Line 14: | ||
Итак, прежде всего нам нужно создать файл типа сущности <code>assets/figure/entities/land/littlefigure.json</code>. Теперь проходим по всем свойствам: | Итак, прежде всего нам нужно создать файл типа сущности <code>assets/figure/entities/land/littlefigure.json</code>. Теперь проходим по всем свойствам: | ||
<code>code</code>: | <code>code</code>: Уникальный идентификатор вашего объекта. Префикс идентификатора вашего мода будет добавлен автоматически. В нашем случае это <code>figure:littlefigure</code>. | ||
<code>class</code>: The class of the entity, it can be used to program special features for it. We don't need it at the moment, so we set it to <code>EntityAgent</code>. | <code>class</code>: The class of the entity, it can be used to program special features for it. We don't need it at the moment, so we set it to <code>EntityAgent</code>. |