Skip to main content

Dispensed

Type Alias Dispensed 

pub type Dispensed = (Option<ItemStack>, i32);
Expand description

A dispenser hook’s answer: the slot’s remainder (None empties it) and the level event to play, CLICK (1000), FAIL (1001) or 0 for none.