public boolean isTransmutationResult(BlockTuple block, World w, int x, int y, int z) {
return getBlockTransformation(w, x, y, z).values().contains(block);
}
public ItemStack getBlockCraftingResult(World w, ItemStack itemStack) {
InventoryCrafting blockCraftInventory = new InventoryCrafting(new Container() {
@Override
public boolean canInteractWith(EntityPlayer entityPlayer) {
return false;
}
}, 3, 3);
for (int i = 0; i < 9; i++) {
blockCraftInventory.setInventorySlotContents(i, itemStack);
}
return CraftingManager.getInstance().findMatchingRecipe(blockCraftInventory, w);
}