Skip to content
LeviMC
Back to search

Pocket on PC

by TheNevinPie

Native touch block reach on keyboard and mouse. Windows client mod for LeviLamina 26.51.8.

client · 0.1.2

README0.1.2

Pocket on PC

Pocket on PC logo

Client build

A native Minecraft Bedrock Windows client mod that gives keyboard and mouse players the game's touch block-interaction reach.

The mod passes InputMode::Touch to GameMode::getPickRange, preserving the game's own range calculation instead of hardcoding distances. Expected touch ranges are 6 blocks in Survival and 12 in Creative. It does not change melee reach or the input mode reported by the client.

Compatibility

  • Windows x64, launched through LeviLauncher with LeviLamina client 26.51.8.
  • Matching Bedrock client 26.51.1 / runtime data 26.51.1-client.11.
  • Client-only: no server plugin is required or provided.

Server distance checks and anti-cheat still apply. Native touch values do not guarantee acceptance on a remote server; use the mod only where extended reach is permitted.

Install

With Minecraft closed, run lip from your LeviLauncher version directory:

lip install github.com/TheNevinPie/PocketOnPC#client

Or download pocket-on-pc-client-windows-x64.zip from Releases, and copy its pocket-on-pc folder into that version's mods folder:

mods/
  pocket-on-pc/
    manifest.json
    pocket-on-pc.dll

Do not download GitHub's source-code archives to install the mod.

Migrating from the old repository

Uninstall the old lip package first, since both packages install into mods/pocket-on-pc/:

lip uninstall github.com/TheNevinPie/pocket-on-pc#client
lip install github.com/TheNevinPie/PocketOnPC#client

For a manual installation, replace the existing mod folder rather than loading two copies. The old repository remains separate; its history is not imported here.

Build

Install xmake, LLVM 22 (clang-cl), and the Visual Studio C++ build tools/Windows SDK. Dependencies are pinned in xmake.lua.

xmake f -y -p windows -a x64 -m release --target_type=client
xmake -y

The generated mod is in bin/pocket-on-pc/. To create the same validated ZIP used by CI:

./scripts/package.ps1

The ZIP is written to dist/pocket-on-pc-client-windows-x64.zip; debug symbols and build caches are not included. CI builds only the Windows client and uploads this ZIP. Publishing a GitHub release rebuilds the tagged source, validates its version, and attaches the client ZIP.

Project layout

assets/logo.png           Project logo used by the catalogue and README
src/mod/                 Lifecycle, reach hook, and LeviLamina memory operators
scripts/package.ps1      Validate and package the client build
.github/workflows/       Client build and release upload
manifest.json            Native mod manifest template
tooth.json               lip package metadata and exact loader dependency
xmake.lua                C++20 / clang-cl client build

Maintained by TheNevinPie. Maintainer commits use TheNevinPie <nevinvincent6@gmail.com>; see AGENTS.md. Keep tooth.json's version and xmake.lua's modVersion in sync when releasing.

License

CC0-1.0. Based on the official LeviLamina mod template; Pocket on PC's reach behavior is carried over without its old Git history.

Install Pocket on PC

Run this in your server or client folder with lip:

lip install github.com/TheNevinPie/PocketOnPC#client@0.1.2
Download from GitHub