public virtual CraftItem FindCraft(Type type, bool subClasses) { if (CraftItems != null) { return(subClasses ? CraftItems.SearchForSubclass(type) : CraftItems.SearchFor(type)); } return(null); }