Ошибки при залитие techne моделей

Версия Minecraft
1.7.10
20
6
Попытался я сделать 3д итем ,заливаю модели с течне в eclipse,а они выдают такие вот ошибки везде,подскажите в чем проблема ,может версию forge сменить?
 

Вложения

  • Screenshot_466.png
    Screenshot_466.png
    59.3 KB · Просмотры: 20
Последнее редактирование:
3,005
192
592
Для тех, кто не в курсе, конструктора ModelRenderer с аргументами
"что-то (видимо модель, ибо this), int, boolean"
и
"что-то (видимо модель, ибо this), boolean, boolean"
Лично я не нашел.

Так что с большой вероятностью "О БОЖЕ, сделай импорт" - челу не помогут.

---

Вот, все, что есть конструкторы:

public ModelRenderer(ModelBase p_i1172_1_, String p_i1172_2_)
public ModelRenderer(ModelBase p_i1173_1_)
public ModelRenderer(ModelBase p_i1174_1_, int p_i1174_2_, int p_i1174_3_)

Те аргументы, что есть у челика - не подходят под те, что есть у класса.

---

Нашлись умные "ипортни" :firе:
 
20
6
package HomieSideMod;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;

public class ModelBR10 extends ModelBase {
ModelRenderer Shape_01;

ModelRenderer Shape_02;

ModelRenderer Shape_03;

ModelRenderer Shape_04;

ModelRenderer Shape_05;

ModelRenderer Shape_06;

ModelRenderer Shape_07;

ModelRenderer Shape_08;

ModelRenderer Shape_09;

ModelRenderer Shape_10;

ModelRenderer Shape_11;

ModelRenderer Shape_12;

ModelRenderer Shape_13;

ModelRenderer Shape_14;

ModelRenderer Shape_15;

public ModelBR10() {
this.textureWidth = 128;
this.textureHeight = 128;
this.Shape_01 = new ModelRenderer(this, true, true);
this.Shape_01.addBox(-2.0F, 0.0F, -1.5F, 4, 2, 3);
this.Shape_01.setRotationPoint(0.0F, -2.0F, 0.0F);
this.Shape_01.setTextureSize(128, 128);
this.Shape_01.mirror = true;
setRotation(this.Shape_01, 0.0F, 0.0F, 0.0F);
this.Shape_02 = new ModelRenderer(this, 17, true);
this.Shape_02.addBox(-1.5F, 0.0F, -2.0F, 3, 2, 4);
this.Shape_02.setRotationPoint(0.0F, -2.0F, 0.0F);
this.Shape_02.setTextureSize(128, 128);
this.Shape_02.mirror = true;
setRotation(this.Shape_02, 0.0F, 0.0F, 0.0F);
this.Shape_03 = new ModelRenderer(this, 33, true);
this.Shape_03.addBox(-2.0F, 0.0F, -2.5F, 4, 40, 5);
this.Shape_03.setRotationPoint(0.0F, -42.0F, 0.0F);
this.Shape_03.setTextureSize(128, 128);
this.Shape_03.mirror = true;
setRotation(this.Shape_03, 0.0F, 0.0F, 0.0F);
this.Shape_04 = new ModelRenderer(this, 57, true);
this.Shape_04.addBox(-2.5F, 0.0F, -2.0F, 5, 40, 4);
this.Shape_04.setRotationPoint(0.0F, -42.0F, 0.0F);
this.Shape_04.setTextureSize(128, 128);
this.Shape_04.mirror = true;
setRotation(this.Shape_04, 0.0F, 0.0F, 0.0F);
this.Shape_05 = new ModelRenderer(this, 81, true);
this.Shape_05.addBox(-1.5F, -4.0F, -4.0F, 3, 10, 10);
this.Shape_05.setRotationPoint(0.0F, -50.0F, 0.0F);
this.Shape_05.setTextureSize(128, 128);
this.Shape_05.mirror = true;
setRotation(this.Shape_05, -0.7853982F, 0.0F, 0.0F);
this.Shape_06 = new ModelRenderer(this, 105, true);
this.Shape_06.addBox(-1.5F, -1.5F, -7.0F, 3, 3, 6);
this.Shape_06.setRotationPoint(0.0F, -48.5F, -4.0F);
this.Shape_06.setTextureSize(128, 128);
this.Shape_06.mirror = true;
setRotation(this.Shape_06, 0.0F, 0.0F, 0.0F);
this.Shape_07 = new ModelRenderer(this, true, 9);
this.Shape_07.addBox(-1.5F, -1.5F, -6.0F, 3, 3, 6);
this.Shape_07.setRotationPoint(0.0F, -48.5F, 11.0F);
this.Shape_07.setTextureSize(128, 128);
this.Shape_07.mirror = true;
setRotation(this.Shape_07, 0.0F, 0.0F, 0.0F);
this.Shape_08 = new ModelRenderer(this, 17, 9);
this.Shape_08.addBox(-2.0F, 0.0F, -1.5F, 4, 2, 3);
this.Shape_08.setRotationPoint(0.0F, -44.0F, 0.0F);
this.Shape_08.setTextureSize(128, 128);
this.Shape_08.mirror = true;
setRotation(this.Shape_08, 0.0F, 0.0F, 0.0F);
this.Shape_09 = new ModelRenderer(this, 17, 17);
this.Shape_09.addBox(-1.5F, 0.0F, -2.0F, 3, 2, 4);
this.Shape_09.setRotationPoint(0.0F, -44.0F, 0.0F);
this.Shape_09.setTextureSize(128, 128);
this.Shape_09.mirror = true;
setRotation(this.Shape_09, 0.0F, 0.0F, 0.0F);
this.Shape_10 = new ModelRenderer(this, 105, 17);
this.Shape_10.addBox(-1.0F, -44.5F, -5.0F, 2, 45, 5);
this.Shape_10.setRotationPoint(0.0F, -50.5F, 0.0F);
this.Shape_10.setTextureSize(128, 128);
this.Shape_10.mirror = true;
setRotation(this.Shape_10, -0.0331613F, 0.0F, 0.0F);
this.Shape_11 = new ModelRenderer(this, true, 25);
this.Shape_11.addBox(-1.0F, -44.5F, 0.0F, 2, 45, 5);
this.Shape_11.setRotationPoint(0.0F, -50.5F, 0.0F);
this.Shape_11.setTextureSize(128, 128);
this.Shape_11.mirror = true;
setRotation(this.Shape_11, 0.0331613F, 0.0F, 0.0F);
this.Shape_12 = new ModelRenderer(this, 17, 25);
this.Shape_12.addBox(-1.0F, -4.0F, -4.0F, 2, 5, 5);
this.Shape_12.setRotationPoint(0.0F, -93.0F, 0.0F);
this.Shape_12.setTextureSize(128, 128);
this.Shape_12.mirror = true;
setRotation(this.Shape_12, -0.7853982F, 0.0F, 0.0F);
this.Shape_13 = new ModelRenderer(this, 81, 25);
this.Shape_13.addBox(-0.5F, -5.0F, -5.0F, 1, 6, 6);
this.Shape_13.setRotationPoint(0.0F, -93.0F, 0.0F);
this.Shape_13.setTextureSize(128, 128);
this.Shape_13.mirror = true;
setRotation(this.Shape_13, -0.7853982F, 0.0F, 0.0F);
this.Shape_14 = new ModelRenderer(this, 121, 17);
this.Shape_14.addBox(-0.5F, -45.2F, -6.0F, 1, 48, 1);
this.Shape_14.setRotationPoint(0.0F, -50.5F, 0.0F);
this.Shape_14.setTextureSize(128, 128);
this.Shape_14.mirror = true;
setRotation(this.Shape_14, -0.0383972F, 0.0F, 0.0F);
this.Shape_15 = new ModelRenderer(this, 97, 25);
this.Shape_15.addBox(-0.5F, -45.2F, 5.0F, 1, 48, 1);
this.Shape_15.setRotationPoint(0.0F, -50.5F, 0.0F);
this.Shape_15.setTextureSize(128, 128);
this.Shape_15.mirror = true;
setRotation(this.Shape_15, 0.0383972F, 0.0F, 0.0F);
}

public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
super.render(entity, f, f1, f2, f3, f4, f5);
setRotationAngles(f, f1, f2, f3, f4, f5);
this.Shape_01.render(f5);
this.Shape_02.render(f5);
this.Shape_03.render(f5);
this.Shape_04.render(f5);
this.Shape_05.render(f5);
this.Shape_06.render(f5);
this.Shape_07.render(f5);
this.Shape_08.render(f5);
this.Shape_09.render(f5);
this.Shape_10.render(f5);
this.Shape_11.render(f5);
this.Shape_12.render(f5);
this.Shape_13.render(f5);
this.Shape_14.render(f5);
this.Shape_15.render(f5);
}

private void setRotation(ModelRenderer model, float x, float y, float z) {
model.rotateAngleX = x;
model.rotateAngleY = y;
model.rotateAngleZ = z;
}

public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5) { setRotationAngles(f, f1, f2, f3, f4, f5, null); }
}
 
Последнее редактирование модератором:
Сверху