ReplaceItem.clear constructor
ReplaceItem.clear(
- dynamic target,
- Slot slot
Use ReplaceItem.clear to clear a specific slot you can
Implementation
ReplaceItem.clear(
dynamic target,
this.slot,
) : item = Item(Items.air),
_type = _ReplaceItemType.replace {
_setTarget(target);
}