public static interface CraftItemEvent.Preview extends CraftItemEvent
CraftItemEvent.Craft, CraftItemEvent.PreviewChangeInventoryEvent.Equipment, ChangeInventoryEvent.Held, ChangeInventoryEvent.Pickup, ChangeInventoryEvent.SwapHand, ChangeInventoryEvent.Transfer| Modifier and Type | Method and Description |
|---|---|
SlotTransaction |
getPreview()
The SlotTransaction on the output slot.
|
getCraftingInventory, getRecipegetTargetInventoryfilter, getTransactionsgetCause, getContext, getSourceisCancelled, setCancelledSlotTransaction getPreview()
Setting a custom Item here changes the result of the recipe replacing the default result