[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10938":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":9,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":21,"topics":22,"createdAt":9,"pushedAt":9,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},10938,"portable-lce","portable-lce\u002Fportable-lce","Portable version of your favorite block game.","",null,"C++",145,28,9,24,0,3,20,4.39,false,"main",true,[],"2026-06-12 02:02:28","# Portable LCE\n\n\u003Cdiv align=\"center\">\n\n![](.github-assets\u002Ftransrights.png) ![](.github-assets\u002Fprogress.png) ![](.github-assets\u002Ffreepalestine.gif) ![](.github-assets\u002Finternetarchive.gif) ![](.github-assets\u002F\u002Fieget-an.gif) ![](.github-assets\u002Fminecraft.gif) ![](.github-assets\u002Fpowered-llvm.gif)\n![](.github-assets\u002Fopengl.gif) ![](.github-assets\u002Fsgi.gif) ![](.github-assets\u002Fnot-binary.png) ![](.github-assets\u002Fadobe_getflash2.gif) ![](.github-assets\u002Fflash_get_20010813.gif) ![](.github-assets\u002FSiliconValley_7479_English_imagens_get_flashplayer.gif) ![](.github-assets\u002Fproblematic-media.gif) ![](.github-assets\u002Fseal.gif) ![](.github-assets\u002Fnotepad-logo3.webp) ![](.github-assets\u002Fhrt-e2.gif) ![](.github-assets\u002F4j.png)\n\n\u003C\u002Fdiv>\n\n---\n\nThis project is a heavily modified version of the Minecraft Console Legacy Edition codebase, aimed at porting old Minecraft (TU19\u002F1.6.1) to different platforms and refactoring the codebase to improve organization and use modern C++ features.\n\n## Status\n\n|  | [![Linux](https:\u002F\u002Fgithub.com\u002Fportable-lce\u002Fportable-lce\u002Factions\u002Fworkflows\u002Fbuild-linux.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fportable-lce\u002Fportable-lce\u002Factions\u002Fworkflows\u002Fbuild-linux.yml) | [![Windows](https:\u002F\u002Fgithub.com\u002Fportable-lce\u002Fportable-lce\u002Factions\u002Fworkflows\u002Fbuild-windows.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fportable-lce\u002Fportable-lce\u002Factions\u002Fworkflows\u002Fbuild-windows.yml) | [![macOS](https:\u002F\u002Fgithub.com\u002Fportable-lce\u002Fportable-lce\u002Factions\u002Fworkflows\u002Fbuild-macos.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fportable-lce\u002Fportable-lce\u002Factions\u002Fworkflows\u002Fbuild-macos.yml) |\n| - | - | - | - |\n| **app** | `desktop` | `desktop` | `desktop` |\n| **ui** | `java`, `shiggy`[^2] | `java`, `shiggy`[^2] | `java` |\n| **fs** | `std` | `std` | `std` |\n| **renderer** | `gl` | `gl` | `gl` |\n| **sound** | `miniaudio` | `miniaudio` | `miniaudio` |\n| **input** | `sdl2` | `sdl2` | `sdl2` |\n| **thread** | `std` | `std` | `std` |\n| **game** | `stub` | `stub` | `stub` |\n| **network** | `stub` | `stub` | `stub` |\n| **storage** | `stub` | `stub` | `stub` |\n| **profile** | `stub` | `stub` | `stub` |\n| **leaderboard** | `stub` | `stub` | `stub` |\n\n[^2]: `-Dui_backend=shiggy` supports the x86-64 architecture with AVX2 extensions only.\n\n> [!TIP]\n>\n> This table describes the current backend used for each game component on each platform. If a backend is `stub`, that means that the game uses a [stubbed implementation](https:\u002F\u002Fen.wikipedia.org\u002Fwiki\u002FMethod_stub) and the feature is unsupported at the moment. In some cases (e.g. leaderboards and profile) it makes sense to use a stubbed implementation, since we don't have access to console services like Xbox live on desktop operating systems. In other cases, it is used temporarily while work is done to properly implement the feature (such as storage for world\u002FDLC saving and loading).\n\nThese platforms are currently work-in-progress:\n- **Android**: Game runs, but the port predates many refactors and therefore can't be easily upstreamed at the moment. `ui-backend=java` only.\n- **Emscripten**: Works except for audio. Predates a major refactor, and requires a rebase. `ui-backend=java` only.\n\n---\n\n## Join our community:\n* **Discord:** https:\u002F\u002Fdiscord.gg\u002FSC6WCZezry\n\n## Building (Linux)\n\n### Prerequisites\n\n#### System Libraries\n\nDebian\u002FUbuntu:\n```bash\nsudo apt-get install -y build-essential libsdl2-dev libgl-dev libglu1-mesa-dev libpthread-stubs0-dev\n```\n\nArch\u002FManjaro:\n```bash\nsudo pacman -S base-devel pkgconf sdl2-compat mesa glu\n```\n\nFedora\u002FRed Hat\u002FNobara:\n```bash\nsudo dnf install gcc gcc-c++ make SDL2-devel mesa-libGL-devel mesa-libGLU-devel openssl-devel\n```\n\n#### Toolchain\n\nThis project requires a C++23 compiler with full standard library support.\n\n**If your distro ships GCC 15+**, you're good - just use the system compiler:\n\n```bash\nmeson setup build\n```\n\n**If your distro ships an older GCC:** install LLVM with libc++ and use the provided toolchain file:\n\n```bash\n# Debian\u002FUbuntu\nwget https:\u002F\u002Fapt.llvm.org\u002Fllvm.sh\nchmod +x llvm.sh\nsudo .\u002Fllvm.sh 20\nsudo apt install libc++-20-dev libc++abi-20-dev\n```\n\n```bash\n# Fedora\u002FRHEL (if needed)\nsudo dnf install clang lld libcxx-devel libcxxabi-devel\n```\n\nThen configure with the LLVM native file (see Configure & Build below).\n\n#### Meson + Ninja\n\nInstall [Meson](https:\u002F\u002Fmesonbuild.com\u002F) and [Ninja](https:\u002F\u002Fninja-build.org\u002F):\n\n```bash\npip install meson ninja\n```\n\nOr follow the [Meson quickstart guide](https:\u002F\u002Fmesonbuild.com\u002FQuick-guide.html).\n\n#### Docker (alternative)\n\nIf you don't want to install dependencies, use the included devcontainer. Open the project in VS Code with the [Dev Containers](https:\u002F\u002Fmarketplace.visualstudio.com\u002Fitems?itemName=ms-vscode-remote.remote-containers) extension, or build manually:\n\n```bash\ndocker build -t portable-lce-dev .devcontainer\u002F\ndocker run -it --rm -v $(pwd):\u002Fworkspaces\u002Fportable-lce -w \u002Fworkspaces\u002Fportable-lce portable-lce-dev bash\n```\n\n### Configure & Build\n\n```bash\n# If using system GCC 15+\nmeson setup build\n\n# If using LLVM\u002Flibc++\nmeson setup --native-file .\u002Fscripts\u002Fllvm_native.txt build\n\n# Compile\nmeson compile -C build\n```\n\nThe binary is output to:\n\n```\n.\u002Fbuild\u002Ftargets\u002Fapp\u002FMinecraft.Client\n```\n\n#### Clean\n\nTo perform a clean compilation:\n\n```bash\nmeson compile --clean -C build\n```\n\n...or to reconfigure an existing build directory:\n\n```bash\nmeson setup --native-file .\u002Fscripts\u002Fllvm_native.txt build --reconfigure\n```\n\n...or to hard reset the build directory:\n\n```bash\nrm -r .\u002Fbuild\nmeson setup --native-file .\u002Fscripts\u002Fllvm_native.txt build\n```\n\n---\n\n## Running\n\nGame assets are automatically copied to the build output directory during compilation. Run from that directory:\n\n```sh\n.\u002Fbuild\u002Ftargets\u002Fapp\u002FMinecraft.Client\n```\n\n\u003C!-- ### View the online documentation [here](https:\u002F\u002Fportable-lce.github.io\u002Fportable-lce). -->\n\n## Generative AI Policy\n\nSubmitting code to this repository authored by generative AI tools (LLMs, agentic coding tools, etc...) is strictly forbidden (see [CONTRIBUTING.md](.\u002FCONTRIBUTING.md)). Pull requests that are clearly vibe-coded or written by an LLM will be closed. Contributors are expected to both fully understand the code that they write **and** have the necessary skills to *maintain it*.\n","Portable LCE 项目是一个经过大量修改的 Minecraft Console Legacy Edition 代码库版本，旨在将旧版 Minecraft (TU19\u002F1.6.1) 移植到不同平台，并重构代码以提高组织性和利用现代 C++ 特性。核心功能包括跨平台支持（Linux、Windows 和 macOS）以及使用标准库和 OpenGL 进行渲染。此外，项目还采用了 SDL2 处理输入事件和 miniaudio 处理声音。当前，游戏的某些组件如网络、存储和排行榜等仍处于开发阶段，使用了占位实现。此项目适用于希望在桌面平台上体验经典 Minecraft 的开发者和玩家，同时也为对游戏移植和代码重构感兴趣的技术人员提供了一个良好的研究案例。",2,"2026-06-11 03:30:52","CREATED_QUERY"]