2013-12-27 23:59:59 +01:00
|
|
|
package appeng.items.storage;
|
|
|
|
|
|
|
|
import java.util.EnumSet;
|
|
|
|
|
|
|
|
import appeng.core.features.AEFeature;
|
|
|
|
import appeng.items.AEBaseItem;
|
|
|
|
import appeng.items.materials.MaterialType;
|
|
|
|
|
|
|
|
public class ItemSpatialStorageCell extends AEBaseItem
|
|
|
|
{
|
2014-01-20 17:41:37 +01:00
|
|
|
|
2013-12-27 23:59:59 +01:00
|
|
|
final MaterialType component;
|
|
|
|
final int maxRegion;
|
|
|
|
|
|
|
|
public ItemSpatialStorageCell(MaterialType whichCell, int spatialScale) {
|
|
|
|
super( ItemSpatialStorageCell.class, spatialScale + "Cubed" );
|
|
|
|
setfeature( EnumSet.of( AEFeature.SpatialIO ) );
|
2014-01-20 17:41:37 +01:00
|
|
|
setMaxStackSize( 1 );
|
2013-12-27 23:59:59 +01:00
|
|
|
maxRegion = spatialScale;
|
|
|
|
component = whichCell;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|