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: max_damage and item_name components support #249

Merged
merged 6 commits into from
Jun 30, 2024

Conversation

Sylfare
Copy link
Contributor

@Sylfare Sylfare commented Jun 27, 2024

Two changes added with 1.20.5/6:

  • max_damage allows to set the maximum durability of an item. Already existing items should keep their durability. Vanilla Mending and repairing with an anvil or a grindstone works, but not merging 2 items in a crafting table.
  • item_name set the default name of the item, so custom ones can be renamed without losing their default name when resetting it.

@oddlama
Copy link
Owner

oddlama commented Jun 30, 2024

This is great, much simpler now that it is supported by upstream. I think we can live with inventory item repair not working.

@oddlama oddlama merged commit 8bbea3c into oddlama:develop Jun 30, 2024
1 of 11 checks passed
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.

2 participants