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

feat: allow NBT on wand items #2755

Merged
merged 3 commits into from
Jun 3, 2024
Merged

feat: allow NBT on wand items #2755

merged 3 commits into from
Jun 3, 2024

Conversation

dordsor21
Copy link
Member

@dordsor21 dordsor21 requested a review from a team as a code owner June 2, 2024 08:28
@github-actions github-actions bot added the Feature This PR adds a new feature label Jun 2, 2024
}
player.giveItem(new BaseItemStack(itemType, 1));
System.out.println("a "+ wand);
Copy link
Member

Choose a reason for hiding this comment

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

^

Copy link
Member Author

Choose a reason for hiding this comment

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

Stop finding my debug

@dordsor21 dordsor21 requested a review from PierreSchwang June 2, 2024 16:25
Copy link
Member

@PierreSchwang PierreSchwang left a comment

Choose a reason for hiding this comment

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

Untested, but looks good so far

@dordsor21
Copy link
Member Author

Untested, but looks good so far

I tested setting damage to an axe and it worked so I called it okay. No idea how the specific use in the issue would work but Minecraft has forever allowed for custom NBT on basically everything so there's no reason for NBT that is consequently picked up by something else to be set (and incidentally I tested this because of the toLowerCase on the config strings as damage is "Damage" in NBT :) )

@dordsor21 dordsor21 merged commit a7e4d19 into main Jun 3, 2024
11 checks passed
@dordsor21 dordsor21 deleted the feat/nbt-wands branch June 3, 2024 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature This PR adds a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NBT on items in configuration file
4 participants