Applied-Energistics-2-tiler.../items/storage/ItemSpatialStorageCell.java

24 lines
560 B
Java
Raw Normal View History

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
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 );
maxRegion = spatialScale;
component = whichCell;
}
}