promotional bannermobile promotional banner

MCPhone Apps Extension

Create MCPhone apps directly in game, organize them into home screen folders, and control access with per-player unlocks and item purchases.
Back to Files

mcphone-apps-extension-0.3.0.jar

File namemcphone-apps-extension-0.3.0.jar
Uploader
PureNekoPureNeko
Uploaded
Sep 15, 2026
Downloads
8
Size
156.5 KB
Mod Loaders
NeoForge
File ID
8891264
Type
R
Release
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:mcphone-apps-extension-1689905:8891264"

Learn more about Curse Maven

What's new

  • Adapted for MCPhone 1.10.2: the scroll wheel Mixin is compatible with the new `onScroll` entry point and 1.10.1's `mouseScrolled`. An injection group ensures at least one valid entry is matched, fixing the startup crash on newer versions.
    - Lowered the NeoForge version to 21.1.200+.
    - Upgraded the compile baseline to MCPhone 1.10.2 while retaining the 1.10.1 compatibility entry point and the original config format.
    - Added optional KubeJS 2101 integration: `MCPhoneAppsExtensionEvents.AppClicked(appId, event => {})`, supporting listeners for custom apps by ID or for all apps, and allowing access to the player, server, dimension, colored text components, stages, price flags, and action list.
    - The event is triggered on the server side after permission, stage, purchase, carried device, alive, and frequency checks are completed. `event.cancel()` cancels configured actions; after scripts modify definitions or revoke stages, execution eligibility is rechecked.
    - Script listeners support `/reload`. When KubeJS is not installed, the integration classes are not loaded, preserving the original functionality. Includes Chinese and English documentation and example scripts.
- 适配 MCPhone 1.10.2:滚轮 Mixin 兼容 `onScroll` 新入口与 1.10.1 的 `mouseScrolled`,通过注入组保证至少匹配一个有效入口,修复新版本启动崩溃。
-neoforge版本降到21.1.200+
- 编译基线升级为 MCPhone 1.10.2,保留 1.10.1 兼容入口与原有配置格式。
- 添加可选 KubeJS 2101 联动:`MCPhoneAppsExtensionEvents.AppClicked(appId, event => {})`,支持按 ID 或全部自定义 App 监听,可读取玩家、服务端、维度、彩色文本组件、阶段、价格标志和动作列表。
- 事件在服务端完成权限、阶段、购买、携带设备、存活与频率检查后触发。`event.cancel()` 取消配置动作;脚本修改定义或撤销阶段后重新检查执行资格。
- 脚本监听支持 `/reload`。未安装 KubeJS 时不加载联动类,保留原有功能。附带中英说明与示例脚本。
 
 

This mod has no additional files