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

Версия Minecraft
1.12.2
117
7
Каждый раз новые проблемы. Добавил вторую модельку моба в игру. С первой все прошло гладко - майнкрафт с ней запускается, все отлично работает. А вот почему-то со второй все наоборот. Если в РендерЕнтити юзать эту модель, то происходит краш клиента, хотя в модели я вряд ли смог бы допустить ошибки. Прикрепляю код модели, код РендерЕнтити и краш лог

Java:
package ru.test.Entity;

import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.entity.monster.EntityZombie;
import net.minecraft.util.math.MathHelper;

public class ModelSpitter extends ModelBase
{
    //fields
    public ModelRenderer tooth6;
    public ModelRenderer tooth5;
    public ModelRenderer tooth4;
    public ModelRenderer tooth3;
    public ModelRenderer tooth2;
    public ModelRenderer tooth1;
    public ModelRenderer lefttail;
    public ModelRenderer righttail;
    public ModelRenderer jaw;
    public ModelRenderer head1;
    public ModelRenderer rightbreast;
    public ModelRenderer leftbreast;
    public ModelRenderer belly;
    public ModelRenderer neck;
    public ModelRenderer body;
    public ModelRenderer head;
    public ModelRenderer rightarm;
    public ModelRenderer leftarm;
    public ModelRenderer leftleg;
    public ModelRenderer rightleg;
    public ModelRenderer toprightleg;
    public ModelRenderer topleftleg;

