Delete old models

This commit is contained in:
Vincent Lee committed 2016-05-02 19:59:08 -05:00
1 parent bb152907a7
commit 6889afc34e
5 files changed
-253

No files matched your search

@@ -1,88 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the Botania Mod. Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under the
* Botania License: http://botaniamod.net/license.php
*
* File Created @ [Jan 21, 2014, 7:56:15 PM (GMT)]
*/
package vazkii.botania.client.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
public class ModelAltar extends ModelBase {
ModelRenderer gobletBase;
ModelRenderer gobletBase2;
ModelRenderer gobletBase3;
ModelRenderer gobletStand;
ModelRenderer kelkBase;
ModelRenderer kelkBase2;
ModelRenderer kelkWall1;
ModelRenderer kelkWall2;
ModelRenderer kelkWall3;
ModelRenderer kelkWall4;
public ModelAltar() {
textureWidth = 256;
textureHeight = 128;
gobletBase = new ModelRenderer(this, 0, 0);
gobletBase.addBox(0F, 0F, 0F, 16, 2, 16);
gobletBase.setRotationPoint(-8F, 22F, -8F);
gobletBase.setTextureSize(256, 128);
gobletBase2 = new ModelRenderer(this, 0, 18);
gobletBase2.addBox(0F, 0F, 0F, 14, 1, 14);
gobletBase2.setRotationPoint(-7F, 21F, -7F);
gobletBase2.setTextureSize(256, 128);
gobletStand = new ModelRenderer(this, 68, 0);
gobletStand.addBox(0F, 0F, 0F, 6, 8, 6);
gobletStand.setRotationPoint(-3F, 12F, -3F);
gobletStand.setTextureSize(256, 128);
gobletBase3 = new ModelRenderer(this, 0, 33);
gobletBase3.addBox(0F, 0F, 0F, 12, 1, 12);
gobletBase3.setRotationPoint(-6F, 20F, -6F);
gobletBase3.setTextureSize(256, 128);
kelkBase = new ModelRenderer(this, 72, 45);
kelkBase.addBox(0F, 0F, 0F, 8, 1, 8);
kelkBase.setRotationPoint(-4F, 11F, -4F);
kelkBase.setTextureSize(256, 128);
kelkBase2 = new ModelRenderer(this, 72, 34);
kelkBase2.addBox(0F, 0F, 0F, 10, 1, 10);
kelkBase2.setRotationPoint(-5F, 10F, -5F);
kelkBase2.setTextureSize(256, 128);
kelkWall1 = new ModelRenderer(this, 72, 18);
kelkWall1.addBox(0F, 0F, 0F, 1, 6, 10);
kelkWall1.setRotationPoint(5F, 4F, -5F);
kelkWall1.setTextureSize(256, 128);
kelkWall2 = new ModelRenderer(this, 72, 18);
kelkWall2.addBox(0F, 0F, 0F, 1, 6, 10);
kelkWall2.setRotationPoint(-6F, 4F, -5F);
kelkWall2.setTextureSize(256, 128);
kelkWall3 = new ModelRenderer(this, 94, 18);
kelkWall3.addBox(0F, 0F, 0F, 10, 6, 1);
kelkWall3.setRotationPoint(-5F, 4F, 5F);
kelkWall3.setTextureSize(256, 128);
kelkWall4 = new ModelRenderer(this, 94, 18);
kelkWall4.addBox(0F, 0F, 0F, 10, 6, 1);
kelkWall4.setRotationPoint(-5F, 4F, -6F);
kelkWall4.setTextureSize(256, 128);
}
public void render() {
float f = 1F / 16F;
gobletBase.render(f);
gobletBase2.render(f);
gobletBase3.render(f);
gobletStand.render(f);
kelkBase.render(f);
kelkBase2.render(f);
kelkWall1.render(f);
kelkWall2.render(f);
kelkWall3.render(f);
kelkWall4.render(f);
}
}
@@ -1,32 +0,0 @@
/**
* This class was created by <wiiv>. It's distributed as
* part of the Botania Mod. Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under the
* Botania License: http://botaniamod.net/license.php
*
* File Created @ [? (GMT)]
*/
package vazkii.botania.client.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
public class ModelCocoon extends ModelBase {
public ModelRenderer shape;
public ModelCocoon() {
textureWidth = 64;
textureHeight = 32;
shape = new ModelRenderer(this, 0, 0);
shape.setRotationPoint(0.0F, 22.0F, 0.0F);
shape.addBox(-5.0F, -8.0F, -7.0F, 10, 10, 14, 0.0F);
}
public void render() {
shape.render(1F / 16F);
}
}
@@ -1,43 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the Botania Mod. Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under the
* Botania License: http://botaniamod.net/license.php
*
* File Created @ [May 15, 2015, 4:17:37 PM (GMT)]
*/
package vazkii.botania.client.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
public class ModelIncensePlate extends ModelBase {
ModelRenderer Plate;
ModelRenderer High;
public ModelIncensePlate() {
textureWidth = 64;
textureHeight = 32;
Plate = new ModelRenderer(this, 0, 0);
Plate.addBox(0F, 0F, 0F, 12, 1, 4);
Plate.setRotationPoint(-6F, 23F, -2F);
Plate.setTextureSize(64, 32);
Plate.mirror = true;
High = new ModelRenderer(this, 0, 6);
High.addBox(0F, 0F, 0F, 3, 1, 4);
High.setRotationPoint(-6F, 22F, -2F);
High.setTextureSize(64, 32);
High.mirror = true;
}
public void render() {
float f5 = 1F / 16F;
Plate.render(f5);
High.render(f5);
}
}
@@ -1,84 +0,0 @@
/**
* This class was created by <Vazkii>. It's distributed as
* part of the Botania Mod. Get the Source Code in github:
* https://github.com/Vazkii/Botania
*
* Botania is Open Source and distributed under the
* Botania License: http://botaniamod.net/license.php
*
* File Created @ [Jul 8, 2014, 10:07:54 PM (GMT)]
*/
package vazkii.botania.client.model;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
public class ModelMiniIsland extends ModelBase {
ModelRenderer island;
public ModelMiniIsland() {
textureWidth = 64;
textureHeight = 32;
setTextureOffset("island.Shape0", 0, 0);
setTextureOffset("island.Shape1-1", 8, 0);
setTextureOffset("island.Shape1-2", 16, 0);
setTextureOffset("island.Shape1-3", 24, 0);
setTextureOffset("island.Shape1-4", 32, 0);
setTextureOffset("island.Shape2-1", 8, 6);
setTextureOffset("island.Shape2-2", 16, 6);
setTextureOffset("island.Shape2-3", 24, 6);
setTextureOffset("island.Shape2-4", 32, 6);
setTextureOffset("island.Shape2-5", 8, 11);
setTextureOffset("island.Shape2-6", 16, 11);
setTextureOffset("island.Shape2-7", 24, 11);
setTextureOffset("island.Shape2-8", 32, 11);
setTextureOffset("island.Shape3-1", 8, 16);
setTextureOffset("island.Shape3-2", 16, 16);
setTextureOffset("island.Shape3-3", 24, 16);
setTextureOffset("island.Shape3-4", 32, 16);
setTextureOffset("island.Shape3-5", 8, 20);
setTextureOffset("island.Shape3-6", 16, 20);
setTextureOffset("island.Shape3-7", 24, 20);
setTextureOffset("island.Shape3-8", 32, 20);
setTextureOffset("island.Shape4-1", 8, 24);
setTextureOffset("island.Shape4-2", 16, 24);
setTextureOffset("island.Shape4-3", 24, 24);
setTextureOffset("island.Shape4-4", 32, 24);
island = new ModelRenderer(this, "island");
island.setRotationPoint(0F, 16F, 0F);
// island.mirror = true;
island.addBox("Shape0", -1F, 0F, -1F, 2, 5, 2);
island.addBox("Shape1-1", -1F, 0F, -3F, 2, 4, 2);
island.addBox("Shape1-2", 1F, 0F, -1F, 2, 4, 2);
island.addBox("Shape1-3", -1F, 0F, 1F, 2, 4, 2);
island.addBox("Shape1-4", -3F, 0F, -1F, 2, 4, 2);
island.addBox("Shape2-1", -1F, 0F, -5F, 2, 3, 2);
island.addBox("Shape2-2", 3F, 0F, -1F, 2, 3, 2);
island.addBox("Shape2-3", -1F, 0F, 3F, 2, 3, 2);
island.addBox("Shape2-4", -5F, 0F, -1F, 2, 3, 2);
island.addBox("Shape2-5", 1F, 0F, -3F, 2, 3, 2);
island.addBox("Shape2-6", 1F, 0F, 1F, 2, 3, 2);
island.addBox("Shape2-7", -3F, 0F, 1F, 2, 3, 2);
island.addBox("Shape2-8", -3F, 0F, -3F, 2, 3, 2);
island.addBox("Shape3-1", 1F, 0F, -5F, 2, 2, 2);
island.addBox("Shape3-2", 3F, 0F, 1F, 2, 2, 2);
island.addBox("Shape3-3", -3F, 0F, 3F, 2, 2, 2);
island.addBox("Shape3-4", -5F, 0F, -3F, 2, 2, 2);
island.addBox("Shape3-5", 3F, 0F, -3F, 2, 2, 2);
island.addBox("Shape3-6", 1F, 0F, 3F, 2, 2, 2);
island.addBox("Shape3-7", -5F, 0F, 1F, 2, 2, 2);
island.addBox("Shape3-8", -3F, 0F, -5F, 2, 2, 2);
island.addBox("Shape4-1", 3F, 0F, -5F, 2, 1, 2);
island.addBox("Shape4-2", 3F, 0F, 3F, 2, 1, 2);
island.addBox("Shape4-3", -5F, 0F, 3F, 2, 1, 2);
island.addBox("Shape4-4", -5F, 0F, -5F, 2, 1, 2);
}
public void render() {
island.render(1F / 16F);
}
}
@@ -16,17 +16,11 @@ import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.block.model.IBakedModel;
import net.minecraft.client.renderer.texture.TextureMap;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import vazkii.botania.client.lib.LibResources;
import vazkii.botania.client.model.ModelCocoon;
import vazkii.botania.common.block.tile.TileCocoon;
public class RenderTileCocoon extends TileEntitySpecialRenderer<TileCocoon> {
private static final ResourceLocation texture = new ResourceLocation(LibResources.MODEL_COCOON);
ModelCocoon model = new ModelCocoon();
@Override
public void renderTileEntityAt(TileCocoon cocoon, double d0, double d1, double d2, float f, int digProgress) {
float rot = 0F;