replace Result Handler
abstract fun replaceResultHandler(results: Map<CoordinateComponent, ReplaceableResultSupplier.ReplaceState>, usedQueries: Map<CoordinateComponent, ItemStack>, usedContext: ReplaceableResultSupplier.Context)
Called after all slot write-back attempts have completed (or timed out).
Use this callback to inspect per-slot outcomes, deliver items to the player if needed, or perform any post-craft side effects.
Since
5.0.21
Parameters
results
Per-slot outcome of the write-back operation. Contains an entry for every key in the map returned by replaceQueries.
used Queries
The map returned by replaceQueries.
used Context
The Context that was passed to replaceQueries