Update for 1.6.2 and ResourceLocation change. Still need to figure out languages.

This commit is contained in:
Christian 2013-07-09 16:15:30 -04:00
parent 4cd8213783
commit e9a9bcb46b
5 changed files with 5 additions and 6 deletions

View File

@ -70,9 +70,9 @@ public class ContainerIronChestBase extends Container {
} }
@Override @Override
public void onCraftGuiClosed(EntityPlayer entityplayer) public void onContainerClosed(EntityPlayer entityplayer)
{ {
super.onCraftGuiClosed(entityplayer); super.onContainerClosed(entityplayer);
chest.closeChest(); chest.closeChest();
} }

View File

@ -500,7 +500,7 @@ public class TileEntityIronChest extends TileEntity implements IInventory {
} }
@Override @Override
public boolean isStackValidForSlot(int i, ItemStack itemstack) public boolean isItemValidForSlot(int i, ItemStack itemstack)
{ {
return true; return true;
} }

View File

@ -13,7 +13,6 @@ package cpw.mods.ironchest.client;
import java.util.Map; import java.util.Map;
import net.minecraft.client.renderer.ChestItemRenderHelper; import net.minecraft.client.renderer.ChestItemRenderHelper;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import net.minecraft.world.World; import net.minecraft.world.World;

View File

@ -11,9 +11,9 @@
package cpw.mods.ironchest.client; package cpw.mods.ironchest.client;
import net.minecraft.client.gui.inventory.GuiContainer; import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.inventory.Container; import net.minecraft.inventory.Container;
import net.minecraft.inventory.IInventory; import net.minecraft.inventory.IInventory;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11; import org.lwjgl.opengl.GL11;

View File

@ -36,12 +36,12 @@ import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.entity.RenderItem; import net.minecraft.client.renderer.entity.RenderItem;
import net.minecraft.client.renderer.entity.RenderManager; import net.minecraft.client.renderer.entity.RenderManager;
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer; import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
import net.minecraft.client.resources.ResourceLocation;
import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.item.EntityItem;
import net.minecraft.item.Item; import net.minecraft.item.Item;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.ResourceLocation;
import net.minecraftforge.client.IItemRenderer; import net.minecraftforge.client.IItemRenderer;
import net.minecraftforge.client.MinecraftForgeClient; import net.minecraftforge.client.MinecraftForgeClient;