Named spaces

- Add namespace to runtime generated tags
This commit is contained in:
IThundxr 2025-02-12 15:13:09 -05:00
parent cb55dbccdf
commit 52ac7ae17b
Failed to generate hash of commit

View file

@ -90,7 +90,7 @@ public class RuntimeDataGenerator {
simpleWoodRecipe(nonStrippedId, itemId);
simpleWoodRecipe(itemId, planksId, 6);
} else if (BuiltInRegistries.ITEM.containsKey(planksId)) {
ResourceLocation tag = Create.asResource("runtime_generated/compat/" + matched.getPath());
ResourceLocation tag = Create.asResource("runtime_generated/compat/" + itemId.getNamespace() + "/" + matched.getPath());
insertIntoTag(tag, itemId);
insertIntoTag(tag, nonStrippedId);