Mercantile 图标

Mercantile

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/mercantile
资源信息

Minecraft 版本: 1.20.1

平台: forge neoforge

标签: economy

资源介绍

Title

mc-versions &nbsp forge &nbsp fabric

? Mercantile

This mod adds a simple currency to Minecraft: copper, silver and gold coins (configurable).
While holding a coin and right-clicking, its value will be stored in your "purse".
You can get the coins back by clicking the respective buttons in your inventory.

There is no way to get the items (currently), apart from creative mode or commands.
This means, you'll have to come up with your own economy system for your server. \
Some ideas:

  • Admin shops, exchanging goods (e.g. Wheat) for coins
  • Add coins to chest loot tables using KubeJS + LootJS (this works best with the Lootr mod, so everyone has a chance to loot coins)
  • Coins as quest rewards (using something like FTB Quests)

Create Shopkeeper Integration

If you have Create 6+ installed, this mod will enable you to pay super easily with your stored coins at shopkeepers!
Any coins you have in your inventory will be stored before the purchase. \
Here is how such an interaction might look like ingame:

Create Shopkeeper Integration

Adding your own coins

The mod provides standard textures and item models for copper, silver and gold coins (with different textures depending on the item stack size). \
(I am no artist, so I used existing textures from the Thermal Series mods made by Team CoFH.)

If you add any other coins you need to also provide a resource pack with corresponding textures and item models for these items.
You may also want to add the #mercantile:coin tag to any new coins using a datapack or something like KubeJS.

Example

If you want to add a platinum coin, you first need to declare it and its value in the config/mercantile-common.properties config file.
You can do this by adding this line to the file:

platinum = 10000

Note: The coin definitions in this file need to be the same on client and server.

This creates a mercantile:platinum_coin item with a value of 10,000.

Now you need to provide a resource pack with the corresponding textures and item models. \
An example for such a resource pack is provided for this specific example in the GitHub repository.

Tips for modpacks

  • Include a way to get coins
  • If you use the default textures and have Thermal Series mods installed, you may want to remove the recipes for Thermal's own coins using something like KubeJS:
    ServerEvents.recipes(event => {
      event.remove({ input: /^thermal:.+_coin$/ });
      event.remove({ output: /^thermal:.+_coin$/ });
      event.remove({ id: /^thermal:machines\/press\/press_.+_to_coin$/ });
    });
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
LavidaCraft + Fresh Animations Compatibility

价格:0 墨喵币
下载量:0

查看详情
+wClose Panorama

价格:0 墨喵币
下载量:0

查看详情
S-Lib

价格:0 墨喵币
下载量:0

查看详情
Dough

价格:0 墨喵币
下载量:0

查看详情