Jump to content

[Forge/Bug?]ResourcePacks are not Able to Override modded Lang


jredfox

Recommended Posts

Code:

    @EventHandler
    public void preInit(FMLPreInitializationEvent event)
    {
    	Item i = new Item();
    	i.setRegistryName("aa:b");
    	i.setUnlocalizedName("aa.b");
    	ForgeRegistries.ITEMS.register(i);
    }

Mod Lang:
C:\Users\jredfox\Documents\MDK\1.12.2\src\main\resources\assets\a\lang\en_us.lang

 

Resource Pack Lang:
C:\Users\jredfox\Documents\MDK\1.12.2\run\resourcepacks\New folder\assets\minecraft\lang\en_us.lang

Also tried:
C:\Users\jredfox\Documents\MDK\1.12.2\run\resourcepacks\New folder\assets\a\lang\en_us.lang


RP Lang:
item.aa.b.name=Z
tile.stone.stone.name=22

Mod Lang:
item.aa.b.name=Test

Display even on rp reload displays "Test" not "Z" like it's suppose to. Environment is fresh mdk forge recommended. I know the lang of the resource pack was working because, I overriden the stone block and it was working for vanilla

is this a bug should I report this?

Edited by jredfox
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Dikenal dengan jenis permainan yang populer adalah GAME 0nline. Dalam dunia GAME online, terdapat beberapa server yang dikenal memiliki tingkat kemenangan yang tinggi, salah satunya adalah server Thailand. Di server ini, terdapat seorang pemain yang dikenal dengan sebutan "Abang Gac0r", yang memiliki reputasi sebagai pemain yang profit. Bocoran Pola Game Mahjong Ways Hari ini 2024 Sebagai hidangan penutup yang manis untuk bahasan tentang teknik bermain ini, akan memberikan Trik Pola Mahjong. Daftar bocoran pola ini berasal dari rekomendasi yang Patten sering beredar di komunitas pecinta kami. Pola Game nya adalah sebagai berikut: Turbo ❌ – Auto Circuit 20 Turbo ❌ – Auto Circuit 30 Turbo ❌ – Auto Circuit 10 Turbo ✅ – Auto Circuit 50 Turbo ✅ – Auto Circuit 20 Turbo ✅ – Auto Circuit 20 BUUY SPIN SESUAIKAN BETT BeTt: 400 – 2000 BetT: 4000 - 8000 Game MAHJONG diketahui punya jam panas antara pukul 06:10 pagi hingga pukul 10:15 pagi. Disclaimer, bahwa pola dan jam nya yang kami bagikan tidak menjamin 100% kemenangan terbaik. Namun layak untuk dicoba karena pola tersebut berasal dari riwayat taruhan yang telah menghasilkan Profit besar.
    • SENJU33 Slot Demo merupakan salah satu website yang mengumpulkan permainan slot online secara gratis yang bisa dimainkan melalui akun demo slot gratis oleh semua orang tanpa mengeluarkan duit sepeserpun. Perlu anda ketahui, jika halaman utama ini sudah bekerja sama dengan provider- provider slot top dunia seperti pragmatic play, pg soft, DAFTAR KLIK DISINI
    • Hello, for educational purpose I am trying to port a mod from 1.20.1 to 1.20.2+ but I can't understand how the new networking system works. I manage to get through it for the most part, but I'm stuck on how to register packets. The previous method was: INSTANCE.registerMessage(id++, CPExecuteSkill.class, CPExecuteSkill::toBytes, CPExecuteSkill::fromBytes, CPExecuteSkill::handle); with instance being of type SimpleChannel.  (The forge document is not up to date for this part unfortunatly) Any help or clear documentation would be welcome.
    • A code: public class CommonProxy {     public void registerItemRenderer() {         Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(                 ModItems.YOUR_ITEM,                 0,                 new ModelResourceLocation(ModItems.YOUR_ITEM.getRegistryName(), "inventory")         );         Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(                 ModItems.YOUR_ITEM,                 0,                 new ModelResourceLocation(ModItems.YOUR_ITEM.getRegistryName(), "inventory"),                 new CustomItemRenderer(Minecraft.getMinecraft().getTextureManager(), Minecraft.getMinecraft().getRenderItem().getItemModelMesher().getModelManager(), Minecraft.getMinecraft().getItemColors())         );     } }   In YOUR_ITEM you must specify item. If not working try this: public class ModInit {     @Mod.EventHandler     public void init(FMLInitializationEvent event) {         CommonProxy commonProxy = new CommonProxy();         commonProxy.registerItemRenderer();     } }
    • Delete the jei-server.toml file in your config folder and test it again
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.