Skip to content

Commit

Permalink
make coal crushing use the tag (e.g. for Lignite)
Browse files Browse the repository at this point in the history
  • Loading branch information
thiakil committed Aug 19, 2024
1 parent e264fa2 commit e82cc2d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import net.minecraft.core.HolderLookup;
import net.minecraft.data.recipes.RecipeOutput;
import net.minecraft.tags.FluidTags;
import net.minecraft.tags.ItemTags;
import net.minecraft.tags.TagKey;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.ItemStack;
Expand Down Expand Up @@ -328,7 +329,7 @@ private void addCoalOreProcessingRecipes(RecipeOutput consumer, String basePath)
).build(consumer, Mekanism.rl(basePath + "from_ore"));
//to dust
ItemStackToItemStackRecipeBuilder.crushing(
IngredientCreatorAccess.item().from(Items.COAL),
IngredientCreatorAccess.item().from(ItemTags.COALS),
MekanismItems.COAL_DUST.getItemStack()
).build(consumer, Mekanism.rl(basePath + "to_dust"));
ItemStackIngredient forOre = IngredientCreatorAccess.item().from(MekanismTags.Items.DUSTS_COAL, 8);
Expand Down

0 comments on commit e82cc2d

Please sign in to comment.