public static interface CraftItemEvent.Preview extends CraftItemEvent
CraftItemEvent.Craft, CraftItemEvent.Preview
ChangeInventoryEvent.Equipment, ChangeInventoryEvent.Held, ChangeInventoryEvent.Pickup, ChangeInventoryEvent.SwapHand, ChangeInventoryEvent.Transfer
Modifier and Type | Method and Description |
---|---|
SlotTransaction |
getPreview()
The SlotTransaction on the output slot.
|
getCraftingInventory, getRecipe
getTargetInventory
filter, getTransactions
getCause, getContext, getSource
isCancelled, setCancelled
SlotTransaction getPreview()
Setting a custom Item here changes the result of the recipe replacing the default result