mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-22 21:20:06 +00:00
Drawbridge, Igniter, and minor bugfixes
This commit is contained in:
1 parent
6af76e516e
commit
0b7b2fa63c
18 files changed
+281
-191
No files matched your search
@@ -19,6 +19,7 @@ import mods.tinker.tconstruct.client.pages.*;
|
||||
import mods.tinker.tconstruct.common.*;
|
||||
import mods.tinker.tconstruct.entity.*;
|
||||
import mods.tinker.tconstruct.entity.projectile.*;
|
||||
import mods.tinker.tconstruct.inventory.MiniGardyContainer;
|
||||
import mods.tinker.tconstruct.library.*;
|
||||
import mods.tinker.tconstruct.library.client.*;
|
||||
import mods.tinker.tconstruct.library.crafting.*;
|
||||
@@ -60,6 +61,7 @@ import net.minecraft.client.renderer.Tessellator;
|
||||
import net.minecraft.client.renderer.entity.RenderItem;
|
||||
import net.minecraft.client.settings.GameSettings;
|
||||
import net.minecraft.client.settings.KeyBinding;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
@@ -131,6 +133,18 @@ public class TProxyClient extends TProxyCommon
|
||||
TProxyClient.knapsack.init(Minecraft.getMinecraft().thePlayer);
|
||||
return new KnapsackGui(player.inventory, TProxyClient.knapsack);
|
||||
}
|
||||
if (ID == miniGardyGui)
|
||||
{
|
||||
for (Object o : world.loadedEntityList)
|
||||
{
|
||||
Entity entity = (Entity) o;
|
||||
if (entity.entityId == x)
|
||||
{
|
||||
return new MiniGardyGui(player.inventory, (MiniGardy) entity);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user