Topic category: Help with Minecraft modding (Java Edition)
I have a problem that every time I put the model of an entity made by the tabula, it says that the name is not available and supposedly has a blank space, I've tried everything from the old topics and nothing has solved, I'm using version 1.15.2 in both cited platforms
java model:
package my.first.mod.model;
import com.google.common.collect.ImmutableList;
import com.mojang.blaze3d.matrix.MatrixStack;
import com.mojang.blaze3d.vertex.IVertexBuilder;
import net.minecraft.client.renderer.entity.model.EntityModel;
import net.minecraft.client.renderer.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;
/**
* dodo - meuplo007
* Created using Tabula 8.0.0
*/
@OnlyIn(Dist.CLIENT)
public class dodo<T extends Entity> extends EntityModel<T> {
public ModelRenderer part1;
public ModelRenderer part2;
public ModelRenderer part3;
public ModelRenderer part4;
public ModelRenderer part5;
public ModelRenderer part6;
public ModelRenderer part14;
public ModelRenderer part16;
public ModelRenderer part18;
public ModelRenderer part19;
public ModelRenderer part20;
public ModelRenderer part21;
public ModelRenderer part22;
public ModelRenderer part23;
public ModelRenderer part24;
public ModelRenderer part25;
public ModelRenderer part26;
public ModelRenderer part27;
public ModelRenderer part28;
public ModelRenderer part29;
public ModelRenderer part30;
public ModelRenderer part31;
public ModelRenderer part32;
public ModelRenderer part33;
public ModelRenderer part34;
public ModelRenderer part35;
public ModelRenderer part36;
public ModelRenderer part37;
public ModelRenderer part38;
public ModelRenderer part7;
public ModelRenderer part12;
public ModelRenderer part8;
public ModelRenderer part9;
public ModelRenderer part10;
public ModelRenderer part11;
public ModelRenderer part13;
public ModelRenderer part15;
public ModelRenderer part17;
public dodo() {
this.textureWidth = 64;
this.textureHeight = 32;
this.part26 = new ModelRenderer(this, 13, 8);
this.part26.setRotationPoint(-0.6F, 11.0F, 4.0F);
this.part26.addBox(0.0F, 0.0F, -0.3F, 1.0F, 1.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part8 = new ModelRenderer(this, 38, 0);
this.part8.setRotationPoint(-4.2F, 0.0F, 0.0F);
this.part8.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.5F, 0.0F, 0.0F, 0.0F);
this.part15 = new ModelRenderer(this, 26, 2);
this.part15.setRotationPoint(-4.2F, 0.0F, 0.0F);
this.part15.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.7F, 0.0F, 0.0F, 0.0F);
this.part27 = new ModelRenderer(this, 35, 8);
this.part27.setRotationPoint(-0.6F, 11.8F, 4.6F);
this.part27.addBox(0.0F, 0.0F, 0.0F, 1.0F, 2.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part32 = new ModelRenderer(this, 31, 10);
this.part32.setRotationPoint(-3.1F, 13.0F, -4.3F);
this.part32.addBox(0.0F, 0.0F, 0.0F, 6.0F, 6.0F, 8.0F, 0.0F, 0.0F, 0.0F);
this.part33 = new ModelRenderer(this, 14, 10);
this.part33.setRotationPoint(1.6F, 23.9F, -1.6F);
this.part33.addBox(0.0F, 0.0F, 0.0F, 0.1F, 0.1F, 0.3F, 0.0F, 0.0F, 0.0F);
this.setRotateAngle(part33, 0.30927233146917027F, 0.0F, 0.0F);
this.part2 = new ModelRenderer(this, 14, 0);
this.part2.setRotationPoint(1.6F, 19.0F, 0.1F);
this.part2.addBox(0.0F, 0.0F, 0.0F, 1.0F, 5.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part18 = new ModelRenderer(this, 35, 2);
this.part18.setRotationPoint(3.0F, 13.9F, -2.8F);
this.part18.addBox(0.0F, 0.0F, 0.0F, 1.0F, 3.0F, 3.0F, 0.0F, 0.0F, 0.0F);
this.part13 = new ModelRenderer(this, 58, 0);
this.part13.setRotationPoint(-4.2F, 0.0F, 0.0F);
this.part13.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.5F, 0.0F, 0.0F, 0.0F);
this.part9 = new ModelRenderer(this, 42, 0);
this.part9.mirror = true;
this.part9.setRotationPoint(0.0F, 0.0F, 0.0F);
this.part9.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.5F, 0.0F, 0.0F, 0.0F);
this.part12 = new ModelRenderer(this, 54, 0);
this.part12.setRotationPoint(0.0F, 0.0F, 0.0F);
this.part12.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.5F, 0.0F, 0.0F, 0.0F);
this.part36 = new ModelRenderer(this, 59, 10);
this.part36.setRotationPoint(-2.2F, 23.9F, -1.8F);
this.part36.addBox(0.0F, 0.0F, 0.0F, 0.1F, 0.1F, 0.3F, 0.0F, 0.0F, 0.0F);
this.setRotateAngle(part36, 0.3127630032889644F, 0.0F, 0.0F);
this.part6 = new ModelRenderer(this, 30, 0);
this.part6.setRotationPoint(1.6F, 23.7F, -1.4F);
this.part6.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.5F, 0.0F, 0.0F, 0.0F);
this.part22 = new ModelRenderer(this, 40, 2);
this.part22.setRotationPoint(0.8F, 12.0F, 2.7F);
this.part22.addBox(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part1 = new ModelRenderer(this, 0, 0);
this.part1.setRotationPoint(0.0F, 15.2F, -4.0F);
this.part1.addBox(-2.0F, -6.0F, -2.0F, 4.0F, 6.0F, 3.0F, 0.0F, 0.0F, 0.0F);
this.part4 = new ModelRenderer(this, 22, 0);
this.part4.setRotationPoint(1.6F, 23.5F, 0.1F);
this.part4.addBox(0.0F, 0.0F, -1.0F, 1.0F, 0.5F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part37 = new ModelRenderer(this, 0, 11);
this.part37.setRotationPoint(2.1F, 23.7F, 1.5F);
this.part37.addBox(0.0F, 0.0F, 0.0F, 0.1F, 0.1F, 0.3F, 0.0F, 0.0F, 0.0F);
this.setRotateAngle(part37, -0.46914448828868976F, 0.0F, 0.0F);
this.part35 = new ModelRenderer(this, 55, 10);
this.part35.setRotationPoint(-1.7F, 23.9F, -1.6F);
this.part35.addBox(0.0F, 0.0F, 0.0F, 0.1F, 0.1F, 0.3F, 0.0F, 0.0F, 0.0F);
this.setRotateAngle(part35, 0.30927233146917027F, 0.0F, 0.0F);
this.part29 = new ModelRenderer(this, 0, 9);
this.part29.setRotationPoint(-2.0F, 11.0F, 3.7F);
this.part29.addBox(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part3 = new ModelRenderer(this, 18, 0);
this.part3.setRotationPoint(-2.6F, 19.0F, 0.1F);
this.part3.addBox(0.0F, 0.0F, 0.0F, 1.0F, 5.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part16 = new ModelRenderer(this, 30, 2);
this.part16.setRotationPoint(2.0F, 23.6F, 1.1F);
this.part16.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.5F, 0.0F, 0.0F, 0.0F);
this.part25 = new ModelRenderer(this, 14, 6);
this.part25.setRotationPoint(-0.6F, 12.0F, 2.7F);
this.part25.addBox(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part34 = new ModelRenderer(this, 51, 10);
this.part34.setRotationPoint(-2.6F, 23.9F, -1.6F);
this.part34.addBox(0.0F, 0.0F, 0.0F, 0.1F, 0.1F, 0.3F, 0.0F, 0.0F, 0.0F);
this.setRotateAngle(part34, 0.30927233146917027F, 0.0F, 0.0F);
this.part10 = new ModelRenderer(this, 46, 0);
this.part10.setRotationPoint(0.0F, 0.2F, -0.2F);
this.part10.addBox(0.0F, 0.0F, 0.0F, 0.1F, 0.1F, 0.3F, 0.0F, 0.0F, 0.0F);
this.setRotateAngle(part10, 0.3127630032889644F, 0.0F, 0.0F);
this.part24 = new ModelRenderer(this, 57, 4);
this.part24.setRotationPoint(0.8F, 11.8F, 4.6F);
this.part24.addBox(0.0F, 0.0F, 0.0F, 1.0F, 2.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part31 = new ModelRenderer(this, 2, 10);
this.part31.mirror = true;
this.part31.setRotationPoint(-1.5F, 10.0F, -14.4F);
this.part31.addBox(0.0F, 0.0F, 0.0F, 3.0F, 1.0F, 6.0F, 0.0F, 0.0F, 0.0F);
this.part14 = new ModelRenderer(this, 22, 2);
this.part14.setRotationPoint(2.0F, 23.7F, -1.6F);
this.part14.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.7F, 0.0F, 0.0F, 0.0F);
this.part28 = new ModelRenderer(this, 39, 8);
this.part28.setRotationPoint(-2.0F, 12.0F, 2.7F);
this.part28.addBox(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part20 = new ModelRenderer(this, 19, 4);
this.part20.setRotationPoint(-2.5F, 7.1F, -8.4F);
this.part20.addBox(0.0F, 0.0F, 0.0F, 5.0F, 5.0F, 3.0F, 0.0F, 0.0F, 0.0F);
this.part7 = new ModelRenderer(this, 34, 0);
this.part7.setRotationPoint(0.8F, 0.0F, 0.0F);
this.part7.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.3F, 0.0F, 0.0F, 0.0F);
this.part19 = new ModelRenderer(this, 43, 2);
this.part19.setRotationPoint(-4.0F, 13.9F, -2.8F);
this.part19.addBox(0.0F, 0.0F, 0.0F, 1.0F, 3.0F, 3.0F, 0.0F, 0.0F, 0.0F);
this.part17 = new ModelRenderer(this, 34, 2);
this.part17.setRotationPoint(-4.2F, 0.0F, 0.0F);
this.part17.addBox(0.0F, 0.0F, 0.0F, 0.2F, 0.3F, 0.5F, 0.0F, 0.0F, 0.0F);
this.part38 = new ModelRenderer(this, 34, 11);
this.part38.mirror = true;
this.part38.setRotationPoint(-2.2F, 23.7F, 1.5F);
this.part38.addBox(0.0F, 0.0F, 0.0F, 0.1F, 0.1F, 0.3F, 0.0F, 0.0F, 0.0F);
this.setRotateAngle(part38, -0.46914448828868976F, 0.0F, 0.0F);
this.part5 = new ModelRenderer(this, 26, 0);
this.part5.setRotationPoint(-2.6F, 23.5F, 0.2F);
this.part5.addBox(0.0F, 0.0F, -1.1F, 1.0F, 0.5F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part21 = new ModelRenderer(this, 45, 2);
this.part21.setRotationPoint(-1.5F, 8.4F, -14.4F);
this.part21.addBox(0.0F, 0.0F, 0.0F, 3.0F, 2.0F, 6.0F, 0.0F, 0.0F, 0.0F);
this.part30 = new ModelRenderer(this, 4, 9);
this.part30.setRotationPoint(-2.0F, 11.8F, 4.6F);
this.part30.addBox(0.0F, 0.0F, 0.0F, 1.0F, 2.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part23 = new ModelRenderer(this, 57, 2);
this.part23.setRotationPoint(0.8F, 11.0F, 3.7F);
this.part23.addBox(0.0F, 0.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, 0.0F, 0.0F);
this.part11 = new ModelRenderer(this, 50, 0);
this.part11.setRotationPoint(-0.4F, 0.0F, -0.2F);
this.part11.addBox(0.0F, 0.0F, 0.0F, 0.1F, 0.1F, 0.3F, 0.0F, 0.0F, 0.0F);
this.setRotateAngle(part11, 0.3127630032889644F, 0.0F, 0.0F);
this.part7.addChild(this.part8);
this.part14.addChild(this.part15);
this.part12.addChild(this.part13);
this.part7.addChild(this.part9);
this.part6.addChild(this.part12);
this.part9.addChild(this.part10);
this.part6.addChild(this.part7);
this.part16.addChild(this.part17);
this.part10.addChild(this.part11);
}
@Override
public void render(MatrixStack matrixStackIn, IVertexBuilder bufferIn, int packedLightIn, int packedOverlayIn, float red, float green, float blue, float alpha) {
ImmutableList.of(this.part26, this.part27, this.part32, this.part33, this.part2, this.part18, this.part36, this.part6, this.part22, this.part1, this.part4, this.part37, this.part35, this.part29, this.part3, this.part16, this.part25, this.part34, this.part24, this.part31, this.part14, this.part28, this.part20, this.part19, this.part38, this.part5, this.part21, this.part30, this.part23).forEach((modelRenderer) -> {
modelRenderer.render(matrixStackIn, bufferIn, packedLightIn, packedOverlayIn, red, green, blue, alpha);
});
}
@Override
public void setRotationAngles(T entityIn, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch) {}
/**
* This is a helper function from Tabula to set the rotation of model parts
*/
public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
modelRenderer.rotateAngleX = x;
modelRenderer.rotateAngleY = y;
modelRenderer.rotateAngleZ = z;
}
}
I dont know if tabula supports 1.14, and that might be the case. There is a free software called Blockbench, its easier here to make a java model than in tabula. I recommend this program