From 8ea58049e14ff9b67adbfc3c7e585c3420829536 Mon Sep 17 00:00:00 2001 From: Leclowndu93150 Date: Sun, 6 Oct 2024 12:18:02 +0200 Subject: [PATCH] tags done --- .../portingdeadmods/moreplates/datagen/DynamicDataPack.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/portingdeadmods/moreplates/datagen/DynamicDataPack.java b/src/main/java/com/portingdeadmods/moreplates/datagen/DynamicDataPack.java index aa2e323..52475df 100644 --- a/src/main/java/com/portingdeadmods/moreplates/datagen/DynamicDataPack.java +++ b/src/main/java/com/portingdeadmods/moreplates/datagen/DynamicDataPack.java @@ -35,7 +35,7 @@ public class DynamicDataPack extends DynServerResourcesGenerator { public DynamicDataPack() { super(new net.mehvahdjukaar.moonlight.api.resources.pack.DynamicDataPack(ResourceLocation.fromNamespaceAndPath(MorePlatesMod.MODID,"generated_pack"), Pack.Position.TOP, false, false)); this.dynamicPack.setGenerateDebugResources(PlatHelper.isDev()); - this.dynamicPack.addNamespaces(MorePlatesMod.MODID, "c"); + this.dynamicPack.addNamespaces("c"); } @@ -71,7 +71,7 @@ public void regenerateDynamicAssets(ResourceManager manager) { SimpleTagBuilder tagBuilder = SimpleTagBuilder.of(ResourceLocation.fromNamespaceAndPath("c", "plates/"+rawName.replace("_plate", ""))); tagBuilder.addEntry(item); - this.dynamicPack.addTag(tagBuilder, Registries.ITEM); + dynamicPack.addTag(tagBuilder, Registries.ITEM); System.out.println("Adding tag: "+tagBuilder.getId() + " with entry: "+item); Item ingot = inputItem.getItem();