[SPIGOT-8003] Ability to edit crafter preview Created: 01/Feb/25 Updated: 02/Feb/25 Resolved: 02/Feb/25 |
|
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: | Fixed | Votes: | 0 |
Labels: | Crafter, CrafterCraftEvent, PrepareItemCraftEvent |
Version: | CraftBukkit version 4430-Spigot-d421948-d20d4c1 (MC: 1.21.4) (Implementing API version 1.21.4-R0.1-SNAPSHOT) |
Guidelines Read: | Yes |
Description |
The current `CrafterCraftEvent` doesn't allow players to edit the crafting preview without first adding a custom recipe. However in the Crafting Table we have the `PrepareItemCraftEvent` which allows plugins to do as such. This new event could be extremely useful for plugins not using the recipe API, and manually use the `PrepareItemCraftEvent` to allow custom crafts. |
Comments |
Comment by md_5 [ 02/Feb/25 ] |
PrepareItemCraftEvent will now be fired |