This is my localization file (en_us.json).
{
"item.modid.cobblestone_nugget": "Cobblestone nugget"
}
However, the name wasn't showed in game, and IntelliJ tells me "Translation key not included in default localization file".
What is the "default localization file", and how do I include the key in it?
Thanks a lot. I tried debugging but it didn't even hit the breakpoint, while the diamond cannot be put into the fuel slot.
I suppose the problem may be because the structure of my code? Still trying to find a way to solve that.
That sure is what I imported.
What should the method be called? Is there a problem with my way of registering the event?
I'm currently using IntelliJ IDEA, how can I find the problem using "debug"?
Thanks!
The website has a lot of useful information, but I don't quite understand why subscribing to this event can change an item's properties and how to do so. The concept 'Event' is quite hard to understand:(
I'm here to ask how to develop a mod in which something (diamond, for example) can be added as fuel for the furnace like coal, since I couldn't find where to change the properties of original items in Minecraft.
My first attempt to make a mod, please help!