From 7370cc81fc4d5e22c69be108fe2ba3fd6264e714 Mon Sep 17 00:00:00 2001 From: gentlegiantJGC Date: Tue, 6 Aug 2024 12:58:41 +0100 Subject: [PATCH] Added Bedrock Netease path (#1084) * Added Bedrock Netease path * Reformatted * Added missing comma --- amulet_map_editor/api/wx/ui/select_world.py | 5 +++++ amulet_map_editor/lang/en.lang | 1 + 2 files changed, 6 insertions(+) diff --git a/amulet_map_editor/api/wx/ui/select_world.py b/amulet_map_editor/api/wx/ui/select_world.py index 67bd4922..e10563a8 100644 --- a/amulet_map_editor/api/wx/ui/select_world.py +++ b/amulet_map_editor/api/wx/ui/select_world.py @@ -56,6 +56,11 @@ "com.mojang", "minecraftWorlds", ) + minecraft_world_paths[lang.get("world.bedrock_netease")] = os.path.join( + os.getenv("APPDATA"), + "MinecraftPE_Netease", + "minecraftWorlds", + ) elif platform == "darwin": minecraft_world_paths[lang.get("world.java_platform")] = os.path.join( os.path.expanduser("~"), "Library", "Application Support", "minecraft", "saves" diff --git a/amulet_map_editor/lang/en.lang b/amulet_map_editor/lang/en.lang index 658e06a0..b02d8535 100644 --- a/amulet_map_editor/lang/en.lang +++ b/amulet_map_editor/lang/en.lang @@ -64,6 +64,7 @@ world.java_platform=Java world.bedrock_platform=Bedrock world.bedrock_education_store=Education Edition (Store) world.bedrock_education_desktop=Education Edition (Desktop) +world.bedrock_netease=Bedrock (Netease) world.close_world=Close World # Menu bar