Add a licence file and headers to all elements in Iron Chest

This commit is contained in:
Christian Weeks 2012-04-24 21:17:23 -04:00
parent f1cc63fade
commit 77b6332387
22 changed files with 420 additions and 201 deletions

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest.client; package cpw.mods.ironchest.client;
import java.io.File; import java.io.File;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest.client; package cpw.mods.ironchest.client;
import net.minecraft.src.Container; import net.minecraft.src.Container;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest.client; package cpw.mods.ironchest.client;
import net.minecraft.src.Block; import net.minecraft.src.Block;

View File

@ -1,198 +1,207 @@
package cpw.mods.ironchest.client; /*******************************************************************************
* Copyright (c) 2012 cpw.
import static org.lwjgl.opengl.GL11.glColor4f; * All rights reserved. This program and the accompanying materials
import static org.lwjgl.opengl.GL11.glDisable; * are made available under the terms of the GNU Public License v3.0
import static org.lwjgl.opengl.GL11.glEnable; * which accompanies this distribution, and is available at
import static org.lwjgl.opengl.GL11.glPopMatrix; * http://www.gnu.org/licenses/gpl.html
import static org.lwjgl.opengl.GL11.glPushMatrix; *
import static org.lwjgl.opengl.GL11.glRotatef; * Contributors:
import static org.lwjgl.opengl.GL11.glScalef; * cpw - initial API and implementation
import static org.lwjgl.opengl.GL11.glTranslatef; ******************************************************************************/
package cpw.mods.ironchest.client;
import java.util.Random;
import static org.lwjgl.opengl.GL11.glColor4f;
import net.minecraft.src.Block; import static org.lwjgl.opengl.GL11.glDisable;
import net.minecraft.src.EntityItem; import static org.lwjgl.opengl.GL11.glEnable;
import net.minecraft.src.Item; import static org.lwjgl.opengl.GL11.glPopMatrix;
import net.minecraft.src.ItemStack; import static org.lwjgl.opengl.GL11.glPushMatrix;
import net.minecraft.src.ModelChest; import static org.lwjgl.opengl.GL11.glRotatef;
import net.minecraft.src.RenderBlocks; import static org.lwjgl.opengl.GL11.glScalef;
import net.minecraft.src.Tessellator; import static org.lwjgl.opengl.GL11.glTranslatef;
import net.minecraft.src.TileEntity;
import net.minecraft.src.TileEntitySpecialRenderer; import java.util.Random;
import net.minecraft.src.forge.ForgeHooksClient;
import net.minecraft.src.forge.IItemRenderer; import net.minecraft.src.Block;
import net.minecraft.src.forge.ItemRenderType; import net.minecraft.src.EntityItem;
import net.minecraft.src.forge.MinecraftForgeClient; import net.minecraft.src.Item;
import cpw.mods.ironchest.IronChestType; import net.minecraft.src.ItemStack;
import cpw.mods.ironchest.TileEntityIronChest; import net.minecraft.src.ModelChest;
import net.minecraft.src.RenderBlocks;
public class TileEntityIronChestRenderer extends TileEntitySpecialRenderer { import net.minecraft.src.Tessellator;
private Random random; import net.minecraft.src.TileEntity;
private RenderBlocks renderBlocks; import net.minecraft.src.TileEntitySpecialRenderer;
import net.minecraft.src.forge.ForgeHooksClient;
private static float[][] shifts = { { 0.3F, 0.45F, 0.3F }, { 0.7F, 0.45F, 0.3F }, { 0.3F, 0.45F, 0.7F }, { 0.7F, 0.45F, 0.7F }, import net.minecraft.src.forge.IItemRenderer;
{ 0.3F, 0.1F, 0.3F }, { 0.7F, 0.1F, 0.3F }, { 0.3F, 0.1F, 0.7F }, { 0.7F, 0.1F, 0.7F }, { 0.5F, 0.32F, 0.5F }, }; import net.minecraft.src.forge.MinecraftForgeClient;
import cpw.mods.ironchest.IronChestType;
public TileEntityIronChestRenderer() { import cpw.mods.ironchest.TileEntityIronChest;
model = new ModelChest();
random = new Random(); public class TileEntityIronChestRenderer extends TileEntitySpecialRenderer {
renderBlocks = new RenderBlocks(); private Random random;
} private RenderBlocks renderBlocks;
public void render(TileEntityIronChest tile, double x, double y, double z, float partialTick) { private static float[][] shifts = { { 0.3F, 0.45F, 0.3F }, { 0.7F, 0.45F, 0.3F }, { 0.3F, 0.45F, 0.7F }, { 0.7F, 0.45F, 0.7F },
if (tile==null) { { 0.3F, 0.1F, 0.3F }, { 0.7F, 0.1F, 0.3F }, { 0.3F, 0.1F, 0.7F }, { 0.7F, 0.1F, 0.7F }, { 0.5F, 0.32F, 0.5F }, };
return;
} public TileEntityIronChestRenderer() {
int facing = 3; model = new ModelChest();
IronChestType type=tile.getType(); random = new Random();
if (tile != null && tile.worldObj != null) { renderBlocks = new RenderBlocks();
facing = tile.getFacing(); }
type=tile.getType();
int typ=tile.worldObj.getBlockMetadata(tile.xCoord,tile.yCoord,tile.zCoord); public void render(TileEntityIronChest tile, double x, double y, double z, float partialTick) {
type=IronChestType.values()[typ]; if (tile==null) {
} return;
bindTextureByName(type.getModelTexture()); }
int facing = 3;
glPushMatrix(); IronChestType type=tile.getType();
glEnable(32826 /* GL_RESCALE_NORMAL_EXT */); if (tile != null && tile.worldObj != null) {
glColor4f(1.0F, 1.0F, 1.0F, 1.0F); facing = tile.getFacing();
glTranslatef((float) x, (float) y + 1.0F, (float) z + 1.0F); type=tile.getType();
glScalef(1.0F, -1F, -1F); int typ=tile.worldObj.getBlockMetadata(tile.xCoord,tile.yCoord,tile.zCoord);
glTranslatef(0.5F, 0.5F, 0.5F); type=IronChestType.values()[typ];
int k = 0; }
if (facing == 2) { bindTextureByName(type.getModelTexture());
k = 180;
} glPushMatrix();
if (facing == 3) { glEnable(32826 /* GL_RESCALE_NORMAL_EXT */);
k = 0; glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
} glTranslatef((float) x, (float) y + 1.0F, (float) z + 1.0F);
if (facing == 4) { glScalef(1.0F, -1F, -1F);
k = 90; glTranslatef(0.5F, 0.5F, 0.5F);
} int k = 0;
if (facing == 5) { if (facing == 2) {
k = -90; k = 180;
} }
glRotatef(k, 0.0F, 1.0F, 0.0F); if (facing == 3) {
glTranslatef(-0.5F, -0.5F, -0.5F); k = 0;
float lidangle = tile.prevLidAngle + (tile.lidAngle - tile.prevLidAngle) * partialTick; }
lidangle = 1.0F - lidangle; if (facing == 4) {
lidangle = 1.0F - lidangle * lidangle * lidangle; k = 90;
model.chestLid.rotateAngleX = -((lidangle * 3.141593F) / 2.0F); }
// Render the chest itself if (facing == 5) {
model.renderAll(); k = -90;
glDisable(32826 /* GL_RESCALE_NORMAL_EXT */); }
glPopMatrix(); glRotatef(k, 0.0F, 1.0F, 0.0F);
glColor4f(1.0F, 1.0F, 1.0F, 1.0F); glTranslatef(-0.5F, -0.5F, -0.5F);
float lidangle = tile.prevLidAngle + (tile.lidAngle - tile.prevLidAngle) * partialTick;
if (type.isTransparent()) { lidangle = 1.0F - lidangle;
random.setSeed(254L); lidangle = 1.0F - lidangle * lidangle * lidangle;
float shiftX; model.chestLid.rotateAngleX = -((lidangle * 3.141593F) / 2.0F);
float shiftY; // Render the chest itself
float shiftZ; model.renderAll();
int shift = 0; glDisable(32826 /* GL_RESCALE_NORMAL_EXT */);
float spread = 0.1F; glPopMatrix();
float blockScale = 0.15F; glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
float timeD = (float) (360.0 * (double) (System.currentTimeMillis() & 0x3FFFL) / (double) 0x3FFFL);
if (tile.getTopItemStacks()[1] == null) { if (type.isTransparent()) {
shift = 8; random.setSeed(254L);
blockScale = 0.2F; float shiftX;
spread = 0.22F; float shiftY;
} float shiftZ;
glPushMatrix(); int shift = 0;
glDisable(2896 /* GL_LIGHTING */); float spread = 0.1F;
glEnable(32826 /* GL_RESCALE_NORMAL_EXT */); float blockScale = 0.15F;
glTranslatef((float) x, (float) y, (float) z); float timeD = (float) (360.0 * (double) (System.currentTimeMillis() & 0x3FFFL) / (double) 0x3FFFL);
EntityItem customitem=new EntityItem(tileEntityRenderer.worldObj); if (tile.getTopItemStacks()[1] == null) {
for (ItemStack item : tile.getTopItemStacks()) { shift = 8;
if (shift > shifts.length) { blockScale = 0.2F;
break; spread = 0.22F;
} }
if (item == null) { glPushMatrix();
shift++; glDisable(2896 /* GL_LIGHTING */);
continue; glEnable(32826 /* GL_RESCALE_NORMAL_EXT */);
} glTranslatef((float) x, (float) y, (float) z);
shiftX = shifts[shift][0]; EntityItem customitem=new EntityItem(tileEntityRenderer.worldObj);
shiftY = shifts[shift][1]; for (ItemStack item : tile.getTopItemStacks()) {
shiftZ = shifts[shift][2]; if (shift > shifts.length) {
shift++; break;
IItemRenderer customRenderer = MinecraftForgeClient.getItemRenderer(item,IItemRenderer.ItemRenderType.ENTITY); }
float localScale = blockScale; if (item == null) {
if (item.itemID < Block.blocksList.length && Block.blocksList[item.itemID]!=null) { shift++;
int j = Block.blocksList[item.itemID].getRenderType(); continue;
if (j == 1 || j == 19 || j == 12 || j == 2) { }
localScale = 2 * blockScale; shiftX = shifts[shift][0];
} shiftY = shifts[shift][1];
} shiftZ = shifts[shift][2];
glPushMatrix(); shift++;
glTranslatef(shiftX, shiftY, shiftZ); IItemRenderer customRenderer = MinecraftForgeClient.getItemRenderer(item,IItemRenderer.ItemRenderType.ENTITY);
glScalef(localScale, localScale, localScale); float localScale = blockScale;
for (int miniBlocks = 0; miniBlocks < (item.stackSize / 32) + 1; miniBlocks++) { if (item.itemID < Block.blocksList.length && Block.blocksList[item.itemID]!=null) {
glPushMatrix(); int j = Block.blocksList[item.itemID].getRenderType();
glRotatef(timeD, 0.0F, 1.0F, 0.0F); if (j == 1 || j == 19 || j == 12 || j == 2) {
if (miniBlocks > 0) { localScale = 2 * blockScale;
float minishiftX = ((random.nextFloat() * 2.0F - 1.0F) * spread) / localScale; }
float minishiftY = ((random.nextFloat() * 2.0F - 1.0F) * spread * 0.9F) / localScale; }
float minishiftZ = ((random.nextFloat() * 2.0F - 1.0F) * spread) / localScale; glPushMatrix();
glTranslatef(minishiftX, minishiftY, minishiftZ); glTranslatef(shiftX, shiftY, shiftZ);
} glScalef(localScale, localScale, localScale);
for (int miniBlocks = 0; miniBlocks < (item.stackSize / 32) + 1; miniBlocks++) {
if (customRenderer != null) { glPushMatrix();
customitem.item=item; glRotatef(timeD, 0.0F, 1.0F, 0.0F);
bindTextureByName("/terrain.png"); if (miniBlocks > 0) {
ForgeHooksClient.overrideTexture(item.getItem()); float minishiftX = ((random.nextFloat() * 2.0F - 1.0F) * spread) / localScale;
customRenderer.renderItem(IItemRenderer.ItemRenderType.ENTITY, item, renderBlocks, customitem); float minishiftY = ((random.nextFloat() * 2.0F - 1.0F) * spread * 0.9F) / localScale;
} else if (item.itemID < Block.blocksList.length && Block.blocksList[item.itemID]!=null && RenderBlocks.renderItemIn3d(Block.blocksList[item.itemID].getRenderType())) { float minishiftZ = ((random.nextFloat() * 2.0F - 1.0F) * spread) / localScale;
bindTextureByName("/terrain.png"); glTranslatef(minishiftX, minishiftY, minishiftZ);
ForgeHooksClient.overrideTexture(Block.blocksList[item.itemID]); }
renderBlocks.renderBlockAsItem(Block.blocksList[item.itemID], item.getItemDamage(), 1.0F);
} else { if (customRenderer != null) {
int i = item.getIconIndex(); customitem.item=item;
if (item.itemID >= Block.blocksList.length || Block.blocksList[item.itemID]==null) { bindTextureByName("/terrain.png");
bindTextureByName("/gui/items.png"); ForgeHooksClient.overrideTexture(item.getItem());
ForgeHooksClient.overrideTexture(Item.itemsList[item.itemID]); customRenderer.renderItem(IItemRenderer.ItemRenderType.ENTITY, item, renderBlocks, customitem);
} else { } else if (item.itemID < Block.blocksList.length && Block.blocksList[item.itemID]!=null && RenderBlocks.renderItemIn3d(Block.blocksList[item.itemID].getRenderType())) {
bindTextureByName("/terrain.png"); bindTextureByName("/terrain.png");
ForgeHooksClient.overrideTexture(Block.blocksList[item.itemID]); ForgeHooksClient.overrideTexture(Block.blocksList[item.itemID]);
} renderBlocks.renderBlockAsItem(Block.blocksList[item.itemID], item.getItemDamage(), 1.0F);
Tessellator tessellator = Tessellator.instance; } else {
float f5 = (float) ((i % 16) * 16 + 0) / 256F; int i = item.getIconIndex();
float f8 = (float) ((i % 16) * 16 + 16) / 256F; if (item.itemID >= Block.blocksList.length || Block.blocksList[item.itemID]==null) {
float f10 = (float) ((i / 16) * 16 + 0) / 256F; bindTextureByName("/gui/items.png");
float f12 = (float) ((i / 16) * 16 + 16) / 256F; ForgeHooksClient.overrideTexture(Item.itemsList[item.itemID]);
float f13 = 1.0F; } else {
float f14 = 0.5F; bindTextureByName("/terrain.png");
float f15 = 0.25F; ForgeHooksClient.overrideTexture(Block.blocksList[item.itemID]);
tessellator.startDrawingQuads(); }
tessellator.setNormal(0.0F, 1.0F, 0.0F); Tessellator tessellator = Tessellator.instance;
tessellator.addVertexWithUV(0.0F - f14, 0.0F - f15, 0.0D, f5, f12); float f5 = (float) ((i % 16) * 16 + 0) / 256F;
tessellator.addVertexWithUV(f13 - f14, 0.0F - f15, 0.0D, f8, f12); float f8 = (float) ((i % 16) * 16 + 16) / 256F;
tessellator.addVertexWithUV(f13 - f14, 1.0F - f15, 0.0D, f8, f10); float f10 = (float) ((i / 16) * 16 + 0) / 256F;
tessellator.addVertexWithUV(0.0F - f14, 1.0F - f15, 0.0D, f5, f10); float f12 = (float) ((i / 16) * 16 + 16) / 256F;
tessellator.draw(); float f13 = 1.0F;
glScalef(-1.0F, 1.0F, 1.0F); float f14 = 0.5F;
tessellator.startDrawingQuads(); float f15 = 0.25F;
tessellator.setNormal(0.0F, 1.0F, 0.0F); tessellator.startDrawingQuads();
tessellator.addVertexWithUV(0.0F - f14, 0.0F - f15, 0.0D, f5, f12); tessellator.setNormal(0.0F, 1.0F, 0.0F);
tessellator.addVertexWithUV(f13 - f14, 0.0F - f15, 0.0D, f8, f12); tessellator.addVertexWithUV(0.0F - f14, 0.0F - f15, 0.0D, f5, f12);
tessellator.addVertexWithUV(f13 - f14, 1.0F - f15, 0.0D, f8, f10); tessellator.addVertexWithUV(f13 - f14, 0.0F - f15, 0.0D, f8, f12);
tessellator.addVertexWithUV(0.0F - f14, 1.0F - f15, 0.0D, f5, f10); tessellator.addVertexWithUV(f13 - f14, 1.0F - f15, 0.0D, f8, f10);
tessellator.draw(); tessellator.addVertexWithUV(0.0F - f14, 1.0F - f15, 0.0D, f5, f10);
} tessellator.draw();
glPopMatrix(); glScalef(-1.0F, 1.0F, 1.0F);
} tessellator.startDrawingQuads();
glPopMatrix(); tessellator.setNormal(0.0F, 1.0F, 0.0F);
} tessellator.addVertexWithUV(0.0F - f14, 0.0F - f15, 0.0D, f5, f12);
glDisable(32826 /* GL_RESCALE_NORMAL_EXT */); tessellator.addVertexWithUV(f13 - f14, 0.0F - f15, 0.0D, f8, f12);
glEnable(2896 /* GL_LIGHTING */); tessellator.addVertexWithUV(f13 - f14, 1.0F - f15, 0.0D, f8, f10);
glPopMatrix(); tessellator.addVertexWithUV(0.0F - f14, 1.0F - f15, 0.0D, f5, f10);
glColor4f(1.0F, 1.0F, 1.0F, 1.0F); tessellator.draw();
} }
} glPopMatrix();
}
public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float partialTick) { glPopMatrix();
render((TileEntityIronChest) tileentity, x, y, z, partialTick); }
} glDisable(32826 /* GL_RESCALE_NORMAL_EXT */);
glEnable(2896 /* GL_LIGHTING */);
private ModelChest model; glPopMatrix();
} glColor4f(1.0F, 1.0F, 1.0F, 1.0F);
}
}
public void renderTileEntityAt(TileEntity tileentity, double x, double y, double z, float partialTick) {
render((TileEntityIronChest) tileentity, x, y, z, partialTick);
}
private ModelChest model;
}

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import java.util.ArrayList; import java.util.ArrayList;
@ -200,4 +210,4 @@ public class BlockIronChest extends BlockContainer implements ITextureProvider {
itemList.add(new ItemStack(this, 1, type.ordinal())); itemList.add(new ItemStack(this, 1, type.ordinal()));
} }
} }
} }

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import static cpw.mods.ironchest.IronChestType.COPPER; import static cpw.mods.ironchest.IronChestType.COPPER;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import net.minecraft.src.Container; import net.minecraft.src.Container;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import java.io.File; import java.io.File;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import java.util.ArrayList; import java.util.ArrayList;
@ -113,4 +123,4 @@ public enum IronChestType {
return this == CRYSTAL; return this == CRYSTAL;
} }
} }

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import net.minecraft.src.EntityPlayer; import net.minecraft.src.EntityPlayer;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
@ -94,4 +104,4 @@ public class PacketHandler implements IPacketHandler, IConnectionHandler {
pkt.isChunkDataPacket=true; pkt.isChunkDataPacket=true;
return pkt; return pkt;
} }
} }

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import net.minecraft.src.ModLoader; import net.minecraft.src.ModLoader;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
public class TileEntityCopperChest extends TileEntityIronChest { public class TileEntityCopperChest extends TileEntityIronChest {

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
public class TileEntityCrystalChest extends TileEntityIronChest { public class TileEntityCrystalChest extends TileEntityIronChest {

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
public class TileEntityDiamondChest extends TileEntityIronChest { public class TileEntityDiamondChest extends TileEntityIronChest {

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
public class TileEntityGoldChest extends TileEntityIronChest { public class TileEntityGoldChest extends TileEntityIronChest {

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
import java.util.Arrays; import java.util.Arrays;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;
public class TileEntitySilverChest extends TileEntityIronChest { public class TileEntitySilverChest extends TileEntityIronChest {

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest; package cpw.mods.ironchest;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package net.minecraft.src; package net.minecraft.src;
import java.io.File; import java.io.File;

View File

@ -1,3 +1,13 @@
/*******************************************************************************
* Copyright (c) 2012 cpw.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Public License v3.0
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/gpl.html
*
* Contributors:
* cpw - initial API and implementation
******************************************************************************/
package cpw.mods.ironchest.server; package cpw.mods.ironchest.server;
import java.io.File; import java.io.File;