Skip to content

ShapedRecipie builder #1028

@kashike

Description

@kashike

The ShapedRecipe.Builder is a bit annoying/odd to use.
Current:

builder
    .width(2)
    .height(2)
    .ingredient(2, 2, ItemStack.builder().build());

In my opinion, something like this (as seen in vanilla/forge to a point) would be nice:

builder
    .aisle("~~~", "~~~", "~~X")
    .where('~', ItemStack.builder().build())
    .where('X', ItemStack.builder().build());

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions