-
What's the problem with the localization file?
I edited it in the IntelliJ project. And then it gives me this notification.
-
What's the problem with the localization file?
Surely it is possible to just write the json files?
-
What's the problem with the localization file?
It is located at resources/assets/(modid)/lang/
-
What's the problem with the localization file?
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?
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
Thanks a lot. I've cloned the repository and now it works. Should I continue using the cloned repo? And thanks to all of you for enthusiasm to help!
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
Is it because I'm using 1.18?
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
I don't understand. Why??
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
I've posted the whole directory at https://github.com/Infinitas64/forge-1.18.2-40.1.0-mdk.
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
It seems that the method wasn't even used. Why is that? (since I'm new, maybe it's just some stupid problem)
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
Here, here, and here.
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
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.
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
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"?
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
Thanks. @Mod.EventBusSubscriber(modid = "modid") public class ModNameEvents { @SubscribeEvent public static void modifyFuelBurnTime(FurnaceFuelBurnTimeEvent event) { ItemStack stack = event.getItemStack(); Item item = stack.getItem(); if (item == DIAMOND) { event.setBurnTime(2560); } } } Why doesn't this work? Didn't I subscribe to the event?
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
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:(
-
Is there a way to add something as fuel for the furnace using Minecraft Forge?
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!
IPS spam blocked by CleanTalk.