diff options
author | Blood-Asp <bloodasphendrik@gmail.com> | 2015-06-24 19:34:37 +0200 |
---|---|---|
committer | Blood-Asp <bloodasphendrik@gmail.com> | 2015-06-24 19:34:37 +0200 |
commit | 6591e802e925a1f57d62b8d506936d6d5e9fde3c (patch) | |
tree | 53e53ff64d2902c639951bd1d41f942ee171f836 /main/java/gregtech/common/covers/GT_Cover_Crafting.java | |
parent | 55c596b008807a7cb4b58422efd07636425be1e2 (diff) | |
parent | a1504799f44ba2debdfef06317f24e7f9c1129d6 (diff) | |
download | GT5-Unofficial-6591e802e925a1f57d62b8d506936d6d5e9fde3c.tar.gz GT5-Unofficial-6591e802e925a1f57d62b8d506936d6d5e9fde3c.tar.bz2 GT5-Unofficial-6591e802e925a1f57d62b8d506936d6d5e9fde3c.zip |
Merge pull request #71 from aerospark/devel
Linenumber strip
Well, let's try this, but i'm not going trough all classes to make sure there is nothing broken.
Diffstat (limited to 'main/java/gregtech/common/covers/GT_Cover_Crafting.java')
-rw-r--r-- | main/java/gregtech/common/covers/GT_Cover_Crafting.java | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/main/java/gregtech/common/covers/GT_Cover_Crafting.java b/main/java/gregtech/common/covers/GT_Cover_Crafting.java index a8955b3626..4eea9bca94 100644 --- a/main/java/gregtech/common/covers/GT_Cover_Crafting.java +++ b/main/java/gregtech/common/covers/GT_Cover_Crafting.java @@ -1,38 +1,38 @@ -/* 1: */ package gregtech.common.covers;
-/* 2: */
-/* 3: */ import gregtech.api.interfaces.tileentity.ICoverable;
-/* 4: */ import gregtech.api.util.GT_CoverBehavior;
-/* 5: */ import net.minecraft.entity.player.EntityPlayer;
-/* 6: */ import net.minecraft.entity.player.EntityPlayerMP;
-/* 7: */ import net.minecraft.entity.player.InventoryPlayer;
-/* 8: */ import net.minecraft.inventory.Container;
-/* 9: */ import net.minecraft.inventory.ContainerWorkbench;
-/* 10: */ import net.minecraft.network.NetHandlerPlayServer;
-/* 11: */ import net.minecraft.network.play.server.S2DPacketOpenWindow;
-/* 12: */ import net.minecraft.world.World;
-/* 13: */
-/* 14: */ public class GT_Cover_Crafting
-/* 15: */ extends GT_CoverBehavior
-/* 16: */ {
-/* 17: */ public boolean onCoverRightclick(byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity, EntityPlayer aPlayer, float aX, float aY, float aZ)
-/* 18: */ {
-/* 19:13 */ if ((aPlayer instanceof EntityPlayerMP))
-/* 20: */ {
-/* 21:14 */ ((EntityPlayerMP)aPlayer).getNextWindowId();
-/* 22:15 */ ((EntityPlayerMP)aPlayer).playerNetServerHandler.sendPacket(new S2DPacketOpenWindow(((EntityPlayerMP)aPlayer).currentWindowId, 1, "Crafting", 9, true));
-/* 23:16 */ ((EntityPlayerMP)aPlayer).openContainer = new ContainerWorkbench(((EntityPlayerMP)aPlayer).inventory, ((EntityPlayerMP)aPlayer).worldObj, aTileEntity.getXCoord(), aTileEntity.getYCoord(), aTileEntity.getZCoord())
-/* 24: */ {
-/* 25: */ public boolean canInteractWith(EntityPlayer par1EntityPlayer)
-/* 26: */ {
-/* 27:19 */ return true;
-/* 28: */ }
-/* 29:21 */ };
-/* 30:22 */ ((EntityPlayerMP)aPlayer).openContainer.windowId = ((EntityPlayerMP)aPlayer).currentWindowId;
-/* 31:23 */ ((EntityPlayerMP)aPlayer).openContainer.addCraftingToCrafters((EntityPlayerMP)aPlayer);
-/* 32: */ }
-/* 33:25 */ return true;
-/* 34: */ }
-/* 35: */ }
+package gregtech.common.covers;
+
+import gregtech.api.interfaces.tileentity.ICoverable;
+import gregtech.api.util.GT_CoverBehavior;
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.entity.player.EntityPlayerMP;
+import net.minecraft.entity.player.InventoryPlayer;
+import net.minecraft.inventory.Container;
+import net.minecraft.inventory.ContainerWorkbench;
+import net.minecraft.network.NetHandlerPlayServer;
+import net.minecraft.network.play.server.S2DPacketOpenWindow;
+import net.minecraft.world.World;
+
+public class GT_Cover_Crafting
+ extends GT_CoverBehavior
+{
+ public boolean onCoverRightclick(byte aSide, int aCoverID, int aCoverVariable, ICoverable aTileEntity, EntityPlayer aPlayer, float aX, float aY, float aZ)
+ {
+ if ((aPlayer instanceof EntityPlayerMP))
+ {
+ ((EntityPlayerMP)aPlayer).getNextWindowId();
+ ((EntityPlayerMP)aPlayer).playerNetServerHandler.sendPacket(new S2DPacketOpenWindow(((EntityPlayerMP)aPlayer).currentWindowId, 1, "Crafting", 9, true));
+ ((EntityPlayerMP)aPlayer).openContainer = new ContainerWorkbench(((EntityPlayerMP)aPlayer).inventory, ((EntityPlayerMP)aPlayer).worldObj, aTileEntity.getXCoord(), aTileEntity.getYCoord(), aTileEntity.getZCoord())
+ {
+ public boolean canInteractWith(EntityPlayer par1EntityPlayer)
+ {
+ return true;
+ }
+ };
+ ((EntityPlayerMP)aPlayer).openContainer.windowId = ((EntityPlayerMP)aPlayer).currentWindowId;
+ ((EntityPlayerMP)aPlayer).openContainer.addCraftingToCrafters((EntityPlayerMP)aPlayer);
+ }
+ return true;
+ }
+}
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
|