Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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