Logo of Sphinx MCL Theme
Amelia Saiko

Crafting Tables

You can display a crafting table UI using the mcl-crafting-table directive to show a crafting recipe.

Directive

.. mcl-crafting-table::

Directive that spawns crafting table UI on the page. Doesn’t accept any options or arguments, but must contain nested directives of type mcl-inv-slot-anim or mcl-inv-slot (See more).

Directives must have area option set (for mcl-inv-slot-anim it must be set on mcl-inv-slot-anim and not nested directives) and must fill the following areas:

  • Top row: A1, A2, A3

  • Middle row: B1, B2, B3

  • Bottom row: C1, C2, C3

  • Result: R

Hint

You don’t have to fill all the areas, if some area is supposed to be empty you can just not add a slot for it. Areas that are not filled will be filled with an empty slot automatically.

Attention

Regardless of big option set, this directive will normalize all nested directives to have it unset or forcibly set according to the area they fill (only R area will be big and beautiful).

Examples

Here is an example showcasing a Hoe crafting recipe using stick and wooden planks or gold:

example.md
 1:::::{mcl-crafting-table}
 2
 3::::{mcl-inv-slot-anim}
 4:area: R
 5
 6:::{mcl-inv-slot} Wooden Hoe
 7:icon: ../../_static/inv/wooden_hoe.png
 8:link: index.html
 9:::
10
11:::{mcl-inv-slot} Golden Hoe
12:icon: ../../_static/inv/wooden_hoe.png
13:link: index.html
14:::
15::::
16
17::::{mcl-inv-slot-anim}
18:area: A1;A2
19
20:::{mcl-inv-slot} Oak Planks
21:icon: ../../_static/inv/oak_wood.png
22:link: index.html
23:::
24
25:::{mcl-inv-slot} Golden Ingot
26:icon: _static/inv/golden_ingot.png
27:link: index.html
28:::
29::::
30
31::::{mcl-inv-slot} Stick
32:area: B2;C2
33:icon: ../../_static/inv/stick.png
34:link: index.html
35::::
36
37:::::

Should render as:

Oak Planks
Oak Planks
Golden Ingot
Golden Ingot
Oak Planks
Oak Planks
Golden Ingot
Golden Ingot
Stick
Stick
Stick
Stick
Wooden Hoe
Wooden Hoe
Golden Hoe
Golden Hoe
© Copyright 2026, Sphinx MCL Theme Contributors. Created using Sphinx 9.1.0.