Examples of ICraftingSource


Examples of net.mcft.copy.betterstorage.api.crafting.ICraftingSource

 
  /** Called when an item is removed from the output
   *  slot while it doesn't store any real items. */
  public void craft(EntityPlayer player) {
    boolean hasRequirements = hasItemRequirements();
    ICraftingSource source = new CraftingSourceTileEntity(entity, player);
    currentCrafting.craft(source);
    IRecipeInput[] requiredInput = currentCrafting.getCraftRequirements();
    for (int i = 0; i < crafting.length; i++)
      if (crafting[i] != null)
        crafting[i] = craftSlot(crafting[i], requiredInput[i], player, false);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.