Package appeng.items.parts

Examples of appeng.items.parts.ItemFacade


          changed = changed || storage.getFacade( x ) == null;
          storage.setFacade( x, bc.createFacadePart( (Block) Block.blockRegistry.getObjectById( ids[0] ), ids[1], side ) );
        }
        else if ( !isBC )
        {
          ItemFacade ifa = (ItemFacade) AEApi.instance().items().itemFacade.item();
          ItemStack facade = ifa.createFromIDs( ids );
          if ( facade != null )
          {
            changed = changed || storage.getFacade( x ) == null;
            storage.setFacade( x, ifa.createPartFromItemStack( facade, side ) );
          }
        }
      }
      else
      {
View Full Code Here


  @Override
  public void loadCraftingRecipes(String outputId, Object... results)
  {
    if ( (outputId.equals( "crafting" )) && (getClass() == NEIFacadeRecipeHandler.class) )
    {
      ItemFacade ifa = (ItemFacade) AEApi.instance().items().itemFacade.item();
      List<ItemStack> facades = ifa.getFacades();
      for (ItemStack is : facades)
      {
        CachedShapedRecipe recipe = new CachedShapedRecipe( is );
        recipe.computeVisuals();
        arecipes.add( recipe );
View Full Code Here

TOP

Related Classes of appeng.items.parts.ItemFacade

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.