Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-5174

Breaking a chorus plant with an arrow needs to trigger an event


    • Icon: New Feature New Feature
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • None
    • git-Spigot-9a643a6-2349feb (MC: 1.14.3) (Implementing API version 1.14.3-R0.1-SNAPSHOT)
    • Yes

      The ability to break chorus plants with arrows is a new feature of 1.14, and it doesn't trigger any kind of event that I can find. I checked BlockBreakEvent, BlockExplodeEvent, BlockFadeEvent, BlockDamageEvent, and EntityChangeBlockEvent. The suppose the most logical event for it to trigger is EntityChangeBlockEvent, since you have an Entity (arrow) changing a block (chorus plant).

      I develop a block protection plugin, and without this event I can't stop players from destroying chorus plant blocks with bows on a protected plot. Thanks!

            Unassigned Unassigned
            CraigParton Craig Parton
            0 Vote for this issue
            2 Start watching this issue