    public ModelSpitter()
    {
        textureWidth = 64;
        textureHeight = 64;

        this.tooth6.mirror = true;
        this.tooth6 = new ModelRenderer(this, 52, 20);
        this.tooth6.addBox(-3F, -0.5F, -2F, 0, 1, 2);
        this.tooth6.setRotationPoint(0F, -5F, -5F);
        this.tooth6.setTextureSize(64, 64);
        this.tooth6.mirror = true;
        setRotation(tooth6, 0.8726646F, 0F, 0F);

        this.tooth6.mirror = false;
        this.tooth5 = new ModelRenderer(this, 50, 22);
        this.tooth5.addBox(-3F, -0.5F, -2.5F, 1, 1, 0);
        this.tooth5.setRotationPoint(0F, -5F, -5F);
        this.tooth5.setTextureSize(64, 64);
        this.tooth5.mirror = true;
        setRotation(tooth5, 0.8726646F, 0F, 0F);

        this.tooth4 = new ModelRenderer(this, 56, 20);
        this.tooth4.addBox(2F, -0.5F, -2.5F, 2, 1, 0);
        this.tooth4.setRotationPoint(-1F, -5F, -5F);
        this.tooth4.setTextureSize(64, 64);
        this.tooth4.mirror = true;
        setRotation(tooth4, 0.8726646F, 0F, 0F);

        this.tooth3 = new ModelRenderer(this, 50, 21);
        this.tooth3.addBox(0F, 0F, 0F, 1, 1, 0);
        this.tooth3.setRotationPoint(2F, -7F, -7.5F);
        this.tooth3.setTextureSize(64, 64);
        this.tooth3.mirror = true;
        setRotation(tooth3, 0F, 0F, 0.7853982F);

        this.tooth2 = new ModelRenderer(this, 48, 21);
        this.tooth2.addBox(0F, 0F, 0F, 1, 1, 0);
        this.tooth2.setRotationPoint(-0.5F, -6.5F, -7.5F);
        this.tooth2.setTextureSize(64, 64);
        this.tooth2.mirror = true;
        setRotation(tooth2, 0F, 0F, 0F);

        this.tooth1 = new ModelRenderer(this, 48, 20);
        this.tooth1.addBox(0F, 0F, 0F, 2, 1, 0);
        this.tooth1.setRotationPoint(-3F, -6.5F, -7.5F);
        this.tooth1.setTextureSize(64, 64);
        this.tooth1.mirror = true;
        setRotation(tooth1, 0F, 0F, 0F);

        this.lefttail = new ModelRenderer(this, 60, 23);
        this.lefttail.addBox(0F, 0F, 0F, 1, 9, 1);
        this.lefttail.setRotationPoint(2.5F, -9F, -2F);
        this.lefttail.setTextureSize(64, 64);
        this.lefttail.mirror = true;
        setRotation(lefttail, 0.0698132F, 0F, -0.0698132F);

        this.righttail = new ModelRenderer(this, 60, 23);
        this.righttail.addBox(-1F, 0F, 0F, 1, 9, 1);
        this.righttail.setRotationPoint(-2.5F, -9F, -2F);
        this.righttail.setTextureSize(64, 64);
        this.righttail.mirror = true;
        setRotation(righttail, 0.0698132F, 0F, 0.0698132F);

        this.jaw = new ModelRenderer(this, 28, 6);
        this.jaw.addBox(-3.5F, 0F, -3F, 7, 2, 3);
        this.jaw.setRotationPoint(0F, -5F, -5F);
        this.jaw.setTextureSize(64, 64);
        this.jaw.mirror = true;
        setRotation(jaw, 0.8726646F, 0F, 0F);

        this.head1 = new ModelRenderer(this, 28, 0);
        this.head1.addBox(0F, 0F, 0F, 7, 2, 4);
        this.head1.setRotationPoint(-3.5F, -6F, -5F);
        this.head1.setTextureSize(64, 64);
        this.head1.mirror = true;
        setRotation(head1, 0F, 0F, 0F);

        this.rightbreast = new ModelRenderer(this, 52, 29);
        this.rightbreast.addBox(0F, 0F, 0F, 2, 3, 1);
        this.rightbreast.setRotationPoint(-3F, 4F, -3F);
        this.rightbreast.setTextureSize(64, 64);
        this.rightbreast.mirror = true;
        setRotation(rightbreast, -0.2094395F, 0F, 0F);

        this.leftbreast = new ModelRenderer(this, 52, 24);
        this.leftbreast.addBox(0F, 0F, 0F, 2, 3, 1);
        this.leftbreast.setRotationPoint(1F, 4F, -3F);
        this.leftbreast.setTextureSize(64, 64);
        this.leftbreast.mirror = true;
        setRotation(leftbreast, -0.2094395F, 0F, 0F);

        this.belly = new ModelRenderer(this, 48, 12);
        this.belly.addBox(-3F, -5F, -2F, 6, 5, 2);
        this.belly.setRotationPoint(0F, 13F, -2F);
        this.belly.setTextureSize(64, 64);
        this.belly.mirror = true;
        setRotation(belly, -0.2094395F, 0F, 0F);

        this.neck = new ModelRenderer(this, 50, 0);
        this.neck.addBox(-2F, -5F, 0F, 3, 5, 3);
        this.neck.setRotationPoint(0.5F, 1F, -3F);
        this.neck.setTextureSize(64, 64);
        this.neck.mirror = true;
        setRotation(neck, 0.296706F, 0F, 0F);

        this.body = new ModelRenderer(this, 0, 12);
        this.body.addBox(-4F, -12F, -3F, 8, 13, 3);
        this.body.setRotationPoint(0F, 12F, 1F);
        this.body.setTextureSize(64, 64);
        this.body.mirror = true;
        setRotation(body, 0.1047198F, 0F, 0F);

        this.head = new ModelRenderer(this, 0, 0);
        this.head.addBox(-4F, -7F, -4F, 7, 5, 7);
        this.head.setRotationPoint(0.5F, -4F, -4F);
        this.head.setTextureSize(64, 64);
        this.head.mirror = true;
        setRotation(head, 0F, 0F, 0F);

        this.rightarm = new ModelRenderer(this, 35, 12);
        this.rightarm.addBox(-3F, -1F, -2F, 3, 12, 3);
        this.rightarm.setRotationPoint(-4F, 3F, -1F);
        this.rightarm.setTextureSize(64, 64);
        this.rightarm.mirror = true;
        setRotation(rightarm, 0F, 0F, 0F);

        this.leftarm = new ModelRenderer(this, 23, 12);
        this.leftarm.addBox(-1F, -1F, -2F, 3, 12, 3);
        this.leftarm.setRotationPoint(5F, 3F, -1F);
        this.leftarm.setTextureSize(64, 64);
        this.leftarm.mirror = true;
        setRotation(leftarm, 0F, 0F, 0F);

        this.leftleg = new ModelRenderer(this, 39, 29);
        this.leftleg.addBox(0F, 0F, 0F, 3, 7, 3);
        this.leftleg.setRotationPoint(1F, 17F, -4.4F);
        this.leftleg.setTextureSize(64, 64);
        this.leftleg.mirror = true;
        setRotation(leftleg, 0.1745329F, 0F, 0F);

        this.rightleg = new ModelRenderer(this, 26, 29);
        this.rightleg.addBox(0F, 0F, 0F, 3, 7, 3);
        this.rightleg.setRotationPoint(-4F, 17F, -4.4F);
        this.rightleg.setTextureSize(64, 64);
        this.rightleg.mirror = true;
        setRotation(rightleg, 0.1745329F, 0F, 0F);

        this.toprightleg = new ModelRenderer(this, 0, 29);
        this.toprightleg.addBox(-2F, 0F, -3F, 3, 6, 3);
        this.toprightleg.setRotationPoint(-2F, 13F, 1F);
        this.toprightleg.setTextureSize(64, 64);
        this.toprightleg.mirror = true;
        setRotation(toprightleg, -0.4712389F, 0F, 0F);

        this.topleftleg = new ModelRenderer(this, 13, 29);
        this.topleftleg.addBox(-2F, 0F, -3F, 3, 6, 3);
        this.topleftleg.setRotationPoint(3F, 13F, 1F);
        this.topleftleg.setTextureSize(64, 64);
        this.topleftleg.mirror = true;
        setRotation(topleftleg, -0.4712389F, 0F, 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, entity);
        tooth6.render(f5);
        tooth5.render(f5);
        tooth4.render(f5);
        tooth3.render(f5);
        tooth2.render(f5);
        tooth1.render(f5);
        lefttail.render(f5);
        righttail.render(f5);
        jaw.render(f5);
        head1.render(f5);
        rightbreast.render(f5);
        leftbreast.render(f5);
        belly.render(f5);
        neck.render(f5);
        body.render(f5);
        head.render(f5);
        rightarm.render(f5);
        leftarm.render(f5);
        leftleg.render(f5);
        rightleg.render(f5);
        toprightleg.render(f5);
        topleftleg.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 limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch, float scaleFactor, Entity entityIn)
    {
        super.setRotationAngles(limbSwing, limbSwingAmount, ageInTicks, netHeadYaw, headPitch, scaleFactor, entityIn);

        boolean flag = entityIn instanceof EntityZombie && ((EntityZombie)entityIn).isArmsRaised();
        float f = MathHelper.sin(this.swingProgress * (float)Math.PI);
        float f1 = MathHelper.sin((1.0F - (1.0F - this.swingProgress) * (1.0F - this.swingProgress)) * (float)Math.PI);
        this.rightarm.rotateAngleZ = 0.0F;
        this.leftarm.rotateAngleZ = 0.0F;
        this.rightarm.rotateAngleY = -(0.1F - f * 0.6F);
        this.leftarm.rotateAngleY = 0.1F - f * 0.6F;
        float f2 = -(float)Math.PI / (flag ? 1.5F : 2.25F);
        this.rightarm.rotateAngleX = f2;
        this.leftarm.rotateAngleX = f2;
        this.rightarm.rotateAngleX += f * 1.2F - f1 * 0.4F;
        this.leftarm.rotateAngleX += f * 1.2F - f1 * 0.4F;
        this.rightarm.rotateAngleZ += MathHelper.cos(ageInTicks * 0.09F) * 0.05F + 0.05F;
        this.leftarm.rotateAngleZ -= MathHelper.cos(ageInTicks * 0.09F) * 0.05F + 0.05F;
        this.rightarm.rotateAngleX += MathHelper.sin(ageInTicks * 0.067F) * 0.05F;
        this.leftarm.rotateAngleX -= MathHelper.sin(ageInTicks * 0.067F) * 0.05F;

    }

}
package ru.test.Entity;

