aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/basic
diff options
context:
space:
mode:
authorAlkalus <3060479+draknyte1@users.noreply.github.com>2022-01-12 17:02:56 +0000
committerAlkalus <3060479+draknyte1@users.noreply.github.com>2022-01-12 17:02:56 +0000
commitb72a9b138fafceab899c1bd86fee64decb9fb98a (patch)
treebf96bcef8b3efc99d593b14db59c4809f4214a96 /src/main/java/gtPlusPlus/xmod/gregtech/api/gui/basic
parentcd2af307881aeae7f36e592dbf2a03c530338ccf (diff)
downloadGT5-Unofficial-b72a9b138fafceab899c1bd86fee64decb9fb98a.tar.gz
GT5-Unofficial-b72a9b138fafceab899c1bd86fee64decb9fb98a.tar.bz2
GT5-Unofficial-b72a9b138fafceab899c1bd86fee64decb9fb98a.zip
Fix https://github.com/GTNewHorizons/GTplusplus/issues/87.
More work on Computer Cube GUI.
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/gregtech/api/gui/basic')
-rw-r--r--src/main/java/gtPlusPlus/xmod/gregtech/api/gui/basic/GT_Container_CropHarvestor.java27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/basic/GT_Container_CropHarvestor.java b/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/basic/GT_Container_CropHarvestor.java
index d56efdf0a4..9bca97de82 100644
--- a/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/basic/GT_Container_CropHarvestor.java
+++ b/src/main/java/gtPlusPlus/xmod/gregtech/api/gui/basic/GT_Container_CropHarvestor.java
@@ -5,19 +5,14 @@ import cpw.mods.fml.relauncher.SideOnly;
import gregtech.api.gui.GT_ContainerMetaTile_Machine;
import gregtech.api.gui.GT_Slot_Holo;
import gregtech.api.interfaces.tileentity.IGregTechTileEntity;
-import gregtech.api.util.GT_Utility;
-import gregtech.common.tileentities.boilers.GT_MetaTileEntity_Boiler;
import gtPlusPlus.core.slots.SlotNoInput;
import gtPlusPlus.xmod.gregtech.common.tileentities.machines.basic.GT_MetaTileEntity_CropHarvestor;
-import ic2.core.item.DamageHandler;
import ic2.core.item.ItemIC2;
-import ic2.core.util.StackUtil;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.inventory.ICrafting;
import net.minecraft.inventory.IInventory;
import net.minecraft.inventory.Slot;
-import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
public class GT_Container_CropHarvestor extends GT_ContainerMetaTile_Machine {
@@ -77,28 +72,6 @@ public class GT_Container_CropHarvestor extends GT_ContainerMetaTile_Machine {
return null;
}
- Slot tSlot = (Slot)inventorySlots.get(aSlotIndex);
- if (tSlot != null) {
- /*if (mTileEntity.getMetaTileEntity() == null) return null;
- GT_MetaTileEntity_ElectricBufferSmall mte = (GT_MetaTileEntity_ElectricBufferSmall)mTileEntity.getMetaTileEntity();
- if (aSlotIndex == 1) {
- mte.bOutput = !mte.bOutput;
- if (aPlayer.worldObj.isRemote)
- GT_Utility.sendChatToPlayer(aPlayer, new ChatComponentTranslation("metatileentity.status.energy_out." + mte.bOutput));
- return null;
- } else if (aSlotIndex == 2) {
- mte.bRedstoneIfFull = !mte.bRedstoneIfFull;
- if (aPlayer.worldObj.isRemote)
- GT_Utility.sendChatToPlayer(aPlayer, new ChatComponentTranslation("metatileentity.status.redstone_if_full." + mte.bRedstoneIfFull));
- return null;
- } else if (aSlotIndex == 3) {
- mte.bInvert = !mte.bInvert;
- if (aPlayer.worldObj.isRemote)
- GT_Utility.sendChatToPlayer(aPlayer, new ChatComponentTranslation("metatileentity.status.redstone_invert." + mte.bInvert));
- return null;
- }*/
- }
-
return super.slotClick(aSlotIndex, aMouseclick, aShifthold, aPlayer);
}