Jump to content

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


Recommended Posts

Posted (edited)

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

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



×
×
  • Create New...

Important Information

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