Interface MobShearEvent
- All Superinterfaces:
Cancellable, Event, MobEvent
Fired when a player is about to shear a mob ready for it: a sheep, a mooshroom, a sulfur cube
holding a block.
Cancelling it leaves the mob as it is, and the shears are not worn. It does not fire for a plugin shearing the mob.
- Since:
- 0.1.0
-
Method Summary
Methods inherited from interface Cancellable
isCancelled, setCancelled
-
Method Details
-
mob
-
player
-
shears
ItemStack shears()Returns the shears the player uses.- Returns:
- the shears the player uses
- Since:
- 0.1.0
-