TransWikia.com

How To Fix Incorrect Name In Mod Glitch (Minecraft Bedrock)

Arqade Asked on June 2, 2021

so I am creating an addon, but my blocks and items all the sudden are displaying the wrong names (Example: title.sepular_ore.name) I opened the en_US.lang file, and this is what I found:

"tile.pa:sepular_ore.name=Sepular Orenitem.pa:sepular_ingot.name=Sepular Ingotnitem.pa:sepular_sword.name=Sepular Swordnitem.pa:sepular_axe.name=Sepular Axenitem.pa:sepular_pickaxe.name=Sepular Pickaxenitem.pa:sepular_shovel.name=Sepular Shovelnitem.pa:sepular_hoe.name=Sepular Hoentile.pa:sepular_block.name=Sepular Blocknitem.pa:sepulant_tube.name=Sepulant Tubenitem.pa:crushed_sepulant.name=Crushed Sepulantntile.pa:sepular_block_cracked.name=Cracked Sepular Blocknitem.pa:sepular_guard_suit.name=Sepular Guard Suitnitem.pa:sepular_pearl.name=Sepular Pearlntile.pa:chiseled_sepular_block.name=Sepular Chiseled Blockntile.pa:smooth_sepular_block.name=Smooth Sepularnitem.spawn_egg.entity.pa:sepular_tnt.name=Sepular TNTnentity.pa:sepular_tnt.name=Sepular TNTntile.pa:chiseled_sepular_slab.name=Chiseled Sepular Slabntile.pa:sepular_slab_cracked.name=Cracked Sepular Slabntile.pa:smooth_sepular_slab.name=Smooth Sepular Slabntile.pa:sepular_slab.name=Sepular Slabntile.pa:sepular_stairs.name=Sepular Stairsntile.pa:chiseled_sepular_stairs.name=Chiseled Sepular Stairsntile.pa:smooth_sepular_stairs.name=Smooth Sepular Stairsntile.pa:sepular_stairs_cracked.name=Cracked Sepular Stairsntile.pa:light_green_stained_glass.name=Sepulant Stained Glassntile.pa:sedimentary.name=Sedimentarynitem.pa:sepular_nugget.name=Sepular Nuggetntile.pa:sepular_flower.name=of the Sepularntile.pa:polished_sedimentary.name=Polished Sedimentaryntile.pa:brick_sedimentary.name=Sedimentary Brickntile.pa:sedimentary_slab.name=Sedimentary Slabntile.pa:sedimentary_stairs.name=Sedimentary Stairsntile.pa:polished_sedimentary_slab.name=Polished Sedimentary Slabntile.pa:polished_sedimentary_stairs.name=Polised Sedimentary Stairsntile.pa:sedimentary_brick_slab.name=Sedimentary Brick Slabntile.pa:sedimentary_brick_stairs.name=Sedimentary Brick Stairsntile.pa:smooth_sepular_block_dyed.name=Dyed Smooth Sepular Blockntile.pa:smooth_sepular_slab_dyed.name=Dyed Smooth Sepular Slabntile.pa:smooth_sepular_stairs_dyed.name=Dyed Smooth Sepular Stairsnitem.spawn_egg.entity.pa:sepular_guard.name=Spawn Sepular Guardnentity.pa:sepular_guard.name=Sepular Guardnitem.spawn_egg.entity.pa:op_entity.name=Spawn OP Entitynentity.pa:op_entity.name=OP Entitynitem.spawn_egg.entity.pa:epic_trader.name=Spawn Epic Tradernentity.pa:epic_trader.name=Epic Tradernitem.spawn_egg.entity.pa:buddy.name=Spawn Buddynentity.pa:buddy.name=Buddynitem.pa:sepular_flower_seed.name=Seed of the Sepularnitem.pa:sepular_flower_seed=Seed of the Sepularn##  

Sorry if that is messy. I looked up how to fix it but nothing came up for bedrock:

enter image description here

One Answer

Solution

The issue is n is literally written. Replace all instances of n with a line break (Enter key) and it should work.

Why did this happen? (Speculation)

It looks like this was automated with some sort of program and some sort of error was made (accidentally escaping the backslash, accidentally using a verbatim string, etc.) which made what normally signifies a new line (n usually means line break in almost every programming language) literally just saying backslash n.

Correct answer by Penguin on June 2, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP