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

Add Ars Nouveau compat #44

Merged
merged 4 commits into from
May 2, 2023

Conversation

PersiflageTheNinth
Copy link
Contributor

@PersiflageTheNinth PersiflageTheNinth commented May 1, 2023

Proposed Changes

  • support for the pedestalItems recipe key in Ars Nouveau Enchanting Apparatus and Imbuement recipes
  • support for the inputItems recipe key in Ars Nouveau Glyph recipes
  • support for the reagent recipe key in Ars Nouveau Enchanting Apparatus

@LLytho
Copy link
Member

LLytho commented May 1, 2023

Thanks for the PR. Will test it later.

Based on:

  "pedestalItems": [
    {
      "item": {
        "tag": "forge:storage_blocks/redstone"
      }
    },
    {
      "item": {
        "tag": "forge:storage_blocks/redstone"
      }
    },
    {
      "item": {
        "item": "minecraft:diamond_pickaxe"
      }
    },
    {
      "item": {
        "item": "minecraft:iron_shovel"
      }
    },
    {
      "item": {
        "tag": "forge:storage_blocks/source"
      }
    },
    {
      "item": {
        "tag": "forge:storage_blocks/source"
      }
    },
    {
      "item": {
        "tag": "forge:obsidian"
      }
    },
    {
      "item": {
        "tag": "forge:obsidian"
      }
    }
  ],

it looks good to me.

As I'm not so much into Ars Nouveau, can a pedestal"Item" be something else then an item? I'm just wondering because of the nested item -> item/tag.

Do we have more of these? Enchanters Mirror also contains reagent. We probably want to unify them too. Funny that reagent is an array too but not nested.

@PersiflageTheNinth
Copy link
Contributor Author

PersiflageTheNinth commented May 1, 2023

As I'm not so much into Ars Nouveau, can a pedestal"Item" be something else then an item? I'm just wondering because of the nested item -> item/tag.

Not that I can tell from the recipe definitions themselves
https://github.com/baileyholl/Ars-Nouveau/blob/1.19.x/src/main/java/com/hollingsworth/arsnouveau/common/crafting/recipes/ImbuementRecipe.java
https://github.com/baileyholl/Ars-Nouveau/blob/1.19.x/src/main/java/com/hollingsworth/arsnouveau/api/enchanting_apparatus/EnchantingApparatusRecipe.java

Do we have more of these? Enchanters Mirror also contains reagent. We probably want to unify them too. Funny that reagent is an array too but not nested.

It's interesting that reagent is an array when it looks like it should just be an Ingredient as well.

GitHub
Contribute to baileyholl/Ars-Nouveau development by creating an account on GitHub.
GitHub
Contribute to baileyholl/Ars-Nouveau development by creating an account on GitHub.

@rlnt rlnt linked an issue May 1, 2023 that may be closed by this pull request
@rlnt rlnt requested a review from LLytho May 2, 2023 09:03
@rlnt rlnt merged commit 83e7a8c into AlmostReliable:1.19.2 May 2, 2023
rlnt added a commit that referenced this pull request May 2, 2023
Co-authored-by: PersiflageTheNinth <persiflagetheninth@users.noreply.github.com>
Co-authored-by: Relentless <relentless@rlnt.dev>
rlnt added a commit that referenced this pull request May 2, 2023
Co-authored-by: PersiflageTheNinth <persiflagetheninth@users.noreply.github.com>
Co-authored-by: Relentless <relentless@rlnt.dev>
@rlnt rlnt mentioned this pull request Aug 22, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ars Nouveau recipe types don't appear to be covered
3 participants