Modifed MCPE 0.6.1
Find a file
Kirill Sokolov 110cb2a896 Infinite world, LuaJIT mod API, WorldEdit port, skins and music
- Infinite world: streamed chunk cache, multi-region storage (old chunks.dat
  still loads), per-chunk entity/tile entity persistence, client chunk
  streaming, protocol version 10, view-distance server property
- LuaJIT mod host (mods/, lua/prelude.lua) with events, commands, world and
  player API; WorldEdit command set ported to it (mods/worldedit)
- /skin command, SetSkinPacket and bundled skins
- OGG music player (data/music is ignored, tools/convert-music.ps1)
- package-windows.ps1 builds client and dedicated server for Windows

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-20 21:08:09 +03:00
.github Merge branch 'dedicated-rewrite' 2026-07-18 23:23:46 +02:00
cmake Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00
data Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00
glad hopefully fixed blackscreen 🙏 2026-03-16 23:16:16 +03:00
lua Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00
misc/web FIX: Now we're using useTouchsceen() right way!!!! 2026-03-22 02:12:04 +03:00
mods Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00
project FIX: Melon seeds name 2026-07-21 12:35:34 +02:00
src Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00
tools Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00
.gitignore Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00
build.ps1 can i get a better error please??? 2026-03-17 21:44:23 +02:00
build.sh armeabi-v7a building should work now. 2026-03-20 09:31:34 +01:00
CMakeLists.txt Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00
package-windows.ps1 Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00
README.md Infinite world, LuaJIT mod API, WorldEdit port, skins and music 2026-10-20 21:08:09 +03:00

MinecraftPE

Warning

Github repository isnt main. All issues and pull requests should be send in Gitea Repository.

Note

There is unofficial (not related to Kolyah35 and InviseDivine) discord server, where you can report bugs or send feedback https://discord.gg/udYrbNDfDH

Source code for Minecraft Pocket Edition 0.6.1 alpha with various fixes and improvements.

This project aims to preserve and improve this early version of Minecraft PE.

Features

  • Support for modern IOS and Android, Linux, Web
  • Improved Dedicated Server (Windows build, anticheat, commands, etc)
  • Features from Beta version of Minecraft (Grass tint, Beta sky, Smooth lighting, etc) and other tweaks

Screenshots

menu settings worlds gameplay

This fork: infinite world, Lua mods, WorldEdit, skins, music

  • Infinite world - chunks are generated, saved (region files r.<x>.<z>.dat, old chunks.dat worlds still load) and unloaded around the players. Dedicated server: view-distance=<chunks> in server.properties (the old world-size is ignored). Multiplayer protocol version is now 10.
  • Lua mods (LuaJIT) - drop mods into mods/, see mods/README.md for the API (events, commands, world/player access, scheduler).
  • WorldEdit - mods/worldedit is a port of EngineHub's WorldEdit command set to that API (//wand, //set, //sphere, //copy, //paste, /undo, brushes, ...).
  • Skins - data/images/skins/*.png (64x32 or 64x64). /skin list, /skin <name> in the chat console; other players see the skin you pick. Drop a <username>.png there to override the skin of that player.
  • Music - the .ogg files in data/music are played in random order (volume: Music slider). Use tools/convert-music.ps1 to convert your own FLAC/MP3 files.

Windows build (client + server)

.\package-windows.ps1            # needs Visual Studio 2022 (C++) and CMake

Result: dist\MinecraftPE-win64 (client) and dist\MinecraftPE-server-win64 (dedicated server, start-server.bat). The script limits the compiler parallelism because OpenAL Soft needs a lot of memory (-Jobs 2 for small machines), and trusts the dependency checkouts for git ("dubious ownership" on drives that do not store file owners).

Build

CMake

Linux

  1. 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

  1. Create build folder mkdir build && cd build

  2. Generate CMake cache and build the project

cmake .. -B .
cmake --build .

Windows

  1. Install Visual studio Build Tools and CMake

  2. Create build folder mkdir build && cd build

  3. Generate CMake cache and build the project

cmake ..
cmake --build .

Visual Studio

  1. Open the repository folder in Visual Studio.
  2. Visual Studio will automatically detect the CMakeLists.txt file and generate the project configuration.
  3. Set MinecraftPE.exe as the target.
  4. Press Run (or F5) to build and launch the game.

Android

Windows

  1. Download Android NDK r14b:
    http://dl.google.com/android/repository/android-ndk-r14b-windows-x86_64.zip

  2. Extract it to the root of your C: drive so the path becomes:

    C:\android-ndk-r14b
    
  3. Install Build tools 35 with SDKManager (build-tools should be in AppData):

sdkmanager "build-tools;35.0.0" --sdk_root="%LocalAppData%\Android\Sdk"
sdkmanager "build-tools;android-36" --sdk_root="%LocalAppData%\Android\Sdk"
  1. 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

Linux

  1. Download Command line tools:
    https://developer.android.com/studio#command-line-tools-only

  2. Unzip it into a folder, e.g.:

    mkdir -p "$HOME/Android/Sdk/"
    unzip commandlinetools-linux-*.zip -d "$HOME/Android/Sdk/"
    
  3. Your structure should look like

    $HOME/Android/Sdk/cmdline-tools/bin/sdkmanager
    

    Note

    sdkmanager expects the SDK to include a cmdline-tools/latest/ folder. If you only have cmdline-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"
    
  4. Install the build tools (and platform) using sdkmanager

    export 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 source the file)

  5. Verify the install

    ls "$ANDROID_SDK_ROOT/build-tools"
    

    You should see a version folder like:

    35.0.0
    
  6. Download Android NDK r14b:
    https://dl.google.com/android/repository/android-ndk-r14b-linux-x86_64.zip

  7. 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/.

  8. Re run build.sh

Web

  1. Download and install emsdk: https://emscripten.org/docs/getting_started/downloads.html

    Note

    On arch linux you can use AUR: yay -Sy emsdk

  2. 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

    1. Press Ctrl + Shift + P
    2. Type CMake: Edit User-Local CMake Kits and hit Enter
    3. 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"
    }
    
  3. Run game:

    emrun --port 8080 .
    

iOS

Xcode

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.

1. Clone

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.1

You can also build from the ios-support branch by checking out to it

git checkout ios-support

2. Open in Xcode

The project file is in minecraft-pe-0.6.1/project/iosproj/minecraftpe.xcodeproj. Open it.

3. Configure Code Signing

Before you can deploy to an iPhone, you must sign the app with your own Apple Developer account:

  1. Select the minecraftpe project in the left sidebar.
  2. Go to Signing & Capabilities.
  3. Change the Bundle Identifier to something unique (e.g., com.yourname.mcpe).
  4. Select your Team from the dropdown menu.

4. Build and Run

  1. Connect your iPhone via USB or LAN.
  2. Select your device from the run destination menu at the top of Xcode.
  3. Press Cmd + R (or the Play button).
  4. 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.