Altered tags

This commit is contained in:
patience 2025-09-03 18:54:00 +01:00
parent 652d4afb1c
commit 196cab707d
No known key found for this signature in database

View file

@ -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<Block> GoldenTool = BlockTags.create(new ResourceLocation(MC_Rebalance.MODID, "needs_golden_tool"));
public static final TagKey<Block> needsGold = BlockTags.create(ResourceLocation.fromNamespaceAndPath(MC_Rebalance.MODID, "needs_golden_tool"));
public static final TagKey<Block> needsDiamond = BlockTags.create(ResourceLocation.fromNamespaceAndPath(MC_Rebalance.MODID, "needs_diamond_tool"));
public static final TagKey<Block> needsDendrite= BlockTags.create(ResourceLocation.fromNamespaceAndPath(MC_Rebalance.MODID, "needs_dendrite_tool"));
public static final TagKey<Block> needsDiamond = BlockTags.create(ResourceLocation.fromNamespaceAndPath("minecraft", "needs_diamond_tool"));
public static final TagKey<Block> 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"), )
}