[SPIGOT-7781] Blocks broken by projectiles event Created: 19/Jun/24  Updated: 25/Dec/24  Resolved: 26/Jun/24

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Andrea Bonari Assignee: Unassigned
Resolution: Done Votes: 0
Labels: 1.21, Decorated_Pots, Event, Projectile

Version:  version 4214-Spigot-146439e-6ce1726 (MC: 1.21) (Implementing API version 1.21-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

Hello, 

since the new 1.21 update has a few new blocks I've tought of an event that could be added to the spigot API:

 

  • Listen to block broken by projectiles: currently we can listen to blocks being destroyed by players, buring or exploding. Decorated pots can also be destroyed by projectiles, however there's no event to listen to this specifically.

     



 Comments   
Comment by md_5 [ 26/Jun/24 ]

EntityChangeBlockEvent

Comment by md_5 [ 26/Jun/24 ]

Yeah looks like you are right

Comment by Nathan (antiPerson) [ 26/Jun/24 ]

The EntityChangeBlockEvent is fired for this?

Comment by md_5 [ 19/Jun/24 ]

ProjectileHitEvent will be called for the hit (but yeah no event for the break)

Generated at Tue Apr 08 03:01:08 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.