Applied-Energistics-2-tiler.../items/storage/ItemSpatialStorageCell.java
2014-01-20 10:41:37 -06:00

23 lines
560 B
Java

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
{
final MaterialType component;
final int maxRegion;
public ItemSpatialStorageCell(MaterialType whichCell, int spatialScale) {
super( ItemSpatialStorageCell.class, spatialScale + "Cubed" );
setfeature( EnumSet.of( AEFeature.SpatialIO ) );
setMaxStackSize( 1 );
maxRegion = spatialScale;
component = whichCell;
}
}