I am creating a forge mod for 1.12.2. I am using eclipse as my IDE, and the recomended Forge MDK. My items appear in the world just fine, and are even textured, but the names are not showing up the way they are defined in the .lang file. Here is the ModItems class
import com.maligant.testmod.items.ItemBase;
import net.minecraft.item.*;
import java.util.ArrayList;
import java.util.List;
public class ModItems {
public static final List<Item> ITEMS = new ArrayList <Item>();
public static final Item COPPER_INGOT = new ItemBase("copper_ingot");
}
And the lang file
item.copper_ingot.name=Copper Ingot
This file is named en_US.lang
Summary:
The mod should display the unlocalized item copper_ingot as "Copper Ingot" in game, but instead displays it as "item..copper_ingot.name". I can provide any other code as needed. Any help is appreciated.