Revert "pushing broken code, its fun to look at though"

This reverts commit 49c9a7a1a5.
This commit is contained in:
Cricket committed 2015-06-01 17:06:53 -04:00
1 parent 49c9a7a1a5
commit 20146e5a47
10 files changed
-477

No files matched your search

@@ -1,79 +0,0 @@
// Date: 6/1/2015 1:45:59 PM
// Template version 1.1
// Java generated by Techne
// Keep in mind that you still need to fill in some blanks
// - ZeuX
package com.cricketcraft.chisel.client.render.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
public class ModelDeChisel extends ModelBase
{
//fields
ModelRenderer Shape1;
ModelRenderer Shape2;
ModelRenderer Shape3;
ModelRenderer Shape4;
public ModelDeChisel()
{
textureWidth = 128;
textureHeight = 32;
Shape1 = new ModelRenderer(this, 50, 0);
Shape1.addBox(0F, 0F, 0F, 16, 3, 16);
Shape1.setRotationPoint(-8F, 12F, -8F);
Shape1.setTextureSize(128, 32);
Shape1.mirror = true;
setRotation(Shape1, 0F, 0F, 0F);
Shape2 = new ModelRenderer(this, 0, 0);
Shape2.addBox(0F, 0F, 0F, 12, 3, 12);
Shape2.setRotationPoint(-6F, 15F, -6F);
Shape2.setTextureSize(128, 32);
Shape2.mirror = true;
setRotation(Shape2, 0F, 0F, 0F);
Shape3 = new ModelRenderer(this, 0, 18);
Shape3.addBox(0F, 0F, 0F, 8, 3, 8);
Shape3.setRotationPoint(-4F, 18F, -4F);
Shape3.setTextureSize(128, 32);
Shape3.mirror = true;
setRotation(Shape3, 0F, 0F, 0F);
Shape4 = new ModelRenderer(this, 67, 20);
Shape4.addBox(0F, 0F, 0F, 4, 3, 4);
Shape4.setRotationPoint(-2F, 21F, -2F);
Shape4.setTextureSize(128, 32);
Shape4.mirror = true;
setRotation(Shape4, 0F, 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);
Shape1.render(f5);
Shape2.render(f5);
Shape3.render(f5);
Shape4.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 f, float f1, float f2, float f3, float f4, float f5, Entity entity)
{
super.setRotationAngles(f, f1, f2, f3, f4, f5, entity);
}
}
@@ -1,15 +0,0 @@
package com.cricketcraft.chisel.client.render.tile;
import com.cricketcraft.chisel.client.render.model.ModelDeChisel;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.tileentity.TileEntity;
public class RenderDeChisel extends TileEntitySpecialRenderer{
private ModelDeChisel deChisel = new ModelDeChisel();
@Override
public void renderTileEntityAt(TileEntity tile, double x, double y, double z, float partialTicks) {
deChisel.render((Entity) null, 0.0F, 0.0F, -0.1F, 0.0F, 0.0F, 0.0625F);
}
}