I'm trying to override the default Minecraft armor by replacing it with custom armor but so far it's told me to use .set()
I've tried to set my mod id to Minecraft and got told to use .set() Code:
LEATHER_HELMET = Registry.register(Registry.ITEM, new ResourceLocation(Armor.MODID, "leather_helmet"), new Leather.Helmet());
Then I tried Registry.set() which wouldn't even compile and I then looked it up on ChatGPT as a last resort and it told me to use
LEATHER_HELMET = Item.REGISTRY.set(new ResourceLocation("minecraft:leather_helmet"), 1152, new ItemStack(Test2ModItems.LEATHER_HELMET));
but my IDE told me that it "cannot resolve symbol 'REGISTRY'"