[SPIGOT-7932] Crafter not calling BlockDispenseEvent when item is crafted Created: 28/Oct/24  Updated: 25/Dec/24

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

Type: Bug Priority: Minor
Reporter: . Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: 1.21, BlockDispenseEvent, Crafter

Attachments: File BlockDispenseEventTestPlugin-1.0.jar    
Version: This server is running CraftBukkit version 4358-Spigot-5eb8a94-6bb0db5 (MC: 1.21.3) (Implementing API version 1.21.3-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

The server won't call BlockDispenseEvent when there is a valid output is crafted.

Similar to Dropper and Dispenser, item ejected from these blocks should trigger the same event.

 

The plugin will broadcast a message when BlockDispenseEvent is called



 Comments   
Comment by md_5 [ 05/Nov/24 ]

A dropper and a dispenser aren't really analogous to a crafter at all. As far as I know, Crafters just drop items, they don't spawn them (like arrows etc)

Comment by . [ 29/Oct/24 ]

Sometimes there are leftovers for some ingredients like glass bottle and bucket, which cannot be customized / took control by  https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/block/CrafterCraftEvent.html

Comment by Doc [ 28/Oct/24 ]

Hmm this works a little different from dispensers...

currently you can handle the Crafters dropping the item with https://hub.spigotmc.org/javadocs/spigot/org/bukkit/event/block/CrafterCraftEvent.html

Generated at Thu Apr 03 16:58:18 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.