Improved compression handler, updated buildings.zip, added temporary portal configs
This commit is contained in:
parent
5ba77eaedf
commit
1115eaf9a7
8 changed files with 56 additions and 17 deletions
|
@ -26,14 +26,14 @@ public class AdvancedCompressionHandler extends CompressionHandler
|
|||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
int threshold = CompressionRegistry.getItemThreshold(invStack);
|
||||
|
||||
|
||||
for(int i=2; i<=3; i++)
|
||||
{
|
||||
ItemStack stacky = getRecipe(invStack, world, i);
|
||||
if(isResultStackReversible(stacky, i, world))
|
||||
{
|
||||
int threshold = CompressionRegistry.getItemThreshold(invStack);
|
||||
|
||||
int needed = i*i;
|
||||
int neededLeft = iterateThroughInventory(invStack, threshold, inv, needed, false);
|
||||
if(neededLeft <= 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue