diff --git a/src/main/java/reobf/proghatches/gt/metatileentity/SuperChestME.java b/src/main/java/reobf/proghatches/gt/metatileentity/SuperChestME.java index 0f5dccd..7642fb6 100644 --- a/src/main/java/reobf/proghatches/gt/metatileentity/SuperChestME.java +++ b/src/main/java/reobf/proghatches/gt/metatileentity/SuperChestME.java @@ -188,7 +188,7 @@ private void post(){ try { - this.getProxy().getGrid().postEvent(new MENetworkCellArrayUpdate()); + //this.getProxy().getGrid().postEvent(new MENetworkCellArrayUpdate()); //this.getProxy().getGrid().postEvent(new MENetworkStorageEvent(handler0, StorageChannel.ITEMS)); try { @@ -208,7 +208,7 @@ private void post(){ } catch (final GridAccessException ignore) {} - } catch (GridAccessException e) { + } catch (Exception e) { // TODO Auto-generated catch block //e.printStackTrace(); } @@ -538,7 +538,12 @@ public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) { if(update){update=false;updateStatus();} if(wasActive!=active){ wasActive=active; - post(); + + try { + this.getProxy().getGrid().postEvent(new MENetworkCellArrayUpdate()); + } catch (GridAccessException e) { + + }post(); } if (voidFull ) { voidOverflow = false; diff --git a/src/main/java/reobf/proghatches/gt/metatileentity/SuperTankME.java b/src/main/java/reobf/proghatches/gt/metatileentity/SuperTankME.java index 50f0c44..5efe2e6 100644 --- a/src/main/java/reobf/proghatches/gt/metatileentity/SuperTankME.java +++ b/src/main/java/reobf/proghatches/gt/metatileentity/SuperTankME.java @@ -155,12 +155,18 @@ public SuperTankME(int aID, String aName, String aNameRegional, int aTier, int a public void channel(final MENetworkChannelsChanged c) { post(); - }*/ private AEFluidStack last; + }*/ + + + + + + private AEFluidStack last; private void post(){ try { - this.getProxy().getGrid().postEvent(new MENetworkCellArrayUpdate()); + //this.getProxy().getGrid().postEvent(new MENetworkCellArrayUpdate()); //this.getProxy().getGrid().postEvent(new MENetworkStorageEvent(handler, StorageChannel.FLUIDS)); try { @@ -184,7 +190,7 @@ private void post(){ - } catch (GridAccessException e) { + } catch (Exception e) { // TODO Auto-generated catch block //e.printStackTrace(); } @@ -575,6 +581,11 @@ public void onPostTick(IGregTechTileEntity aBaseMetaTileEntity, long aTick) { if(update){update=false;updateStatus();} if(wasActive!=this.getProxy().isActive()){ wasActive=this.getProxy().isActive(); + try { + this.getProxy().getGrid().postEvent(new MENetworkCellArrayUpdate()); + } catch (GridAccessException e) { + + } post(); } diff --git a/src/main/java/reobf/proghatches/main/registration/PHRecipes.java b/src/main/java/reobf/proghatches/main/registration/PHRecipes.java index fdc92e1..7406022 100644 --- a/src/main/java/reobf/proghatches/main/registration/PHRecipes.java +++ b/src/main/java/reobf/proghatches/main/registration/PHRecipes.java @@ -1830,7 +1830,39 @@ public void run() { .eut(480) .addTo(RecipeMaps.assemblerRecipes); - + int i=0; + ItemStack[] b=new ItemStack[]{ + Api.INSTANCE.blocks().blockCraftingAccelerator.stack(1), + Api.INSTANCE.blocks().blockCraftingAccelerator4x.stack(1), + Api.INSTANCE.blocks().blockCraftingAccelerator16x.stack(1), + Api.INSTANCE.blocks().blockCraftingAccelerator64x.stack(1), + Api.INSTANCE.blocks().blockCraftingAccelerator256x.stack(1), + Api.INSTANCE.blocks().blockCraftingAccelerator4096x.stack(1), + + }; + int eu=8000; + for(ItemStack bb:b){ + ItemStack bbb=new ItemStack(MyMod.condensers[i]); + + + GT_Values.RA.stdBuilder() + .itemInputs( + bb,new ItemStack(MyMod.smartarm, 4,i+5) + + ) + .itemOutputs(bbb + ) + .duration(35 * SECONDS) + .eut(eu) + .addTo(RecipeMaps.assemblerRecipes); + + + eu=eu*4; + i++; + } + + + }