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

[1.20.6] Add BlockTagIngredient for when a item tag cannot be used/doesn't exist #976

Merged
merged 12 commits into from
May 29, 2024

Conversation

IThundxr
Copy link
Contributor

In some certain use cases using the normal tag ingredient with a ItemTag isn't always possible as a tag for that can not exist. A good example of this is minecraft:convertable_to_mud this tag only exists as a block tag with no ItemTag that can be used instead.

Example usage: https://github.com/Creators-of-Create/Create/blob/mc1.20.1/dev/src/generated/resources/data/create/recipes/mixing/mud_by_mixing.json

The type id for this is "neoforge:block_tag"

@CLAassistant
Copy link

CLAassistant commented May 19, 2024

CLA assistant check
All committers have signed the CLA.

@neoforged-pr-publishing
Copy link

  • Publish PR to GitHub Packages

- Format javadoc a bit better
- Switch to jetbrains @nullable annotation
- Add nullcheck to make IDE's not angry
@IThundxr IThundxr requested a review from Technici4n May 19, 2024 21:18
@IThundxr
Copy link
Contributor Author

todo: implement hashCode & equals

@Matyrobbrt Matyrobbrt added enhancement New (or improvement to existing) feature or request 1.20.6 Targeted at Minecraft 1.20.6 labels May 20, 2024
.idea/icon.svg Outdated Show resolved Hide resolved
Technici4n
Technici4n previously approved these changes May 25, 2024
Copy link
Member

@Technici4n Technici4n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Besides that .idea/icon.svg I'm happy. Maybe that can be sent in a separate PR alongside .editorconfig?

@IThundxr
Copy link
Contributor Author

i don't really have much interest in maintaining a editorconfig pr, i'll make a separate one for the intellij icon

@IThundxr IThundxr requested a review from Technici4n May 26, 2024 19:22
Technici4n
Technici4n previously approved these changes May 26, 2024
@pupnewfster pupnewfster merged commit 4854412 into neoforged:1.20.x May 29, 2024
4 checks passed
@IThundxr IThundxr deleted the feat/blocktag-ingredient branch May 29, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.20.6 Targeted at Minecraft 1.20.6 enhancement New (or improvement to existing) feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants