Skip to content

A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for Android platform.

License

Notifications You must be signed in to change notification settings

2019Z2/PojavLauncher

 
 

Repository files navigation

PojavLauncher

PojavLauncher logo

Android CI GitHub commit activity Crowdin Discord Twitter Follow

  • From Boardwalk's ashes here comes PojavLauncher!

  • PojavLauncher is a launcher that allows you to play Minecraft:Java Edition on your Android device!

  • It can run almost every version of the Minecraft, allowing you to use .jar only installers to install modloaders like forge, fabric, optifine; hack clients like LabyMod and much more!

  • For more details check out our wiki

Some notes to start with

  • We do not exist on TikTok. No one from the dev team makes TikTok videos.
  • The official Twitter for PojavLauncher is @PLaunchTeam. Any others (most notably @PojavLauncher) are fake, please report them to Twitter's moderation team.

Navigation

Introduction

  • PojavLauncher is a Minecraft: Java Edition launcher for Android and iOS based on Boardwalk.
  • This launcher can launch almost all available Minecraft versions ranging from rd-132211 to 1.19 snapshots (including Combat Test versions).
  • Modding via Forge and Fabric are also supported.
  • This repository contains source code for Android.
  • For iOS/iPadOS, check out PojavLauncher_iOS.

Getting PojavLauncher

Getting PojavLauncher is divided into 3 parts.

  1. You can get prebuilt app from stable releases or automatic builds.

  2. You can get it from Google Play by clicking: Google Play

  3. You can build from source.

Building

If you want to build after launcher code changes, follow the steps below.

Java Runtime Environment (JRE)

  • JRE for Android is here, and the build script is here.
  • Follow build instruction on build script README.md.
  • You can also get CI auto builds if you are lazy or failing it for some reason.
  • Either get jre8-pojav artifact from auto builds, or do splitting by yourself:
    • Get JREs for all of 4 supported architectures (arm, arm64, x86, x86_64)
      • Split JRE into parts:
        Platform-independent: .jar files, libraries, configs, etc...
        Platform-dependent: .so files, etc...
        • Create:
          A file named universal.tar.xz with all platform-independent files
          4 files named bin-<arch>.tar.xz with all platform-dependent files per-architecture
        • Put these in assets/components/jre/ folder
        • (If needed) update the Version file with the current date

LWJGL

  • Coming soon

The Launcher

  • Because languages are auto added by Crowdin, you need to run language list generator before building. In the project directory, run:
  • On Linux, Mac OS:
chmod +x scripts/languagelist_updater.sh
bash scripts/languagelist_updater.sh
  • On Windows:
scripts\languagelist_updater.bat

Then, run these commands or build using Android Studio.

  • Build GLFW stub:
./gradlew :jre_lwjgl3glfw:build
  • Build the launcher
./gradlew :app_pojavlauncher:assembleDebug

(Replace gradlew to gradlew.bat if you are building on Windows).

Current status

  • OpenJDK 9 Mobile port: ARM32, ARM64, x86, x86_64. Replaced by JRE8.
  • OpenJDK 8 Mobile port: ARM32, ARM64, x86, x86_64
  • OpenJDK 17 Mobile port: ARM32, ARM64, x86, x86_64
  • Mod installer headless
  • Mod installer with GUI. Used Caciocavallo project for AWT without X11.
  • OpenGL in OpenJDK environment
  • OpenAL (works on most devices)
  • Support for Minecraft 1.12.2 and below. Used lwjglx, a LWJGL2 compatibility layer for LWJGL3.
  • Support for Minecraft 1.13 and above. Used GLFW stub.
  • Support for Minecraft 1.17 (22w13a to be exact) and above. Used Holy GL4ES
  • Game surface zooming.
  • New input pipe rewritten to native code to boost performance.
  • Rewritten entire controls system (thanks to @Mathias-Boulay)
  • More to come!

Known Issues

  • Controller mods aren't working.
  • Random crashes could happen very often on Android 5.x during game load or join world.
  • With big modpacks textures could be messed up
  • Probably more, that's why we have a bug tracker ;)

License

Contributing

Contributions are welcome! We welcome any type of contribution, not only code. For example, you can help the wiki shape up. You can help the translation too!

Any code change to this repository (or iOS) should be submitted as a pull request. The description should explain what the code does and give steps to execute it.

Credits & Third party components and their licenses (if available)

About

A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for Android platform.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 71.1%
  • C 28.8%
  • Other 0.1%