Sets a specific container slot to a item for Entities.
ReplaceItem( this.entity, { required this.item, required this.slot, }) : _type = _ReplaceItemType.replace;