Máy tính cây chi phí chế tạo

Chọn vật phẩm chế tạo được rồi tách xuống tận nguyên liệu thô, kèm cây công thức, số stack và đổi sang công thức thay thế.

Pick a Target Item

Only craftable items are listed — raw materials (logs, ore, mob drops) have nothing to expand, so they are not valid targets. The tree below always recalculates for the full quantity you enter.

Recipe Tree

Flattened Shopping List

MaterialCountStacks

How the Recipe Tree Expansion Works

The calculator starts at your target item and walks backward: it looks up a recipe for that item, figures out how many whole crafts are needed to cover the quantity you asked for, and then repeats the same lookup for every ingredient that recipe calls for. Each ingredient becomes its own branch of the tree, and the process keeps recursing — ingredient of an ingredient of an ingredient — until it bottoms out on raw materials that have no recipe at all: ore, logs, mob drops, and other gathered resources.

Scaling always rounds up to whole crafts. If a recipe makes 4 items per craft and you only need 7, that is still 2 full crafts (you cannot make a fractional item), which means 1 extra item is produced as harmless surplus. That rounding happens fresh at every single node in the tree, so small overages can compound as they cascade down through several layers — the tree view shows you exactly where.

Whenever an item has more than one valid way to make it — smelting ore in a furnace versus a blast furnace, or a stick from planks versus a stick from bamboo — a small dropdown appears at that node. Switching it re-runs the recursive expansion for everything below that point using the newly chosen recipe, and both the tree and the flattened shopping list update immediately to match. Nothing above that node changes, since the parent only cares how many of that ingredient it needs, not how they were made.

The shopping list at the bottom is just the tree flattened: every raw-material leaf, no matter how deep it sits or how many different branches it appears under, gets summed into one running total. Counts are then expressed as full 64-item stacks plus a remainder, matching how you would actually gather and carry the materials in-game.

Recipe data covers a curated subset of common items (~35) to demonstrate the real recursive expansion algorithm and stack-count math faithfully — not every one of the game’s 1,500+ recipes. Quantities always round up to whole crafts, since you can’t craft a fractional item.

Cần thêm công cụ Minecraft khác?

Bộ công cụ tạo, xem và chuyển đổi chạy ngay trên trình duyệt — tất cả đều miễn phí.