This commit is contained in:
wiiv committed 2015-07-07 18:52:22 +01:00
1 parent c04169556e
commit 43da128de3
6 files changed
+35

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

@@ -0,0 +1,35 @@
package model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
/**
* capriceCocoon - wiiv
* Created using Tabula 4.1.1
*/
public class capriceCocoon extends ModelBase {
public ModelRenderer shape1;
public capriceCocoon() {
this.textureWidth = 48;
this.textureHeight = 32;
this.shape1 = new ModelRenderer(this, 0, 0);
this.shape1.setRotationPoint(0.0F, 22.0F, 0.0F);
this.shape1.addBox(-5.0F, -8.0F, -7.0F, 10, 10, 14, 0.0F);
}
@Override
public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
this.shape1.render(f5);
}
/**
* 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;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB