Localization loading issue for custom bags
bkbripper opened this issue ยท 1 comments
Greetings;
2 days ago I tried getting a custom bag I created in the configs and it loaded into the game no worries, getting a localization via resource pack is something I'm currently having trouble with. I've referred to the wiki numerous times to verify that everything should look and be alright for the game, but no prevail.
I'm using MC 1.12.2, Lootbags 1.12.2-2.5.8.5, with forge-14.23.5.2838
Resource pack:
pack.mcmeta
{ "pack":{ "pack_format":3, "description":"Test for custom Loot Bags" } }
(I have '3' for pack_format because for making resources packs in 1.12.2 according to main MC wiki. Also, this file is located next to the assets folder.)
en_US.lang
name.lootbags_lootbagAmmo.name=Ammo Lootbag
(This file is nested in assets/lootbags/lang/)
Here's also the config settings for new bag:
$STARTBAG:lootbag_Ammo:21 $BAGCOLOR:0|115|56:255|255|255 $ISSECRET:false $BAGTEXTCOLOR:$DARK_GREEN $BAGTEXTUNOPENED:$DARK_GREEN:Get your munitions before the bandits come! $BAGTEXTOPENED:Either the bandits have attacked, or wrong ammo type? $BAGTEXTSHIFT:$DROPCHANCES $BAGVALUE:0:0 $PASSIVESPAWNWEIGHT:0 $PLAYERSPAWNWEIGHT:50 $MOBSPAWNWEIGHT:50 $BOSSSPAWNWEIGHT:100 $USERGENERALLOOTSOURCES:false $MAXIMUMITEMS:5 $MINIMUMITEMS:5 $PREVENTITEMSREPEATS:none $EXCLUDEENTITIES:false $STARTWHITELIST mw:bullet145x114:0:1:64:20 mw:bullet762x25:0:1:64:20 mw:bullet380200:0:1:64:20 mw:bullet762x21:0:1:64:20 mw:bullet127x40:0:1:64:20 mw:bullet300blackout:0:1:64:20 mw:bullet308:0:1:64:20 mw:bullet303british:0:1:64:20 mw:bullet792x33:0:1:64:20 mw:magnum44ammo:0:1:64:20 mw:bullet8mm:0:1:64:20 mw:bullet762x51:0:1:64:20 mw:bullet762x54:0:1:64:20 mw:shotgunshell:0:1:64:20 mw:bullet762x39:0:1:64:20 mw:bullet556x45:0:1:64:20 mw:bullet792x57:0:1:64:20 mw:bullet9x39mm:0:1:64:20 mw:bullet10mm:0:1:64:20 mw:bullet45acp:0:1:64:20 mw:carbine30:0:1:64:20 mw:winchester4440:0:1:64:20 mw:bullet95x40:0:1:64:20 mw:bullet545x39:0:1:64:20 mw:bmg50:0:1:64:20 mw:bullet65x39:0:1:64:20 mw:bullet9mm:0:1:64:20 mw:cheyenne408:0:1:64:20 mw:bullet50ae:0:1:64:20 mw:bulletspringfield3006:0:1:64:20 mw:bullet357:0:1:64:20 mw:bullet46x30:0:1:64:20 mw:bullet455:0:1:64:20 mw:bullet57x28:0:1:64:20 mw:shotgunshell410:0:1:64:20 mw:bullet556x39:0:1:64:20 $ENDWHITELIST $ENDBAG:lootbag_Ammo
(This part is working as intended in the game, although balancing is yet to be done. I've also made sure when I zipped the 2 files for proper order where pack.mcmeta is outside and en_US is nested as a .zip file.)
I'm kinda at a loss to resolve this problem. Any help is greatly appreciated, and if the solution is easy to spot out then apologies; my knowledge of code is still underdeveloped.