Modding:Basic Entity/ru: Difference between revisions

From Vintage Story Wiki
Created page with "<code>code</code>: Уникальный идентификатор вашего объекта. Префикс идентификатора вашего мода будет д..."
(Created page with "Итак, прежде всего нам нужно создать файл типа сущности <code>assets/figure/entities/land/littlefigure.json</code>. Теперь...")
(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>: The unique identifier for your entity. A prefix of your mod id will be added automatically. Our case its <code>figure:littlefigure</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>.
Confirmedusers
13,514

edits