Skip to content

PlayerInteractEvent RIGHT_CLICK_BLOCK fired when interacting with entities #12009

@ghost

Description

Expected behavior

right clicking an entity with blocks behind them shouldn't fire playerinteractevent for the block

Observed/Actual behavior

It fires playerinteractevent for the block behind the entity

Steps/models to reproduce

right click a mob with blocks behind them

Plugin and Datapack List

N/A

Paper version

This server is running Paper version 1.21.4-DEV-main@88bbead (1970-01-01T00:00:00Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are 1 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: 1.21.4-121-88bbead (MC: 1.21.4)

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.version: 1.21.4Game version 1.21.4

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions