Skip to content

Recipes that differ only in block below (or block below and output) do not work #24

@MelodyCube

Description

@MelodyCube

Version

summoningrituals-forge-1.20.1-2.0.7

Describe the bug!

When creating recipes that differ only in block below (or block below and output) only one of the recipes works while all others say "The Altar does not have the correct block below it". All recipes show up properly in JEI.
E.g.

ServerEvents.recipes(event => {
    event.recipes.summoningrituals.altar('minecraft:dirt')
    .itemOutput('minecraft:coarse_dirt')
    .blockBelow('minecraft:gravel')
    // this recipe works

    event.recipes.summoningrituals.altar('minecraft:dirt')
    .itemOutput('minecraft:andesite')
    .blockBelow('minecraft:dirt')
    // this recipe does not work

    event.recipes.summoningrituals.altar('minecraft:dirt')
    .itemOutput('minecraft:stone')
    .input('minecraft:stick')
    .blockBelow('minecraft:gravel')
    // this recipe does not work

    event.recipes.summoningrituals.altar('minecraft:dirt')
    .itemOutput('minecraft:cobblestone')
    .input('minecraft:stick')
    .blockBelow('minecraft:dirt')
    // this recipe works
})

It'd be really great if this could also be fixed on 1.19 because that is where I found the issue.

Crash Report

No response

Log

No response

Additional Context

No

Modifications

Just KubeJS, JEI, and necessary libraries

Did the issue happen in singleplayer or on a server?

Singleplayer

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