[SPIGOT-7814] Shearing Bogged does not fire PlayerShearEntityEvent Created: 03/Jul/24  Updated: 25/Dec/24  Resolved: 04/Jul/24

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

Type: Bug Priority: Minor
Reporter: tastybento Assignee: Doc
Resolution: Fixed Votes: 0
Labels: None

Version: This server is running CraftBukkit version 4251-Spigot-491f367-f672c35 (MC: 1.21) (Implementing API version 1.21-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

Bogged is a new mob in 1.21 that is a skeleton with 2 mushrooms on its head. If you shear it, it drops these. The PlayerShearEntityEvent should fire but does not (yet). There was a similar issue with Snowmen a while back. 

Code to check (just a logger on the registered event):

public class ShearingListener extends Listener {
    @EventHandler(priority = EventPriority.NORMAL)
    public void onShear(final PlayerShearEntityEvent e) {
        Bukkit.getLogger().info(e.getEventName());
    }
} 


 Comments   
Comment by Doc [ 03/Jul/24 ]

PR for include Bogged: https://hub.spigotmc.org/stash/projects/SPIGOT/repos/craftbukkit/pull-requests/1443/overview

Generated at Sat Dec 13 15:26:10 UTC 2025 using Jira 10.3.13#10030013-sha1:56dd970ae30ebfeda3a697d25be1f6388b68a422.