Source code for Minecraft Pocket Edition 0.6.1 alpha with various fixes and improvements and backported features.
This project aims to preserve and try to backport newer Minecraft PE alpha versions or possibly release versions and improve this early version of Minecraft PE.
inspired by NeoLegacy
- Port Alpha 0.7.0 (100% complete 🎉)
- Port Alpha 0.7.1 (100% complete 🎉)
- Port Alpha 0.7.2 (Not started)
- Port Alpha 0.7.3 (Not started)
- Port Alpha 0.7.4 (Not started)
- Port Alpha 0.7.5 (Not started)
- Port Alpha 0.7.6 (Not started)
- Port Alpha 0.8.0 (Not started)
- other versions...
Huge thanks to the following projects:
- Kolyah35/minecraft-pe-0.6.1 - for the base for this project
- neoStudiosLCE/neoLegacy - for inspiring me to make this project
- Install dependiences
(Debian-like)
sudo apt install build-essential git cmake libgl-dev libwayland-dev xorg-dev libxkbcommon-dev
(Arch-like)
sudo pacman -S base-devel git cmake libglvnd wayland xorg-server-devel xorgproto libxkbcommon
-
Create build folder
mkdir build && cd build -
Generate CMake cache and build the project
cmake .. -B .
cmake --build .
-
Install Visual studio Build Tools and CMake
-
Create build folder
mkdir build && cd build -
Generate CMake cache and build the project
cmake ..
cmake --build .
- Open the repository folder in Visual Studio.
- Visual Studio will automatically detect the
CMakeLists.txtfile and generate the project configuration. - Set MinecraftPE.exe as the target.
- Press Run (or F5) to build and launch the game.
-
Download Android NDK r14b:
http://dl.google.com/android/repository/android-ndk-r14b-windows-x86_64.zip -
Extract it to the root of your
C:drive so the path becomes:C:\android-ndk-r14b -
Run the build script:
# Full build (NDK + Java + APK + install)
.\build.ps1
# Skip C++ compilation (Java/assets changed only)
.\build.ps1 -NoCpp
# Skip Java compilation (C++ changed only)
.\build.ps1 -NoJava
# Only repackage + install (no compilation)
.\build.ps1 -NoBuild-
Download Command line tools:
https://developer.android.com/studio#command-line-tools-only -
Unzip it into a folder, e.g.:
mkdir -p "$HOME/Android/Sdk/" unzip commandlinetools-linux-*.zip -d "$HOME/Android/Sdk/"
-
Your structure should look like
$HOME/Android/Sdk/cmdline-tools/bin/sdkmanager[!Note]
sdkmanagerexpects the SDK to include acmdline-tools/latest/folder. If you only havecmdline-tools/bin, create the required layout:mkdir -p "$HOME/Android/Sdk/cmdline-tools/latest" ln -snf ../bin "$HOME/Android/Sdk/cmdline-tools/latest/bin" ln -snf ../lib "$HOME/Android/Sdk/cmdline-tools/latest/lib" ln -snf ../source.properties "$HOME/Android/Sdk/cmdline-tools/latest/source.properties" ln -snf ../NOTICE.txt "$HOME/Android/Sdk/cmdline-tools/latest/NOTICE.txt"
-
Install the build tools (and platform) using
sdkmanagerexport ANDROID_SDK_ROOT="$HOME/Android/Sdk" export PATH="$ANDROID_SDK_ROOT/cmdline-tools/latest/bin:$PATH" sdkmanager --install "platform-tools" "platforms;android-35" "build-tools;35.0.0"
[!Note] if you want build.sh to always find the SDK, Set ANDROID_SDK_ROOT in your shell config (~/.bashrc / ~/.profile / ~/.config/fish/config.fish), for example:
export ANDROID_SDK_ROOT="$HOME/Android/Sdk"
Then restart your shell (or
sourcethe file) -
Verify the install
ls "$ANDROID_SDK_ROOT/build-tools"You should see a version folder like:
35.0.0 33.0.2
-
Download Android NDK r14b:
https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip -
Extract the archive to
/home/username/, so that the final directory path is/home/username/android-ndk-r14b/[!Warning] Make sure you don’t end up with a nested folder like
/home/username/android-ndk-r14b/android-ndk-r14b/. -
Re run
build.sh
-
Download and install emsdk: https://emscripten.org/docs/getting_started/downloads.html
[!Note] On arch linux you can use AUR:
yay -Sy emsdk -
Configure and build project:
mkdir build && cd build cmake .. -B . -G Ninja "-DCMAKE_TOOLCHAIN_FILE=$EMSDK/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" cmake --build . --target MinecraftPE[!Note] If you are using VSCode with CMake plugin, you can add Emscripten kit
- Press Ctrl + Shift + P
- Type
CMake: Edit User-Local CMake Kitsand hit Enter - Add this:
{ "name": "Emscripten", "compilers": { "C": "/usr/lib/emsdk/upstream/bin/clang", "CXX": "/usr/lib/emsdk/upstream/bin/clang++" }, "toolchainFile": "/usr/lib/emsdk/upstream/emscripten/cmake/Modules/Platform/Emscripten.cmake" } -
Run game:
emrun --port 8080 .
[Note!] There's a precompiled IPA artifact in the GitHub mirror under Actions for those who either don't have Macs or don't want to build themself. But if you want to build youself, you'll need a Mac with Xcode. Download Xcode from the Mac App Store.
Open your terminal and clone the repository
git clone https://gitea.sffempire.ru/Kolyah35/minecraft-pe-0.6.1.git
cd minecraft-pe-0.6.1You can also build from the ios-support branch by checking out to it
git checkout ios-support
The project file is in minecraft-pe-0.6.1/project/iosproj/minecraftpe.xcodeproj. Open it.
Before you can deploy to an iPhone, you must sign the app with your own Apple Developer account:
- Select the minecraftpe project in the left sidebar.
- Go to Signing & Capabilities.
- Change the Bundle Identifier to something unique (e.g.,
com.yourname.mcpe). - Select your Team from the dropdown menu.
- Connect your iPhone via USB or LAN.
- Select your device from the run destination menu at the top of Xcode.
- Press Cmd + R (or the Play button).
- Note: If you encounter a "Developer Mode" or "Untrusted Developer" error on your phone, go to Settings > General > VPN & Device Management to trust your certificate.
