ModelCow .java

net.minecraft.client.model.ModelCow (class, 28 lines): extends ModelQuadruped.

net.minecraft.client.modelclass28 linesclientextends ModelQuadruped1.0 KB

API Surface (0)

No public/protected methods detected (fields or constants only).

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

ModelCow.java28 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.client.model;
2
3
public class ModelCow extends ModelQuadruped
4
{
5
    public ModelCow()
6
    {
7
        super(12, 0.0F);
8
        this.head = new ModelRenderer(this, 0, 0);
9
        this.head.addBox(-4.0F, -4.0F, -6.0F, 8, 8, 6, 0.0F);
10
        this.head.setRotationPoint(0.0F, 4.0F, -8.0F);
11
        this.head.setTextureOffset(22, 0).addBox(-5.0F, -5.0F, -4.0F, 1, 3, 1, 0.0F);
12
        this.head.setTextureOffset(22, 0).addBox(4.0F, -5.0F, -4.0F, 1, 3, 1, 0.0F);
13
        this.body = new ModelRenderer(this, 18, 4);
14
        this.body.addBox(-6.0F, -10.0F, -7.0F, 12, 18, 10, 0.0F);
15
        this.body.setRotationPoint(0.0F, 5.0F, 2.0F);
16
        this.body.setTextureOffset(52, 0).addBox(-2.0F, 2.0F, -8.0F, 4, 6, 1);
17
        --this.leg1.rotationPointX;
18
        ++this.leg2.rotationPointX;
19
        this.leg1.rotationPointZ += 0.0F;
20
        this.leg2.rotationPointZ += 0.0F;
21
        --this.leg3.rotationPointX;
22
        ++this.leg4.rotationPointX;
23
        --this.leg3.rotationPointZ;
24
        --this.leg4.rotationPointZ;
25
        this.childZOffset += 2.0F;
26
    }
27
}
28

Deobfuscated MCP 1.8.9 source of ModelCow from Marcelektro/MavenMCP-1.8.9 (net/minecraft/client/model/ModelCow.java), stored verbatim.