[EM]Electronics Mod

Quick rating

Community listing page, reviews here may not be monitored by the author.

[EM]Electronics Mod

No reviews yet

This mod adds a smartphone to Minecraft.

Mod Loaders
Minecraft

About

Description

Phone Features

  • Modern Phone UI: Lock screen, home screen, app icons, status bar, wallpaper, animated transitions
  • Camera: Take photos in-game, screenshots saved to the screenshots folder
  • Calculator: Basic arithmetic operations
  • Weather: View current world weather conditions
  • Chat: Online player list + private messaging
  • WeChat System: WeChat-style interface with conversation list, chat bubbles, unread badges, contact-based friend adding, and group channels (public channel + custom channels). Real-time messaging between players on the same server or LAN
  • Music Player: Built-in Phone Waves theme track, supports reading local WAV/AIFF/AU audio files from the phone_music folder
  • App Store: Access built-in apps and mini-games
  • Browser: Embedded web browser powered by MCEF (Chromium), supports external website access
  • Settings Center: Virtual account, accessibility, battery info, screen lock password

Multiplayer Mini-Games

  • Chinese Chess (full board + turn validation)
  • Gomoku / Five in a Row (15×15 board, win detection)
  • Go / Weiqi (19×19 board, stone capture & suicide move detection + landscape board layout)
  • Dou Di Zhu / Fight the Landlord (four-player table, up to three friends can join)
All games support server-based multiplayer with server-side board state validation to prevent cheating.

Technical Highlights

  • The browser feature depends on the MCEF (Minecraft Chromium Embedded Framework) mod, integrated via reflection. When MCEF is not installed, it automatically falls back to a lightweight compatible mode (PhoneEdgeBrowserScreen as the fallback)
  • All multiplayer features are implemented through custom network protocols (Payload + Network + ClientInbox pattern) for client-server communication
  • WeChat chat and group channels each have dedicated network-layer modules (PhoneChat*, PhoneChannel*)
  • <main class="chat-msg-area need-inverted-colors" data-v-22f2d5e6="">
     
    手机功能一览 现代化手机 UI:锁屏、主屏幕、应用图标、状态栏、壁纸、动画过渡 相机:游戏内拍照,截图保存到 screenshots 文件夹 计算器:基础算术运算 天气:查看当前世界天气 聊天:在线玩家列表 + 私聊 微信系统:仿微信界面,支持会话列表、聊天气泡、未读红点、通讯录添加好友、群聊频道(公共频道 + 自建频道),同一服务器/局域网内真实收发消息 音乐播放器:内置 Phone Waves 主题曲,支持读取本地 phone_music 文件夹中的 WAV/AIFF/AU 音频 应用商店:内置应用和小游戏入口 浏览器:基于 MCEF(Chromium)的内嵌网页浏览器,支持外部网站访问 设置中心:虚拟账号、辅助功能、电池信息、屏幕密码 多人小游戏 中国象棋(完整棋盘 + 回合校验) 五子棋(15×15,胜负判断) 围棋(19×19,提子/自杀判断 + 横屏牌桌) 斗地主(四人牌桌,最多三位好友加入) 所有游戏支持服务器联机,服务端校验棋盘状态防止作弊。 技术要点 浏览器功能依赖 MCEF(Minecraft Chromium Embedded Framework)模组,通过反射接入,未安装时自动降级为轻量兼容模式(PhoneEdgeBrowserScreen 作为回退方案) 所有多人功能通过自定义网络协议(Payload + Network + ClientInbox 模式)实现客户端-服务端通信 微信聊天和群聊频道均有独立的网络层模块(PhoneChat*、PhoneChannel*)
     
    </main>