use of mekanism.common.recipe.condition.ModVersionLoadedCondition in project Mekanism by mekanism.
the class BiomesOPlentyRecipeProvider method addSandRecipes.
private void addSandRecipes(Consumer<IFinishedRecipe> consumer, String basePath) {
// Black Sandstone -> Sand
RecipeProviderUtil.addSandStoneToSandRecipe(consumer, basePath + "black", modLoaded, BOPBlocks.black_sand, BOPBlocks.black_sandstone, BOPBlocks.chiseled_black_sandstone, BOPBlocks.cut_black_sandstone, BOPBlocks.smooth_black_sandstone);
// Orange Sandstone -> Sand
// TODO - 1.18: Change this to just modLoaded
RecipeProviderUtil.addSandStoneToSandRecipe(consumer, basePath + "orange", new ModVersionLoadedCondition(modid, "1.16.3-12.0.0.404"), BOPBlocks.orange_sand, BOPBlocks.orange_sandstone, BOPBlocks.chiseled_orange_sandstone, BOPBlocks.cut_orange_sandstone, BOPBlocks.smooth_orange_sandstone);
// White Sandstone -> Sand
RecipeProviderUtil.addSandStoneToSandRecipe(consumer, basePath + "white", modLoaded, BOPBlocks.white_sand, BOPBlocks.white_sandstone, BOPBlocks.chiseled_white_sandstone, BOPBlocks.cut_white_sandstone, BOPBlocks.smooth_white_sandstone);
}
Aggregations