import javax.annotation.Nonnull;

import net.minecraft.client.model.ModelZombie;
import net.minecraft.client.renderer.entity.Render;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.fml.client.registry.IRenderFactory;

public class RenderEntitySpitter extends RenderLiving<EntitySpitter>
{
private ResourceLocation mobTexture = new ResourceLocation("testmod", "textures/entity/spitter.png");

public RenderEntitySpitter(RenderManager manager)
{
super(manager, new ModelSpitter(), 0.5F);
}

public static Factory FACTORY = new Factory();

@Override
@Nonnull
protected ResourceLocation getEntityTexture(@Nonnull EntitySpitter entity)
{
return mobTexture;
}

public static class Factory implements IRenderFactory<EntitySpitter>
{
@Override
public Render<? super EntitySpitter> createRenderFor(RenderManager manager)
{
return new RenderEntitySpitter(manager);
}
}
}
 
Краш-лог
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
at ru.test.Entity.ModelSpitter.<init>(ModelSpitter.java:40)
at ru.test.Entity.RenderEntitySpitter.<init>(RenderEntitySpitter.java:18)
at ru.test.Entity.RenderEntitySpitter$Factory.createRenderFor(RenderEntitySpitter.java:35)
at net.minecraftforge.fml.client.registry.RenderingRegistry.register(RenderingRegistry.java:76)
at net.minecraftforge.fml.client.registry.RenderingRegistry.loadEntityRenderers(RenderingRegistry.java:69)
at net.minecraft.client.renderer.entity.RenderManager.<init>(RenderManager.java:236)
at net.minecraft.client.Minecraft.init(Minecraft.java:564)

