Closed Rukki13 closed 1 month ago
Where are the blocks properties defined for a certain block? The template is Lost
The tooltips come from the WorldlyTooltip module. That particular string looks like a translated ("i18n"/internationalisation) string. The main ones can be found in the files at engine/src/main/resources/org/terasology/engine/assets/i18n
).
The name string for that particular chest though is defined in https://github.com/Terasology/CoreAdvancedAssets/blob/develop/assets/i18n/game.lang. That placeholder string is supposed to be replaced by the translation system, so the issue may lie within the WordlyTooltip
module itself.
NUI's ToStringTextRenderer
class might have been intended to do it also, although you'll need to pass a translator instance into it directly.
@Rukki13 how can one quickest find such a chest?
I entered the first house I've encountered
@Rukki13 I'm closing this as this is a duplicate of https://github.com/Terasology/CoreAdvancedAssets/issues/6 In the original issue you'll find some more information about the assumed problem and ideas how to fix it.
Terasology Launcher Version: 4.8.0 Terasology Version: 5.3.0 Operating System: Windows 11 Home Onboard / Dedicated Graphics: GTX 1650 TI Java Version: 8 Update 202
Problem: When I look at the chest block, its name isn't displayed correctly.
Game Template: Lost
I will work on it and push the code.