Skip to content

Invalid HitBlock for ProjectileHitEvent on SNOW #11839

@ssomar1607

Description

@ssomar1607

Expected behavior

Launching a projectile on snow should trigger the event ProjectileHitEvent with hitblock = the snow block

Observed/Actual behavior

Currently when you launch a projectile on a snow block (stage 1, the lowest quantity of snow) the PorjectileHitEvent is trigerred but with the hit block that is bellow the snow.

Steps/models to reproduce

create a small plugin and listen to ProjectileHitEvent and launch a projectile on a snow block (stage 1)

Plugin and Datapack List

[16:37:46 INFO]: Server Plugins (7):
[16:37:46 INFO]: Bukkit Plugins:
[16:37:46 INFO]: - ExecutableBlocks, ExecutableEvents, ExecutableItems, MyFurniture, PlaceholderAPI, SCore, Vault

Paper version

[16:38:00 INFO]: This server is running Paper version 1.21.4-53-main@326c687 (2024-12-27T12:59:10Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.4-15-bb76819 (MC: 1.21.4)

Other

Minecraft.1.21.4.-.Multiplayer.3rd-party.Server.2024-12-27.16-30-41.mp4

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