Shopping SmartPhone |智能手机

一部拿在手上一键打开的智能手机,购物 App 能用绿宝石买遍原版物品,也能给自己的物品标价出售。|A handheld smartphone that opens with one tap. Use the shopping app to buy all vanilla items with emeralds, and you can also set prices to sell your own items.

English

Description

A handheld item you can hold in your main hand. Right-click to open its UI. It has a home screen and a Shopping app: use emeralds from your inventory to buy vanilla items in the shop, or put items from your inventory up for sale with an emerald price tag.

Features

• Home Screen: Dark gradient display. The top shows a static 9:41 time, signal bars and a battery indicator (cosmetic only). In the center is the Shopping app icon; click it to open the shop.

• Shopping Page: Lists vanilla items sorted from highest to lowest unit price. Five category tabs at the top: All / Blocks / Gear / Materials / Food. The grid shows 8 columns × 4 rows per page, scroll with your mouse wheel. Hover over items to see their name and price, with colour-coded price tiers.

• Price tiers:

◦ Common blocks: 3–5 emeralds

◦ Valuable items: 10–20 emeralds (e.g. Iron Ingot 12, Diamond 16, Enchanted Book 20)

◦ Top-tier rare items: 30–40 emeralds (e.g. Gold Block 32, Diamond Block 36, Netherite Block 40, Elytra 40, Totem of Undying 38)

Gear priced by material: Leather 10, Chainmail 14, Iron 18, Gold 30, Diamond 36, Netherite 40.

Spawn Eggs 40, Shulker Box 20, Music Disc 20, Smithing Template 24.

• Purchase: The Quantity ×N button at the bottom left cycles between 1 / 8 / 16 / 32 / 64. Click an item slot to pay unit price × quantity in emeralds and receive the items instantly. If you lack emeralds, red text at the bottom tells you how many you need and how many you have. If your inventory is full, items drop on the ground at your feet.

• Listing for sale: Click the Sell button at the bottom right to open the listing page. Drag items from your inventory into the listing slot on the left. The UI shows an auto-calculated reference price. Adjust your price with -10 / -1 / +1 / +10 (range: 1–99), then click Sell to complete the trade.

• Transaction rules: If your listed price is at or below the reference price, the sale is guaranteed. If your price is higher than the reference price, the sale succeeds probabilistically: approximately (Reference Price ÷ Your Price) × 45%, with a minimum of 2% and maximum of 85%. Failed sales show the message “No one wants to buy at this price”, and your item stays in the listing slot.

• When you list items, you sell them directly to the system for emeralds — this is not a player-to-player marketplace.

• Items left in the listing slot are returned to your inventory when you close the UI. Press ESC or the < arrow in the top-left to go back a page; you can only close the phone fully by pressing ESC while on the home screen.

Crafting & Obtaining

Crafted in a crafting table with 4 Iron Ingots and 1 Emerald in a cross shape: Iron Ingots at top, bottom, left and right, Emerald in the center.

Obtainable directly from the Tools & Utilities creative tab in Creative Mode.

Installation

• Requires Minecraft 1.21.1 + NeoForge 21.1.x. This mod depends on NeoForge 21.1 or newer.

• Drop the .jar file into your game mods folder.

• Works in single-player out of the box. For multiplayer, install the mod on both client and server (UI and transaction logic run on both sides).

Known Issues

• Price values are hardcoded inside the source code. There is no config file; you need to edit and recompile the code to change prices.

• The shop only automatically lists vanilla (minecraft namespace) items. Items from other mods will not appear in the shop list. However, you can put any item into the listing page to sell it, and the reference price will be estimated using the same rules.

• Air, Barrier, Light blocks, Structure Blocks, Structure Voids, Jigsaw Blocks, Command Block variants, Debug Stick, Knowledge Book, Bedrock, End Gateway Blocks and Emeralds themselves are excluded from the shop list.

• The listing page only has one slot. Clicking Sell settles the entire stack at once. The maximum settable price is 99.

• There is no search bar in the shop. You navigate items only by category tabs and scrolling.

• The time, signal and battery display on the home screen are static cosmetics and do not update in-game.

中文

## 简介

一部可以拿在主手、右键打开界面的手机物品。界面里有首页和「购物」App:在商店里用背包中的绿宝石直接买原版物品,也能把背包里的物品标上绿宝石价格卖掉。

## 内容

- 首页:深色渐变屏幕,顶部是固定的 9:41 时刻、信号格和电量条(纯装饰),中间一个「购物」App 图标,点一下进商店。