-- Initialization --
Details:
Stacktrace:
at net.minecraft.client.Minecraft.run(Minecraft.java:421)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
Minecraft Version: 1.12.2
Operating System: Windows 10 (amd64) version 10.0
Java Version: 1.8.0_161, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 792680040 bytes (755 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: MCP 9.42 Powered by Forge 14.23.1.2601 5 mods loaded, 5 mods active
States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

| State | ID | Version | Source | Signature |
|:----- |:--------- |:------------ |:-------------------------------- |:--------- |
| UCH | minecraft | 1.12.2 | minecraft.jar | None |
| UCH | mcp | 9.42 | minecraft.jar | None |
| UCH | FML | 8.0.99.99 | forgeSrc-1.12.2-14.23.1.2601.jar | None |
| UCH | forge | 14.23.1.2601 | forgeSrc-1.12.2-14.23.1.2601.jar | None |
| UCH | testmod | 1.0 | bin | None |

Loaded coremods (and transformers):
GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 398.11' Renderer: 'GeForce GTX 1060 6GB/PCIe/SSE2'
Launched Version: 1.12.2
LWJGL: 2.9.4
OpenGL: GeForce GTX 1060 6GB/PCIe/SSE2 GL version 4.6.0 NVIDIA 398.11, NVIDIA Corporation
GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

Using VBOs: Yes
Is Modded: Definitely; Client brand changed to 'fml,forge'
Type: Client (map_client.txt)
Resource Packs:
Current Language: Русский (Россия)
Profiler Position: N/A (disabled)
CPU: 4x Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
[12:02:24] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\wowul\Desktop\Test\run\.\crash-reports\crash-2018-07-23_12.02.24-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Краш-лог:
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
	at ru.test.Entity.ModelSpitter.<init>(ModelSpitter.java:40)
	at ru.test.Entity.RenderEntitySpitter.<init>(RenderEntitySpitter.java:18)
	at ru.test.Entity.RenderEntitySpitter$Factory.createRenderFor(RenderEntitySpitter.java:35)
	at net.minecraftforge.fml.client.registry.RenderingRegistry.register(RenderingRegistry.java:76)
	at net.minecraftforge.fml.client.registry.RenderingRegistry.loadEntityRenderers(RenderingRegistry.java:69)
	at net.minecraft.client.renderer.entity.RenderManager.<init>(RenderManager.java:236)
	at net.minecraft.client.Minecraft.init(Minecraft.java:564)

-- Initialization --
Details:
Stacktrace:
	at net.minecraft.client.Minecraft.run(Minecraft.java:421)
	at net.minecraft.client.main.Main.main(Main.java:118)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
	at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
	at GradleStart.main(GradleStart.java:26)

-- System Details --
Details:
	Minecraft Version: 1.12.2
	Operating System: Windows 10 (amd64) version 10.0
	Java Version: 1.8.0_161, Oracle Corporation
	Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
	Memory: 792680040 bytes (755 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
	JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
	IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
	FML: MCP 9.42 Powered by Forge 14.23.1.2601 5 mods loaded, 5 mods active
	States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored

	| State | ID        | Version      | Source                           | Signature |
	|:----- |:--------- |:------------ |:-------------------------------- |:--------- |
	| UCH   | minecraft | 1.12.2       | minecraft.jar                    | None      |
	| UCH   | mcp       | 9.42         | minecraft.jar                    | None      |
	| UCH   | FML       | 8.0.99.99    | forgeSrc-1.12.2-14.23.1.2601.jar | None      |
	| UCH   | forge     | 14.23.1.2601 | forgeSrc-1.12.2-14.23.1.2601.jar | None      |
	| UCH   | testmod   | 1.0          | bin                              | None      |

	Loaded coremods (and transformers): 
	GL info: ' Vendor: 'NVIDIA Corporation' Version: '4.6.0 NVIDIA 398.11' Renderer: 'GeForce GTX 1060 6GB/PCIe/SSE2'
	Launched Version: 1.12.2
	LWJGL: 2.9.4
	OpenGL: GeForce GTX 1060 6GB/PCIe/SSE2 GL version 4.6.0 NVIDIA 398.11, NVIDIA Corporation
	GL Caps: Using GL 1.3 multitexturing.
Using GL 1.3 texture combiners.
Using framebuffer objects because OpenGL 3.0 is supported and separate blending is supported.
Shaders are available because OpenGL 2.1 is supported.
VBOs are available because OpenGL 1.5 is supported.

	Using VBOs: Yes
	Is Modded: Definitely; Client brand changed to 'fml,forge'
	Type: Client (map_client.txt)
	Resource Packs: 
	Current Language: Русский (Россия)
	Profiler Position: N/A (disabled)
	CPU: 4x Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz
[12:02:24] [main/INFO] [STDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:629]: #@!@# Game crashed! Crash report saved to: #@!@# C:\Users\wowul\Desktop\Test\run\.\crash-reports\crash-2018-07-23_12.02.24-client.txt
AL lib: (EE) alc_cleanup: 1 device not closed
Java HotSpot(TM) 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
Сверху