mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
Modularize TConstruct using Pulsar
This commit is contained in:
1 parent
edfe9ae7d4
commit
3de90bded2
24 files changed
+511
-3048
No files matched your search
@@ -47,6 +47,7 @@ import tconstruct.client.tabs.InventoryTabArmorExtended;
|
||||
import tconstruct.client.tabs.InventoryTabKnapsack;
|
||||
import tconstruct.client.tabs.InventoryTabVanilla;
|
||||
import tconstruct.client.tabs.TabRegistry;
|
||||
import tconstruct.common.TProxyCommon;
|
||||
import tconstruct.mechworks.MechworksProxyCommon;
|
||||
import tconstruct.mechworks.inventory.ContainerLandmine;
|
||||
import tconstruct.mechworks.logic.TileEntityLandmine;
|
||||
@@ -68,9 +69,19 @@ public class ArmorProxyClient extends ArmorProxyCommon
|
||||
{
|
||||
public ArmorProxyClient()
|
||||
{
|
||||
registerGuiHandler();
|
||||
MinecraftForge.EVENT_BUS.register(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void registerGuiHandler()
|
||||
{
|
||||
super.registerGuiHandler();
|
||||
TProxyCommon.registerClientGuiHandler(inventoryGui, this);
|
||||
TProxyCommon.registerClientGuiHandler(armorGuiID, this);
|
||||
TProxyCommon.registerClientGuiHandler(knapsackGuiID, this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getClientGuiElement (int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user