-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Conversation
dordsor21
commented
Jun 2, 2024
- closes NBT on items in configuration file #2383
} | ||
player.giveItem(new BaseItemStack(itemType, 1)); | ||
System.out.println("a "+ wand); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stop finding my debug
There was a problem hiding this 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
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 :) ) |