From 196cab707d8a99748fa892b374780a23c49b0045 Mon Sep 17 00:00:00 2001 From: patience Date: Wed, 3 Sep 2025 18:54:00 +0100 Subject: [PATCH] Altered tags --- src/main/java/com/nearmisses/mc_rebalance/AltTiers.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/nearmisses/mc_rebalance/AltTiers.java b/src/main/java/com/nearmisses/mc_rebalance/AltTiers.java index 5a4aaf2..528ccf7 100644 --- a/src/main/java/com/nearmisses/mc_rebalance/AltTiers.java +++ b/src/main/java/com/nearmisses/mc_rebalance/AltTiers.java @@ -2,6 +2,7 @@ package xyz.nearmisses.patience.mc_rebalance; import net.minecraft.world.item.crafting.Ingredient; import net.minecraftforge.common.ForgeTier; +import net.minecraftforge.common.TierSortingRegistry; import net.minecraft.world.item.Items; import net.minecraft.world.level.block.Block; @@ -14,8 +15,8 @@ public class AltTiers { // public static final TagKey GoldenTool = BlockTags.create(new ResourceLocation(MC_Rebalance.MODID, "needs_golden_tool")); public static final TagKey needsGold = BlockTags.create(ResourceLocation.fromNamespaceAndPath(MC_Rebalance.MODID, "needs_golden_tool")); - public static final TagKey needsDiamond = BlockTags.create(ResourceLocation.fromNamespaceAndPath(MC_Rebalance.MODID, "needs_diamond_tool")); - public static final TagKey needsDendrite= BlockTags.create(ResourceLocation.fromNamespaceAndPath(MC_Rebalance.MODID, "needs_dendrite_tool")); + public static final TagKey needsDiamond = BlockTags.create(ResourceLocation.fromNamespaceAndPath("minecraft", "needs_diamond_tool")); + public static final TagKey needsDendrite= BlockTags.create(ResourceLocation.fromNamespaceAndPath("forge", "needs_netherite_tool")); public static final ForgeTier Gold = new ForgeTier( 3, // Mining tier @@ -29,4 +30,6 @@ public class AltTiers { public static final ForgeTier Diamond = new ForgeTier(4, 1560, 8f, 4, 10, needsDiamond, () -> Ingredient.of(Items.DIAMOND)); public static final ForgeTier Dendrite= new ForgeTier(5, 2031,10f, 6, 15, needsDendrite,() -> Ingredient.of(Items.NETHERITE_INGOT)); + + // TierSortingRegistry.RegisterTier(Gold,ResourceLocation.fromNamespaceAndPath(MC_Rebalance.MODID, "needs_golden_tool"), ) }