Added tab registry.

This commit is contained in:
micdoodle8 committed 2013-08-15 01:31:12 -04:00
1 parent 7c452a9d23
commit 55e24953b9
11 files changed
+304 -199

No files matched your search

+2 -6
View File
@@ -3,16 +3,12 @@ package tconstruct.client;
import java.io.ByteArrayOutputStream;
import java.io.DataOutputStream;
import java.util.EnumSet;
import tconstruct.TConstruct;
import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.inventory.GuiContainer;
import net.minecraft.client.gui.inventory.GuiInventory;
import net.minecraft.client.settings.KeyBinding;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.network.packet.Packet250CustomPayload;
import net.minecraft.server.MinecraftServer;
import tconstruct.client.tabs.TabRegistry;
import cpw.mods.fml.common.TickType;
import cpw.mods.fml.common.network.PacketDispatcher;
@@ -67,7 +63,7 @@ public class TControls extends TKeyHandler
}
if (kb == invKey && mc.currentScreen != null && mc.currentScreen.getClass() == GuiInventory.class)// && !mc.playerController.isInCreativeMode())
{
TProxyClient.addTabsToInventory((GuiContainer) mc.currentScreen);
TabRegistry.addTabsToInventory((GuiContainer) mc.currentScreen);
}
/*if (kb == jumpKey) //Double jump
{