Pocket Coinscoin banner
Pocket Coinscoin icon

Pocket Coinscoin

我想要一个拥有金币银币铜币的模组,10铜币等于1银币,10银币等于1金币,打非玩家生物随机掉落硬币,铜币最容易获得,以此类推,然后这三种硬币都可以在世界生成的奖励箱获得,当玩家获得这几个硬币的时候,可以执行兑换奖励,兑换成虚拟货币,虚拟货币可自定义为其他模组的货币

00
fabricBoth1.20.1mod

Pocket Coinscoin adds three coin items (copper, silver, gold) with a 10:1 upgrade scale (10 copper = 1 silver, 10 silver = 1 gold). Non-player mobs can drop random coins on death (copper most common, silver moderate, gold rare), and coin stacks are also injected into all naturally generated chest loot tables.

Use the /coins exchange command to convert every coin in your inventory into virtual currency units (copper=1, silver=10, gold=100). The current balance is stored in a scoreboard objective and can be checked with /coins or /coins balance. By default the objective name is pocketcoins_balance, but you can change it to match another mod’s currency name by editing config/pocketcoinscoin.json before starting the server. The objective is created automatically on server start if it does not exist.

Coins are available in the creative Ingredients tab and have simple colored textures. The mod runs on both client and server with Fabric Loader 0.14.22 and Fabric API 0.92.2 for Minecraft 1.20.1.

Server Validation

Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.