mojira.dev
REALMS-11463

localized text not working on Realms (resource pack / custom items / renamed items

When using resource packs that have custom item/entity texts, they don't work on the realm. This is especially prevalent when using functions to execute commands on said items/entities.

This is easily reproducable by creating a simple resource pack and renaming some items, for  example, create a en_US.lang file, and add the following text:

item.snowball.name=Wand
entity.snowball.name=Wand

and observe the /execute working on @e [name=Wand] on an offline map and NOT on a realm. I tried adding all 29 languages with the proper languages.json file to make sure it's not to do with some Realm localization.

Attachments

Comments 4

Hi

Can you please attach example resource pack?

This ticket will automatically reopen when you reply.

I have added the pack. You can reproduce by enabling it on an offline world, then take a snowball (which is renamed as "Wand") and observe you can both throw it and drop it on the ground while executing a command on the entity by using [name=Wand].

When you enable the same pack on a realm, it will not work as the renamed item will still be called a "Snowball"....this appears to work with all named/renamed entities/items. They DO show up in the inventory with the names used in the .lang file, just the entities themselves are not named.

 

[media][media]

Hi

I am unable to make /execute working on @e [name=Wand] command to work. However on both Realms and local world snowball is renamed to "Wand" as item in hotbar/creative inventory. Can you please record this issue occuring and upload it here?

This ticket will automatically reopen when you reply.

I recorded a video of it happening. I start out at the local world, show that the resource pack is loaded and then proceed to put a snowball item on the ground and /execute a command on it.

I will then proceed on the realm and repeat these steps and show it's not named "Wand" but "Snowball" thus ignoring the custom naming. 

Unfortunately an issue when dealing with executing commands on dropped (named) items. 

https://youtu.be/yowHqit_0yQ

(I posted in a private YT video as it was too large to fit directly)

 

Marco Bergsma

(Unassigned)

Confirmed

Bedrock

Retrieved