Cleanup...

This commit is contained in:
Lizbeth Rika committed 2015-05-01 00:58:12 +01:00
1 parent 6c45975558
commit 861f40e64c
78 files changed
+367 -397

No files matched your search

@@ -12,41 +12,40 @@ package vazkii.botania.client.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class ModelCrystalCube extends ModelBase {
public ModelRenderer cube;
public ModelRenderer base1;
public ModelRenderer base2;
public ModelRenderer cube;
public ModelRenderer base1;
public ModelRenderer base2;
public ModelCrystalCube() {
this.textureWidth = 48;
this.textureHeight = 32;
this.cube = new ModelRenderer(this, 0, 0);
this.cube.setRotationPoint(0.0F, 12.0F, 0.0F);
this.cube.addBox(-4.0F, -4.0F, -4.0F, 8, 8, 8, 0.0F);
this.base1 = new ModelRenderer(this, 22, 0);
this.base1.setRotationPoint(0.0F, 16.0F, 0.0F);
this.base1.addBox(-3.0F, 7.0F, -3.0F, 6, 1, 6, 0.0F);
this.base2 = new ModelRenderer(this, 0, 16);
this.base2.setRotationPoint(0.0F, 0.0F, 0.0F);
this.base2.addBox(-5.0F, 3.0F, -5.0F, 10, 4, 10, 0.0F);
this.base1.addChild(this.base2);
}
public ModelCrystalCube() {
textureWidth = 48;
textureHeight = 32;
cube = new ModelRenderer(this, 0, 0);
cube.setRotationPoint(0.0F, 12.0F, 0.0F);
cube.addBox(-4.0F, -4.0F, -4.0F, 8, 8, 8, 0.0F);
base1 = new ModelRenderer(this, 22, 0);
base1.setRotationPoint(0.0F, 16.0F, 0.0F);
base1.addBox(-3.0F, 7.0F, -3.0F, 6, 1, 6, 0.0F);
base2 = new ModelRenderer(this, 0, 16);
base2.setRotationPoint(0.0F, 0.0F, 0.0F);
base2.addBox(-5.0F, 3.0F, -5.0F, 10, 4, 10, 0.0F);
base1.addChild(base2);
}
public void renderBase() {
float f5 = 1F / 16F;
this.base1.render(f5);
}
public void renderCube() {
float f5 = 1F / 16F;
this.cube.render(f5);
}
public void renderBase() {
float f5 = 1F / 16F;
base1.render(f5);
}
public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
modelRenderer.rotateAngleX = x;
modelRenderer.rotateAngleY = y;
modelRenderer.rotateAngleZ = z;
}
public void renderCube() {
float f5 = 1F / 16F;
cube.render(f5);
}
public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
modelRenderer.rotateAngleX = x;
modelRenderer.rotateAngleY = y;
modelRenderer.rotateAngleZ = z;
}
}