Skip to content

Paper onPlayerShootBow Fails to Normalize Arrow Damage/Draw Force #13680

@lokspel

Description

@lokspel

Expected behavior

The problem: In onPlayerShootBow, the plugin never normalizes the arrow's damage or draw force. In vanilla Minecraft (and Paper 1.21), arrow damage depends on:

  • Draw force (0.0–1.0) — partial pulls deal less damage, full pulls deal max
  • Critical hit multiplier — a fully drawn bow fires a critical arrow with a random 1.5×–1.75× multiplier on top
  • Power enchantment on the bow

How it work: ZoneDevelopement/ZonePractice-Pro#261
well it really is a paper bug 🙁

Observed/Actual behavior

Damage

Steps/models to reproduce

How it work: ZoneDevelopement/ZonePractice-Pro#261

Plugin and Datapack List

Tested with none

Paper version

https://fill-data.papermc.io/v1/objects/367f5088c7cc5c8f83cbededf4760622d4a27425be45611d3db6f11c75fac901/paper-1.21.11-126.jar

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions