diff options
| author | Foghrye4 <foghrye4@gmail.com> | 2017-02-12 20:43:03 +0300 |
|---|---|---|
| committer | Foghrye4 <foghrye4@gmail.com> | 2017-02-12 20:43:03 +0300 |
| commit | 5cb4c6e24033cf337812390d99a6817d24d21eab (patch) | |
| tree | 695789855920199efd4702a7bb3e4bacfe58b9f0 /ihl/guidebook/IHLGuidebookInventory.java | |
| parent | 8f22398517206aed21a7fd840f463332429fae35 (diff) | |
Removed explosion radius limitations. Explosion calculation optimized (reduced memory usage). One more detonator and explosive pack recipe. GT6 recipes for both chemical reactors and cryogenic distiller. Max stack size of muffle furnace is limited to 32. A lot of old features are removed.
Diffstat (limited to 'ihl/guidebook/IHLGuidebookInventory.java')
| -rw-r--r-- | ihl/guidebook/IHLGuidebookInventory.java | 123 |
1 files changed, 0 insertions, 123 deletions
diff --git a/ihl/guidebook/IHLGuidebookInventory.java b/ihl/guidebook/IHLGuidebookInventory.java deleted file mode 100644 index 8535a3c..0000000 --- a/ihl/guidebook/IHLGuidebookInventory.java +++ /dev/null @@ -1,123 +0,0 @@ -package ihl.guidebook;
-
-import cpw.mods.fml.relauncher.Side;
-import cpw.mods.fml.relauncher.SideOnly;
-import net.minecraft.client.gui.GuiScreen;
-import net.minecraft.entity.player.EntityPlayer;
-import net.minecraft.inventory.IInventory;
-import net.minecraft.item.ItemStack;
-import ic2.core.ContainerBase;
-import ic2.core.IHasGui;
-
-public class IHLGuidebookInventory implements IHasGui{
-
- ItemStack thisItemStack;
- IInventory inventoryContainer;
- public ItemStack[] content = new ItemStack[4];
-
- public IHLGuidebookInventory(EntityPlayer player, ItemStack stack) {
- thisItemStack=stack;
- inventoryContainer=player.inventory;
- }
-
- public IHLGuidebookInventory(IInventory inventoryContainer1, ItemStack stack)
- {
- thisItemStack=stack;
- inventoryContainer=inventoryContainer1;
- }
-
- @Override
- @SideOnly(Side.CLIENT)
- public GuiScreen getGui(EntityPlayer player, boolean arg1) {
- return new IHLGuidebookGui(new IHLGuidebookContainer(player, this));
- }
-
- @Override
- public ContainerBase<?> getGuiContainer(EntityPlayer player) {
- return new IHLGuidebookContainer(player, this);
- }
-
- @Override
- public String getInventoryName() {
- return "IHLGuidebook";
- }
-
- @Override
- public boolean hasCustomInventoryName() {
- return false;
- }
-
- @Override
- public boolean isItemValidForSlot(int arg0, ItemStack stack) {
- return false;
- }
-
- @Override
- public int getInventoryStackLimit()
- {
- return 1;
- }
-
- @Override
- public ItemStack getStackInSlot(int slotNumber) {
- return content[slotNumber];
- }
-
- @Override
- public void setInventorySlotContents(int arg0, ItemStack arg1)
- {
- }
-
- @Override
- public void closeInventory() {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public ItemStack decrStackSize(int arg0, int arg1) {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public int getSizeInventory() {
- // TODO Auto-generated method stub
- return 0;
- }
-
- @Override
- public ItemStack getStackInSlotOnClosing(int arg0) {
- // TODO Auto-generated method stub
- return null;
- }
-
- @Override
- public boolean isUseableByPlayer(EntityPlayer arg0) {
- // TODO Auto-generated method stub
- return true;
- }
-
- @Override
- public void markDirty() {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void openInventory() {
- // TODO Auto-generated method stub
-
- }
-
- @Override
- public void onGuiClosed(EntityPlayer arg0) {
- // TODO Auto-generated method stub
-
- }
-
- public boolean isThisContainer(ItemStack stack)
- {
- return this.thisItemStack.equals(stack);
- }
-}
|
