Allow Unbreaking to be applied to crossbows via anvil #4449

Open
seventeenthShulker wants to merge 2 commits from upstream/unbreaking_on_crossbows into master

crossbow was not in the primary field of the Unbreaking enchantment, while (almost?) all other gear is (probably because crossbows are newer than this definition).

(Don't know if we actually need to list all tools/weapons; there seem to be groups for tool...)

I could previously not add Unbreaking to any crossbow via the anvil. There are no enchantments that are mutually exclusive with Unbreaking.

Testing

Add any level of Unbreaking to a crossbow with no enchants, a crossbow that already has unbreaking etc. and it should combine as expected.

`crossbow` was not in the `primary` field of the Unbreaking enchantment, while (almost?) all other gear is (probably because crossbows are newer than this definition). (Don't know if we actually need to list all tools/weapons; there seem to be groups for `tool`...) I could previously not add Unbreaking to any crossbow via the anvil. There are no enchantments that are mutually exclusive with Unbreaking. ### Testing Add any level of Unbreaking to a crossbow with no enchants, a crossbow that already has unbreaking etc. and it should combine as expected.
seventeenthShulker added 1 commit 2024-06-20 19:22:10 +02:00

Considering incoming things like #4261, it'd be prudent to focus on groups like tool, weapon, armor, or such, as you said.

Considering incoming things like #4261, it'd be prudent to focus on groups like tool, weapon, armor, or such, as you said.
seventeenthShulker added 1 commit 2024-06-20 22:25:03 +02:00
Author
Member

weapon also includes the Shepherd Staff, but this was already in the secondary list via the tool group.

`weapon` also includes the Shepherd Staff, but this was already in the `secondary` list via the `tool` group.
rudzik8 added the
items
label 2024-06-27 07:21:23 +02:00
rudzik8 requested review from rudzik8 2024-06-27 07:21:51 +02:00
This pull request doesn't have enough approvals yet. 0 of 1 approvals granted.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: VoxeLibre/VoxeLibre#4449
No description provided.