Как добавить моба с уникальной моделью

Версия Minecraft
1.7.10
14
0
Здравствуйте, я использую в работе над модом МСкреатор для добавления рутинных блоков руды и кирпичей, и свои собственные для прописания более сложных аспектов. Ну вот, как-то раз решил добавить собственного моба, со своей моделькой, текстурой и т.д. Ну - появилась ошибка. Путём исследования выявилось, что проблемка походу в самой модели. Расширение у неё стоит .JAVA, в самой программе, пишет что так и надо, но затем после проводки автонастройки выявляет проблему с этим мобом. Для эксперимента я не трогал ни ИИ моба, ни шанс, ни биом спавна, даже дроп с него. Загрузил модельку и текстуру. Долго думал - может дело в текстуре (она сделана вообще для Энта из Mo'creatures), т.е. у неё совсем другой размер, а я лишь перерисовал места для головы и торса (Ноги не анимировал). Потом, всё таки понял - модель. Использовал Blockbench. Посмотрел в список ошибок:
Краш-лог связанный с мобом, который выдаёт МСreator представлен ниже.
Подскажите как прописать моба со своей моделью вручную, и если знаете, что я сделал не так в этой ё*нутой программе и что ей не нравится?
ri5ZKj8kP8c.jpg
(Не бейте меня, я только учусь созданию модов (А то я тут почитал, злые вы какие то к новчичочкам) )
 
Краш-лог
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:55: error: cannot find symbol
RenderingRegistry.registerEntityRenderingHandler(mcreator_leshen.Entityleshen.class, new RenderLiving(new mcreator_leshen.Modeln(), 0) {
^
symbol: class Modeln
location: class mcreator_leshen
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:233: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone.cubeList.add(new ModelBox(bone, 46, 178, -2.0F, -11.0F, -1.0F, 2, 11, 2, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:234: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone.cubeList.add(new ModelBox(bone, 40, 177, 2.0F, -11.0F, -1.0F, 2, 11, 2, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:239: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone2.cubeList.add(new ModelBox(bone2, 46, 176, -2.0F, -17.5F, -2.7F, 2, 8, 2, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:240: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone2.cubeList.add(new ModelBox(bone2, 45, 174, 2.0F, -17.4F, -2.7F, 2, 8, 2, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:244: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone3.cubeList.add(new ModelBox(bone3, 93, 122, -2.2F, -29.0F, -2.4F, 6, 13, 2, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:248: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone4.cubeList.add(new ModelBox(bone4, 82, 28, -4.1F, -8.1F, -2.0F, 2, 15, 2, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:249: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone4.cubeList.add(new ModelBox(bone4, 82, 26, 4.0F, -8.0F, -2.0F, 2, 15, 2, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:254: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone5.cubeList.add(new ModelBox(bone5, 10, 52, -0.6F, -3.2F, -5.0F, 3, 3, 5, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:259: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone6.cubeList.add(new ModelBox(bone6, 6, 102, -8.0F, -2.0F, -2.0F, 8, 1, 1, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:275: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone12.cubeList.add(new ModelBox(bone12, 79, 45, -10.0F, 1.0F, -2.0F, 7, 1, 1, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:284: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone14.cubeList.add(new ModelBox(bone14, 17, 98, -13.0F, -0.5F, -0.7F, 9, 1, 1, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:289: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone15.cubeList.add(new ModelBox(bone15, 24, 98, 5.0F, 0.0F, -3.0F, 6, 1, 1, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:294: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone10.cubeList.add(new ModelBox(bone10, 9, 102, 3.0F, -1.7F, -2.3F, 6, 1, 1, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:299: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone11.cubeList.add(new ModelBox(bone11, 0, 103, -12.4F, -1.9F, -0.8F, 10, 1, 1, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:308: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone17.cubeList.add(new ModelBox(bone17, 2, 101, 4.3F, -2.1F, -0.4F, 9, 1, 1, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:313: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone18.cubeList.add(new ModelBox(bone18, 1, 23, -8.8F, -0.3F, 2.0F, 3, 3, 3, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:317: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone19.cubeList.add(new ModelBox(bone19, 100, 132, -2.0F, -1.0F, -4.0F, 2, 1, 3, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:318: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone19.cubeList.add(new ModelBox(bone19, 105, 133, 2.0F, -1.0F, -4.0F, 2, 1, 3, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:326: error: constructor ModelBox in class ModelBox cannot be applied to given types;
bone21.cubeList.add(new ModelBox(bone21, 7, 24, -0.2F, -2.7F, -7.0F, 2, 2, 3, 0.0F, false));
^
required: ModelRenderer,int,int,float,float,float,int,int,int,float
found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
reason: actual and formal argument lists differ in length
20 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Краш-лог:
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:55: error: cannot find symbol
		RenderingRegistry.registerEntityRenderingHandler(mcreator_leshen.Entityleshen.class, new RenderLiving(new mcreator_leshen.Modeln(), 0) {
		                                                                                                                         ^
  symbol:   class Modeln
  location: class mcreator_leshen
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:233: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone.cubeList.add(new ModelBox(bone, 46, 178, -2.0F, -11.0F, -1.0F, 2, 11, 2, 0.0F, false));
			                  ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:234: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone.cubeList.add(new ModelBox(bone, 40, 177, 2.0F, -11.0F, -1.0F, 2, 11, 2, 0.0F, false));
			                  ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:239: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone2.cubeList.add(new ModelBox(bone2, 46, 176, -2.0F, -17.5F, -2.7F, 2, 8, 2, 0.0F, false));
			                   ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:240: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone2.cubeList.add(new ModelBox(bone2, 45, 174, 2.0F, -17.4F, -2.7F, 2, 8, 2, 0.0F, false));
			                   ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:244: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone3.cubeList.add(new ModelBox(bone3, 93, 122, -2.2F, -29.0F, -2.4F, 6, 13, 2, 0.0F, false));
			                   ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:248: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone4.cubeList.add(new ModelBox(bone4, 82, 28, -4.1F, -8.1F, -2.0F, 2, 15, 2, 0.0F, false));
			                   ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:249: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone4.cubeList.add(new ModelBox(bone4, 82, 26, 4.0F, -8.0F, -2.0F, 2, 15, 2, 0.0F, false));
			                   ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:254: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone5.cubeList.add(new ModelBox(bone5, 10, 52, -0.6F, -3.2F, -5.0F, 3, 3, 5, 0.0F, false));
			                   ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:259: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone6.cubeList.add(new ModelBox(bone6, 6, 102, -8.0F, -2.0F, -2.0F, 8, 1, 1, 0.0F, false));
			                   ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:275: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone12.cubeList.add(new ModelBox(bone12, 79, 45, -10.0F, 1.0F, -2.0F, 7, 1, 1, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:284: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone14.cubeList.add(new ModelBox(bone14, 17, 98, -13.0F, -0.5F, -0.7F, 9, 1, 1, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:289: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone15.cubeList.add(new ModelBox(bone15, 24, 98, 5.0F, 0.0F, -3.0F, 6, 1, 1, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:294: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone10.cubeList.add(new ModelBox(bone10, 9, 102, 3.0F, -1.7F, -2.3F, 6, 1, 1, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:299: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone11.cubeList.add(new ModelBox(bone11, 0, 103, -12.4F, -1.9F, -0.8F, 10, 1, 1, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:308: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone17.cubeList.add(new ModelBox(bone17, 2, 101, 4.3F, -2.1F, -0.4F, 9, 1, 1, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:313: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone18.cubeList.add(new ModelBox(bone18, 1, 23, -8.8F, -0.3F, 2.0F, 3, 3, 3, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:317: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone19.cubeList.add(new ModelBox(bone19, 100, 132, -2.0F, -1.0F, -4.0F, 2, 1, 3, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:318: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone19.cubeList.add(new ModelBox(bone19, 105, 133, 2.0F, -1.0F, -4.0F, 2, 1, 3, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
D:\Games\pylo\MCreator173\forge\build\sources\java\mod\mcreator\mcreator_leshen.java:326: error: constructor ModelBox in class ModelBox cannot be applied to given types;
			bone21.cubeList.add(new ModelBox(bone21, 7, 24, -0.2F, -2.7F, -7.0F, 2, 2, 3, 0.0F, false));
			                    ^
  required: ModelRenderer,int,int,float,float,float,int,int,int,float
  found: ModelRenderer,int,int,float,float,float,int,int,int,float,boolean
  reason: actual and formal argument lists differ in length
20 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Последнее редактирование:
5,018
47
783
917
22
332
Ооо, а как же мод на предметы? XD
P.S. Обращаясь к ТС. Касательно MCreator'а - выбор твой и только твой. Проблема в том, что копать почему он ругается очень сложно, ведь есть вероятность, что это баг самого MCreator'а. Да и экспертов в этой программе здесь, скорее всего, нет.
Зато, такие эксперты есть вот на этом форуме: Forums | MCreator
Он, конечно, на английском, но есть гугл-переводчик.
Опять же, всё было бы проще, если бы ты делал это "ручками", и я уже написал выше, почему.
 
Сверху