Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first item in "Item Matches":[ ] is used #67

Closed
Primitive-Human opened this issue Nov 25, 2022 · 0 comments
Closed

Only first item in "Item Matches":[ ] is used #67

Primitive-Human opened this issue Nov 25, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Primitive-Human
Copy link

Primitive-Human commented Nov 25, 2022

Trying to create a custom solid fuelbox for non-electrical multiblocks and I found that only the first item in the "matches": [] array can be used in the recipe.

Used this following recipe_map json:


{
  "name": "heat_generation",
  "progressTexture": "multiblocked:textures/gui/progress_bar_arrow.png",
  "recipes": [
    {
      "uid": "coal",
      "duration": 100,
      "inputs": {
        "item": [
          {
            "chance": 1.0,
            "content": {
              "amount": 1,
              "matches": [
                "{id:\"minecraft:coal\",Count:1b,Damage:0s}",
                "{id:\"minecraft:coal\",Count:1b,Damage:1s}"
              ]
            }
          }
        ]
      },
      "tickOutputs": {
        "fluid": [
          {
            "chance": 1.0,
            "content": "{FluidName:\"lava\",Amount:2}"
          }
        ]
      }
    }
  ]
}

To confirm my findings, I also switched the coal and charcoal around and when the charcoal was at the top of the list, only charcoal was able to be used to generate heat (or lava fluid in this case, planning to add a hot gaseous 'heat' fluid to implement some heat system.)

Only way I may be able to get around this, is to process both coals into the same item (pulverized coal), or add them both to the same oredictionary.

Versions used:
MC: 1.12.2
Forge: 14.23.5.2860
MixinBooter: 7.0
Multiblock'd: 0.7.7

@Primitive-Human Primitive-Human changed the title Only first item in Item Matches is used Only first item in "Item Matches":[ ] is used Nov 25, 2022
@Yefancy Yefancy added the bug Something isn't working label Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants