For a hollow log to be registered, the <spanstyle="color:firebrick"> defs </span> parameter must be a table that contains up to 5 values, which are, in this order, the <spanstyle="color:firebrick"> itemstring </span> of the hollow log, the <spanstyle="color:firebrick"> itemstring </span> of the stripped hollow log, the <spanstyle="color:firebrick"> description </span> of the hollow log, the <spanstyle="color:firebrick"> description </span> of the stripped hollow log and, optionally, a <spanstyle="color:turquoise"> boolean </span> to inform whether this trunk is NOT flammable. If the hollow log is defined as flammable, it becomes part of the <spanstyle="color:springgreen"> hollow_log_burnable </span> group, which allows the log to be used as fuel for furnaces and also allows it to be an ingredient for chacoal.
This function records the crafting recipe for a hollow log based on its non-hollow variant.
This function also defines a recipe for the stonecutter. The <spanstyle="color:firebrick"> material </span> and <spanstyle="color:firebrick"> result </span> parameters must be, respectively, the <spanstyle="color:firebrick"> complete itemstring </span> of the source material and the (partial) <spanstyle="color:firebrick"> itemstring </span> of the result. See the following examples: