public static void addToRunList(EntitySpec<?> entity, String ...recipes) { for (String recipe: recipes) entity.configure(ChefSoloDriver.CHEF_RUN_LIST, SetModifications.addItem(recipe)); }
public static void addToRunList(EntityInternal entity, String ...recipes) { for (String recipe: recipes) entity.setConfig(ChefSoloDriver.CHEF_RUN_LIST, SetModifications.addItem(recipe)); }