Skip to content

thermionicfabricator.recipeBuilder().shape(...) does not support space characters for empty #297

@romanfedyniak

Description

@romanfedyniak

For example:

.shape(
    "#R#",
    "PMP",
    "GMG"
)
.key('#', item('minecraft:air'))

This works fine when I map # to minecraft:air, but if I try:

.shape(
    " R ",
    "PMP",
    "GMG"
)

and omit the key for the space (expecting it to mean "empty"), it fails.

[SERVER/ERROR] [postInit.forestry:38]:  - key ' ' is not defined

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmod compatRelating to compatability with a mod or features of a mod

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions