From c2c4eb6ea85b58b8e82bfc190209245d353f9310 Mon Sep 17 00:00:00 2001 From: "George V." Date: Mon, 13 Apr 2026 22:43:19 +0300 Subject: [PATCH] fix: Change string ID for Elder Guardian entity The string identifier for the Elder Guardian entity was set to `IDS_GUARDIAN_ELDER`. This has been changed to the consistent identifier `IDS_ELDER_GUARDIAN`. Additionally, the localization file has been updated to include the missing string definitions for both `IDS_GUARDIAN` and `IDS_ELDER_GUARDIAN` --- Minecraft.Client/Windows64Media/loc/stringsGeneric.xml | 8 ++++++++ Minecraft.World/EntityIO.cpp | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Minecraft.Client/Windows64Media/loc/stringsGeneric.xml b/Minecraft.Client/Windows64Media/loc/stringsGeneric.xml index f5cd3349..a4b3d375 100644 --- a/Minecraft.Client/Windows64Media/loc/stringsGeneric.xml +++ b/Minecraft.Client/Windows64Media/loc/stringsGeneric.xml @@ -9338,6 +9338,14 @@ All Ender Chests in a world are linked. Items placed into an Ender Chest are acc Endermite + + + Guardian + + + + Elder Guardian + Written Book diff --git a/Minecraft.World/EntityIO.cpp b/Minecraft.World/EntityIO.cpp index 4fc52c73..f866e8b9 100644 --- a/Minecraft.World/EntityIO.cpp +++ b/Minecraft.World/EntityIO.cpp @@ -46,7 +46,7 @@ void EntityIO::staticCtor() { setId(ItemEntity::create, eTYPE_ITEMENTITY, L"Item", 1); setId(ExperienceOrb::create, eTYPE_EXPERIENCEORB, L"XPOrb", 2); - setId(Guardian::create, eTYPE_ELDER_GUARDIAN, L"ElderGuardian", 4, eMinecraftColour_Mob_ElderGuardian_Colour1, eMinecraftColour_Mob_ElderGuardian_Colour2, IDS_GUARDIAN_ELDER); + setId(Guardian::create, eTYPE_ELDER_GUARDIAN, L"ElderGuardian", 4, eMinecraftColour_Mob_ElderGuardian_Colour1, eMinecraftColour_Mob_ElderGuardian_Colour2, IDS_ELDER_GUARDIAN); setId(LeashFenceKnotEntity::create, eTYPE_LEASHFENCEKNOT, L"LeashKnot", 8); setId(Painting::create, eTYPE_PAINTING, L"Painting", 9); setId(Arrow::create, eTYPE_ARROW, L"Arrow", 10);