From 5cb4c6e24033cf337812390d99a6817d24d21eab Mon Sep 17 00:00:00 2001 From: Foghrye4 Date: Sun, 12 Feb 2017 20:43:03 +0300 Subject: 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. --- ihl/processing/metallurgy/CrucibleSlot.java | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'ihl/processing/metallurgy/CrucibleSlot.java') diff --git a/ihl/processing/metallurgy/CrucibleSlot.java b/ihl/processing/metallurgy/CrucibleSlot.java index e0b702d..5fc6a33 100644 --- a/ihl/processing/metallurgy/CrucibleSlot.java +++ b/ihl/processing/metallurgy/CrucibleSlot.java @@ -3,18 +3,16 @@ package ihl.processing.metallurgy; import net.minecraft.inventory.Slot; import net.minecraft.item.ItemStack; -public class CrucibleSlot extends Slot -{ +public class CrucibleSlot extends Slot { CrucibleInventory inventory; - public CrucibleSlot(CrucibleInventory arg0, int arg1, int arg2, int arg3) - { + + public CrucibleSlot(CrucibleInventory arg0, int arg1, int arg2, int arg3) { super(arg0, arg1, arg2, arg3); - inventory=arg0; + inventory = arg0; } @Override - public boolean isItemValid(ItemStack itemstack) - { - return itemstack == null ? false : inventory.isItemValidForSlot(0, itemstack); - } + public boolean isItemValid(ItemStack itemstack) { + return itemstack != null; + } } -- cgit v1.2.3