Removed Purify Crafting Handler.
Added Crystal Growth ( for Nether, Certus, and Fluix. ) Added Macerator Crafting Handler. Added Pulverizer Crafting Handler. Implemented Grid Crafting Handler. Formation Planes now eject items in a more consistent manner. Formation Planes can now place, or eject into replaceable blocks ( air/grass/fluids )
This commit is contained in:
@@ -15,6 +15,7 @@ import appeng.me.GridAccessException;
|
||||
import appeng.tile.events.AETileEventHandler;
|
||||
import appeng.tile.events.TileEventType;
|
||||
import appeng.tile.grid.AENetworkTile;
|
||||
import appeng.util.Platform;
|
||||
|
||||
public class TileQuartzGrowthAccelerator extends AENetworkTile implements IPowerChannelState
|
||||
{
|
||||
@@ -66,7 +67,7 @@ public class TileQuartzGrowthAccelerator extends AENetworkTile implements IPower
|
||||
public TileQuartzGrowthAccelerator() {
|
||||
gridProxy.setValidSides( EnumSet.noneOf( ForgeDirection.class ) );
|
||||
gridProxy.setFlags( GridFlags.CANNOT_CARRY );
|
||||
gridProxy.setIdlePowerUsage( 2 );
|
||||
gridProxy.setIdlePowerUsage( 8 );
|
||||
addNewHandler( new TileChargerHandler() );
|
||||
}
|
||||
|
||||
@@ -80,13 +81,25 @@ public class TileQuartzGrowthAccelerator extends AENetworkTile implements IPower
|
||||
@Override
|
||||
public boolean isPowered()
|
||||
{
|
||||
if ( Platform.isServer() )
|
||||
{
|
||||
try
|
||||
{
|
||||
return gridProxy.getEnergy().isNetworkPowered();
|
||||
}
|
||||
catch (GridAccessException e)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return hasPower;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isActive()
|
||||
{
|
||||
return hasPower;
|
||||
return isPowered();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user