【BUG】Some right-click events on the Shears cannot be intercepted
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- java
- Domain
- authorization, game-dev
Research direction
Start by reproducing the issue with WorldGuard 7.0.14, WorldEdit 7.3.16, and Paper 1.21.8, testing the listed mobs and shears interactions in a protected area. Use the linked Minecraft shears update history to identify the new interaction cases; done means permission-less players are blocked consistently while permitted interactions still work, with coverage for the supported mob cases.
Written by the indexing model from the issue text.
Description
WorldEdit Version
worldedit-bukkit-7.3.16
WorldGuard Version
worldguard-bukkit-7.0.14-dist
Platform Version
paper-1.21.8-25
Confirmations
- I am using the most recent Minecraft release.
- I am using a version of WorldEdit compatible with my Minecraft version.
- I am using a version of WorldGuard compatible with my Minecraft version.
- I am using the latest or recommended version of my platform software.
- I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
- I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)
Bug Description
Even without permission, players can right-click many mobs with shears to remove saddles, cut lead, etc.
Expected Behavior
WorldGuard should block players without permission from doing this.
Reproduction Steps
- Within the WorldGuard-protected area, prepare various armored mob: happy_ghast, each llama variant, each horse variant, strider, pig, camel, and others.(I can't guarantee a complete list.)https://minecraft.wiki/w/Shears#Shearing
- Have permission-less players right-click these mobs while holding shears.
Optional WorldGuard-Report
No response
Anything Else?
“It should be the new Shears mechanism introduced in 1.21.6+.”
You can refer to the shears update history on the wiki.
https://minecraft.wiki/w/Shears#History
- Dominant language
- Java
- Stars
- 938
- Forks
- 674
- Avg merge
- 22h 57m
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from EngineHub/WorldGuard
-
status:pending type:bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
EngineHub/WorldGuard#2305 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
EngineHub/WorldGuard#2311 · 1 comment ·
-
status:pending type:bug
Difficulty 4/5 3-5 days Newbie friendliness 48/100
EngineHub/WorldGuard#2302 · 4 comments ·
-
status:pending type:feature-request
Difficulty 4/5 3-5 days Newbie friendliness 45/100
EngineHub/WorldGuard#2301 · 5 comments ·
-
status:pending type:feature-request
Difficulty 5/5 Over a week Newbie friendliness 25/100
EngineHub/WorldGuard#2288 · 1 comment ·
All issues in EngineHub/WorldGuard
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
aoqia194/leaf-loader#19 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
apache/streampark#4521 ·
-
Update license yearOpen0 - Backlog 1 - Ready documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
cbor
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
FasterXML/jackson-dataformats-binary#844 ·
Maintainers usually reply within 1 day