Finished (almost) everything !items
This commit is contained in:
parent
8eed901fcb
commit
a9507b3b68
145 changed files with 1261 additions and 2156 deletions
|
@ -10,9 +10,9 @@ import org.lwjgl.opengl.GL11;
|
|||
import WayofTime.alchemicalWizardry.common.tileEntity.TEChemistrySet;
|
||||
import WayofTime.alchemicalWizardry.common.tileEntity.container.ContainerWritingTable;
|
||||
|
||||
public class GuiWritingTable extends GuiContainer
|
||||
public class GuiChemistrySet extends GuiContainer
|
||||
{
|
||||
public GuiWritingTable(InventoryPlayer inventoryPlayer, TEChemistrySet tileEntity)
|
||||
public GuiChemistrySet(InventoryPlayer inventoryPlayer, TEChemistrySet tileEntity)
|
||||
{
|
||||
super(new ContainerWritingTable(inventoryPlayer, tileEntity));
|
||||
xSize = 176;
|
|
@ -1,7 +1,6 @@
|
|||
package WayofTime.alchemicalWizardry.common.tileEntity.gui;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
@ -55,8 +54,6 @@ public class GuiHandler implements IGuiHandler
|
|||
TileEntity tileEntity;
|
||||
BlockPos pos = new BlockPos(x, y, z);
|
||||
|
||||
ItemStack held = player.getHeldItem();
|
||||
|
||||
switch (id)
|
||||
{
|
||||
case 0:
|
||||
|
@ -64,7 +61,7 @@ public class GuiHandler implements IGuiHandler
|
|||
|
||||
if (tileEntity instanceof TEChemistrySet)
|
||||
{
|
||||
return new GuiWritingTable(player.inventory, (TEChemistrySet) tileEntity);
|
||||
return new GuiChemistrySet(player.inventory, (TEChemistrySet) tileEntity);
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
@ -2,7 +2,6 @@ package WayofTime.alchemicalWizardry.common.tileEntity.gui;
|
|||
|
||||
import WayofTime.alchemicalWizardry.common.tileEntity.TETeleposer;
|
||||
import WayofTime.alchemicalWizardry.common.tileEntity.container.ContainerTeleposer;
|
||||
import net.minecraft.client.gui.inventory.GuiBrewingStand;
|
||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue