跳到正文

NPC marchant

作者:mr_weeny_

Spawn fully configurable NPC merchants that buy and sell any item in-game using Lightman's Currency coins.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

NPC Merchant adds a creative-only spawn egg that places a living villager-style 
merchant NPC. Each merchant is fully configurable in-game and integrates with 
Lightman’s Currency for payments.

## Features

**The merchant**
– Spawn it with a creative-only egg (moderators only)
– A living, named villager-style NPC that can’t be pushed, damaged, or despawn
– Custom blue/white Pokémon-vendor texture

**For customers** (right-click with empty hand or any item)
– A dialogue opens: “Hello! Buy or sell?”
– **Buy** → browse the items the merchant sells (2-column scrollable list)
– **Sell** → drop an item in the deposit slot to see how much the merchant pays, then confirm

**For owners/moderators** (right-click with the spawn egg)
– Pick any item from a searchable grid of ALL modpack items
– Set the price and which coin tier it costs (copper → netherite)
– Choose whether the NPC sells or buys each offer (up to 9 offers)
– Rename the merchant and withdraw collected coins

**Money integration**
– Uses Lightman’s Currency coins (copper, iron, gold, emerald, diamond, netherite)
– Robust integration: references the coin items directly, so it never breaks on Lightman’s updates

## Commands
– Get the egg: /give @s npcmerchant:merchant_spawn_egg

## Requirements
– NeoForge 21.1.216+
– Lightman’s Currency (recommended, provides the coins)

常见问题

NPC marchant 支持哪些 Minecraft 版本?

NPC marchant 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

NPC marchant 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

mr_weeny_ 的其他作品

查看全部 →