PaperMC / PaperMC/Paper

BlockDamageEvent not fires after clicking in the air and holding the left button

Open
#10,257 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: input wanted status: unlikely type: bug version: 1.20.4
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Expected behavior

Should fire BlockDamageEvent when we start breaking a block by holding the left button after clicking in the air.

Observed/Actual behavior

Video

Steps/models to reproduce
  1. Listen to BlockDamageEvent
  2. Click in the air and hold the left button
  3. Break some block
  4. Event not fired
Plugin and Datapack List

Server Plugins (7):
Bukkit Plugins: FastAsyncWorldEdit, LiteAntiCheat, ProtocolLib, Terra, TileCulling, ViaBackwards, ViaVersion

Paper version

This server is running Paper version git-Paper-426 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 7ccefdc)

Other

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on Paper git-Paper-426 (MC 1.20.4) with a BlockDamageEvent listener, following the listed air-click and block-breaking steps. Compare the event path for starting a break after clicking in the air with a normal block break; done when the event fires in the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.