Added all the crafting cpu "blocks" - needs textures and renders.
Updated API
This commit is contained in:
@@ -133,17 +133,17 @@ public class SlotRestrictedInput extends AppEngSlot
|
||||
return false;// pattern != null;
|
||||
}
|
||||
case BLANK_PATTERN:
|
||||
return AEApi.instance().materials().materialBlankPattern.sameAs( i );
|
||||
return AEApi.instance().materials().materialBlankPattern.sameAsStack( i );
|
||||
case PATTERN:
|
||||
|
||||
if ( i.getItem() instanceof ICraftingPatternItem )
|
||||
return true;
|
||||
|
||||
return AEApi.instance().materials().materialBlankPattern.sameAs( i );
|
||||
return AEApi.instance().materials().materialBlankPattern.sameAsStack( i );
|
||||
|
||||
case INSCRIBER_PLATE:
|
||||
|
||||
if ( AEApi.instance().materials().materialNamePress.sameAs( i ) )
|
||||
if ( AEApi.instance().materials().materialNamePress.sameAsStack( i ) )
|
||||
return true;
|
||||
|
||||
for (ItemStack is : Inscribe.plates)
|
||||
@@ -164,7 +164,7 @@ public class SlotRestrictedInput extends AppEngSlot
|
||||
return isMetalIngot( i );
|
||||
|
||||
case VIEWCELL:
|
||||
return AEApi.instance().items().itemViewCell.sameAs( i );
|
||||
return AEApi.instance().items().itemViewCell.sameAsStack( i );
|
||||
case ORE:
|
||||
return appeng.api.AEApi.instance().registries().grinder().getRecipeForInput( i ) != null;
|
||||
case FUEL:
|
||||
@@ -172,9 +172,9 @@ public class SlotRestrictedInput extends AppEngSlot
|
||||
case POWERED_TOOL:
|
||||
return Platform.isChargeable( i );
|
||||
case QE_SINGULARTIY:
|
||||
return api.materials().materialQESingularity.sameAs( i );
|
||||
return api.materials().materialQESingularity.sameAsStack( i );
|
||||
case RANGE_BOOSTER:
|
||||
return api.materials().materialWirelessBooster.sameAs( i );
|
||||
return api.materials().materialWirelessBooster.sameAsStack( i );
|
||||
case SPATIAL_STORAGE_CELLS:
|
||||
return i.getItem() instanceof ISpatialStorageCell && ((ISpatialStorageCell) i.getItem()).isSpatialStorage( i );
|
||||
case STORAGE_CELLS:
|
||||
|
||||
Reference in New Issue
Block a user