- 购物页:列出原版物品,按单价从高到低排列。顶部五个分类标签「全部 / 方块 / 装备 / 材料 / 食物」,一屏显示 8 列 × 4 行,用鼠标滚轮翻页;鼠标悬停在物品上会显示名字和单价,价格用颜色区分档次。

- 定价分三档:普通方块 3~5 绿宝石;有价值的物品 10~20,例如铁锭 12、钻石 16、附魔书 20;顶级贵重 30~40,例如金块 32、钻石块 36、下界合金块 40、鞘翅 40、不死图腾 38。装备再按材质定价:皮革 10、锁链 14、铁 18、金 30、钻石 36、下界合金 40;刷怪蛋 40、潜影盒 20、唱片 20、锻造模板 24。

- 购买:左下角「数量 ×N」按钮在 1 / 8 / 16 / 32 / 64 之间切换,点商品格子就按「单价 × 数量」扣绿宝石并立刻发货;绿宝石不够时屏幕下方红字提示需要多少、你有多少;背包塞不下会掉在脚下。

- 上架:右下角「上架」按钮进入上架页,把背包里的物品拖进左边的货架格,界面会显示系统算的参考价,用 -10 / -1 / +1 / +10 调标价(1~99),再点「出售」结算。

- 成交规则:标价不超过参考价一定成交;标价高于参考价时按概率成交(约 参考价 ÷ 标价 × 45%,最低 2%、最高 85%),没成交会提示「这个价格没人愿意买」,物品留在货架上。

- 上架是把物品直接卖给系统换绿宝石,不是挂到别的玩家那里等别人来买。

- 关闭界面时货架上的物品会还回背包;按 ESC 或左上角 < 先退上一页,在首页再按 ESC 才关掉手机。

## 合成与获取

工作台里用 4 个铁锭 + 1 个绿宝石按十字形合成(上下左右放铁锭,中间放绿宝石)。创造模式下在「工具与实用物品」标签页里可以直接拿到手机。

## 安装

- 需要 Minecraft 1.21.1 + NeoForge 21.1.x;模组依赖 NeoForge 21.1 及以上。

- 把 jar 放进游戏的 mods 文件夹。

- 单人游戏直接进;多人游戏客户端和服务端都要安装(界面和结算逻辑分别在两端)。

## 已知问题

- 价格表写在代码里,没有配置文件,想改价需要改代码重新编译。

- 商店只上架原版(minecraft 命名空间)物品,其它模组的物品不会自动出现在货架列表里;但上架页不限物品种类,任何物品都能放进去卖,参考价按同一套规则估算。

- 空气、屏障、光源方块、结构方块、结构空位、拼图方块、命令方块系列、调试棒、知识之书、基岩、末地传送门和绿宝石本身不在商店货架上。

- 上架页只有一个货架格,点「出售」会一次结算整堆物品;标价上限 99。

- 商店没有搜索功能,物品多的时候要靠分类标签和滚轮翻。

- 首页的时刻、信号、电量是画上去的装饰,不会随游戏变化。

Shopping SmartPhone |智能手机 Team

profile avatar
  • 3
    Projects
  • 16
    Downloads

More from DZHjoker_second

  • Improved Structure Blocks project image

    Improved Structure Blocks

    给 Minecraft 加一个蓝色结构方块,用法和原版完全一样,但保存结构时不再受 48 格尺寸限制。|This mod adds a blue structure block to Minecraft. Its usage is identical to the vanilla structure block, except it is not restricted by the 48-block size limit when saving structures.

    • 4
    • December 2, 2026
  • 生命之心药水|health potion project image

    生命之心药水|health potion

    一个把「永久提升生命上限」做成消耗品的模组:喝一瓶生命之心药水,生命上限永久增加 10 点(5 颗心),可以一直喝下去,直到原版允许的上限。|drink a Heart of Life Potion to permanently gain 10 max health points (5 hearts). You can keep drinking it until you hit vanilla’s limit

    • 8
    • November 30, 2026
  • Improved Structure Blocks project image

    Improved Structure Blocks

    给 Minecraft 加一个蓝色结构方块,用法和原版完全一样,但保存结构时不再受 48 格尺寸限制。|This mod adds a blue structure block to Minecraft. Its usage is identical to the vanilla structure block, except it is not restricted by the 48-block size limit when saving structures.

    • 4
    • December 2, 2026
  • 生命之心药水|health potion project image

    生命之心药水|health potion

    一个把「永久提升生命上限」做成消耗品的模组:喝一瓶生命之心药水,生命上限永久增加 10 点(5 颗心),可以一直喝下去,直到原版允许的上限。|drink a Heart of Life Potion to permanently gain 10 max health points (5 hearts). You can keep drinking it until you hit vanilla’s limit

    • 8
    • November 30, 2026