Package io.papermc.paper.event.inventory
Class ItemCraftedEvent
java.lang.Object
org.bukkit.event.Event
io.papermc.paper.event.inventory.ItemCraftedEvent
Called when a player picks up a crafted item from the result slot of a crafting grid.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the item that was crafted and picked up by the player.static HandlerListGets the player who triggered the event by picking up the crafted item.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
ItemCraftedEvent
-
-
Method Details
-
getPlayer
Gets the player who triggered the event by picking up the crafted item.- Returns:
- the player
-
getCraftedItem
Gets the item that was crafted and picked up by the player.- Returns:
- the crafted item
-
getHandlers
- Specified by:
getHandlersin classEvent
-
getHandlerList
-