From f043fb0d3968cbf7939995a272bbbdc942c7d406 Mon Sep 17 00:00:00 2001 From: Leclowndu93150 Date: Sun, 6 Oct 2024 16:42:24 +0200 Subject: [PATCH] tag fixes --- build.gradle | 4 ++++ gradle.properties | 2 +- .../moreplates/datagen/DynamicDataPack.java | 22 +++++++++++++++++++ .../moreplates/utils/IngotUtil.java | 2 +- 4 files changed, 28 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index f7f0447..e9acda2 100644 --- a/build.gradle +++ b/build.gradle @@ -116,6 +116,10 @@ configurations { dependencies { runtimeOnly "curse.maven:mekanism-268560:5680395" + runtimeOnly "curse.maven:cloth-config-348521:5729127" + runtimeOnly "curse.maven:modern-industrialization-405388:5729622" + runtimeOnly "curse.maven:mystical-agriculture-246640:5774649" + runtimeOnly "curse.maven:cucumber-272335:5774468" runtimeOnly "curse.maven:jei-238222:5781938" implementation "curse.maven:selene-499980:5787975" } diff --git a/gradle.properties b/gradle.properties index ae35567..3bd806e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -34,7 +34,7 @@ mod_name=More Plates # The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default. mod_license=All Rights Reserved # The mod version. See https://semver.org/ -mod_version=1.0.0 +mod_version=1.0.1 # The group ID for the mod. It is only important when publishing as an artifact to a Maven repository. # This should match the base package used for the mod sources. # See https://maven.apache.org/guides/mini/guide-naming-conventions.html diff --git a/src/main/java/com/portingdeadmods/moreplates/datagen/DynamicDataPack.java b/src/main/java/com/portingdeadmods/moreplates/datagen/DynamicDataPack.java index cf87bf1..5605998 100644 --- a/src/main/java/com/portingdeadmods/moreplates/datagen/DynamicDataPack.java +++ b/src/main/java/com/portingdeadmods/moreplates/datagen/DynamicDataPack.java @@ -3,6 +3,7 @@ import com.google.gson.JsonArray; import com.google.gson.JsonElement; import com.google.gson.JsonObject; +import com.mojang.serialization.Decoder; import com.portingdeadmods.moreplates.MorePlatesMod; import com.portingdeadmods.moreplates.config.MPConfig; import com.portingdeadmods.moreplates.registries.MPItems; @@ -21,6 +22,7 @@ import net.minecraft.server.packs.repository.Pack; import net.minecraft.server.packs.resources.ResourceManager; import net.minecraft.world.item.Item; +import net.minecraft.world.item.ItemStack; import net.minecraft.world.item.crafting.Recipe; import net.neoforged.neoforge.common.conditions.ICondition; import org.apache.logging.log4j.Logger; @@ -34,6 +36,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("c"); } @Override @@ -156,6 +159,25 @@ public void accept(@NotNull ResourceLocation resourceLocation, @NotNull Recipe