Doudizhu

Eazy phone with game
# Doudizhu · Phone Mod

> A whole smartphone inside Minecraft — card games, board games, trading, social feed, banking, a casino, and a server-wide bounty board.
>
> Created by **70 & dsh**

---

## Overview

**Doudizhu** is a Fabric gameplay mod built around an in-game smartphone.

Right-click the phone to open a full phone interface: home screen, apps, notification shade, app switcher, gesture navigation, and a collection of playable apps and minigames.

The UI is rendered at a fixed phone resolution, with support for transparent backgrounds, themes, app renaming/icons, and fully rebindable navigation keys.

---

## Features

### πŸƒ Doudizhu (Fight the Landlord)

- Classic 3-player Doudizhu
- Create/join rooms, password rooms, spectating
- Play against bots or other players online
- Bidding, card play, doubling, scoring, match history
- Turn countdown with audible last-seconds warning
- Configurable room rules: first player, turn time, undo requests, countdown sound, and more

### πŸ€„ Mahjong

- Four-player Mahjong
- Chi, pon, kan, and win handling
- Lobby / room / bot support
- Scores and match history

### ⚫ Gomoku / Xiangqi / Chess

- Gomoku: 15×15 and 19×19, local and online
- Xiangqi (Chinese Chess): complete piece rules, local AI and online rooms
- Chess: castling, en passant, promotion, draws
- Online rooms support spectating, undo requests, move timers, and timeout losses

### πŸ“± Phone Apps

| App | Description |
|---|---|
| Bank | Cards, balance, exchange rates, transfers, family cards, transaction history |
| Xianyu | Player-to-player marketplace; longer listings pay higher tax |
| Social | Posts, comments, likes, and gifts |
| Browser | Built-in home page and promo pages for Bank / Social / Casino |
| Casino | Slots, minecart derby, redstone roulette, blackjack |
| Album | Local images and camera photos (requires Camerapture) |
| App Store | Install/uninstall apps, app and game rankings |
| Settings | Theme, wallpaper, transparency, app management, keybinds, debug mode |
| Bounty | Accepted bounties, character level, leaderboard |

### 🎯 Bounty Board

- New **Bounty Board** block; right-click to open a **3×7 grid (27 slots)**
- Every player gets their **own board**, generated from their level
- **1–6 star** bounties: higher stars require more items and pay more
- Required items are randomly picked from recipe outputs and common collectible items
- Bounties expire and refresh on a level-based timer
- Each player can hold up to **3 accepted bounties**
- Accepting a bounty removes it from that player's board
- Submit the required items to receive the reward on your default bank card
- Character level, XP, and completed-bounty count
- Level 5 unlocks 3–4 star bounties; level 10 unlocks 5–6 star bounties
- The Bounty app includes a scrollable **level leaderboard**

### πŸ’° Banking & Currency

- Emerald / Diamond / Netherite currency system
- Prices fluctuate with the bank's stock
- Family cards: spending limit, priority spending, spending history, unbind
- Bank cards: bind, set default, transfer, close account
- Admin command:

```mcfunction
/doudizhu money add @s 100
```

### ✨ Phone System

- Multi-page home screen with a 3×3 app grid
- Pull-down notification shade and notification center
- App switcher: long-press the bottom dot, switch with A/D or arrow buttons
- Bottom dot: tap to go back, long-press for the app switcher
- Swipe up to go back, S as the back hotkey
- Rebindable keys: back, left, right
- Transparent background, wallpaper, theme colors, app renaming/icons
- Debug mode: left-side debug panel with commands, state output, and click-to-copy logs

---

## Controls

| Input | Action |
|---|---|
| Right-click phone | Open the phone |
| ESC | Go back one level / put the phone away during a match |
| S | Back (default, rebindable) |
| A / D | Home page / app switcher navigation (rebindable) |
| Bottom dot | Tap to go back, long-press for app switcher |
| Swipe up from phone bottom | Go back one level |
| Right-click Bounty Board | Open the 27-slot bounty board |

> During a match, ESC only puts the phone away. Right-click the phone again to return to the same table or board.

---

## Installation

### Required

- Minecraft **1.21.11**
- **Fabric Loader 0.20.1+**
- **Fabric API 0.141.6+1.21.11**
- **Java 21**

### Optional

- **IMBlocker 6.2.2** — better system IME support in phone text fields
- **Camerapture** — album and camera features

### Steps

1. Install Fabric Loader
2. Put Fabric API and this mod into `mods`
3. Launch the game

> For multiplayer, **both client and server must use the same mod version**.

---

## Configuration

| File | Purpose |
|---|---|
| `config/doudizhu-phone.json` | Phone settings, installed apps, keybinds, debug mode |
| `config/doudizhu-apps.json` | Server-side app enable/disable list |
| `config/doudizhu-bounties.json` | Bounty boards, levels, XP, completed counts |
| `config/doudizhu-bank.json` | Banking data |
| `config/doudizhu-social.json` | Social data |
| `config/doudizhu-xianyu.json` | Marketplace data |

---

## Notes

- The browser uses **built-in pages only**; it does not access the real internet
- Some text fields use a native input popup; pairing with IMBlocker is recommended
- Casino, banking, and trading are server-authoritative and work consistently in singleplayer and multiplayer
- Custom UI keys can be changed in Settings

---

## Credits

- **70**
- **dsh**


When reporting a bug, please include:

- Game version / mod version
- Client or server
- `latest.log`
- Steps to reproduce or a screenshot

---

## Version

Current version: **1.11.0**

Doudizhu Team

profile avatar
  • 3
    Projects
  • 53
    Downloads

More from sevenzero

  • TACZrooms project image

    TACZrooms

    Multiplayer room-based battles for TACZ: Team Deathmatch, Domination, 5 loadouts per player, bot fill, mid-match join and invites. Survival-safe: your inventory and curios are fully restored after every match.

    • 17
    • November 29, 2026
  • Something Mirage project image

    Something Mirage

    A mirage block building wand

    • 34
    • November 18, 2026
  • TACZrooms project image

    TACZrooms

    Multiplayer room-based battles for TACZ: Team Deathmatch, Domination, 5 loadouts per player, bot fill, mid-match join and invites. Survival-safe: your inventory and curios are fully restored after every match.

    • 17
    • November 29, 2026
  • Something Mirage project image

    Something Mirage

    A mirage block building wand

    • 34
    • November 18, 2026