diff --git a/src/main/java/com/drmangotea/tfmg/datagen/recipes/values/TFMGStandardRecipeGen.java b/src/main/java/com/drmangotea/tfmg/datagen/recipes/values/TFMGStandardRecipeGen.java index 4d2807cf..e29c9822 100644 --- a/src/main/java/com/drmangotea/tfmg/datagen/recipes/values/TFMGStandardRecipeGen.java +++ b/src/main/java/com/drmangotea/tfmg/datagen/recipes/values/TFMGStandardRecipeGen.java @@ -2487,8 +2487,8 @@ public class TFMGStandardRecipeGen extends TFMGRecipeProvider { } TFMGRecipeProvider.GeneratedRecipe blastModdedCrushedMetal(ItemEntry ingredient, CommonMetal metal) { - String metalName = metal.name; for (Mods mod : metal.mods) { + String metalName = metal.getName(mod); ResourceLocation ingot = mod.ingotOf(metalName); String modId = mod.getId(); create(ingot).withSuffix("_compat_" + modId) diff --git a/src/main/java/com/drmangotea/tfmg/registry/TFMGBlocks.java b/src/main/java/com/drmangotea/tfmg/registry/TFMGBlocks.java index 66de8b13..bb942d29 100644 --- a/src/main/java/com/drmangotea/tfmg/registry/TFMGBlocks.java +++ b/src/main/java/com/drmangotea/tfmg/registry/TFMGBlocks.java @@ -195,6 +195,8 @@ import static com.simibubi.create.foundation.data.TagGen.axeOnly; import static com.simibubi.create.foundation.data.TagGen.axeOrPickaxe; import static com.simibubi.create.foundation.data.TagGen.pickaxeOnly; import static com.simibubi.create.foundation.data.TagGen.tagBlockAndItem; +import static com.drmangotea.tfmg.registry.TFMGTags.forgeBlockTag; +import static com.drmangotea.tfmg.registry.TFMGTags.forgeItemTag; @SuppressWarnings("removal") public class TFMGBlocks {