跳到正文

Traveler

作者:testeras

NPC villager that follows you around and listens to your commands.

收藏

介绍

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

Traveler adds a personal villager companion that follows you around, offers unique configurable trades, levels up as you trade, can stay in place when needed, and can be resummoned with a special compass while keeping its progression.






Q&A

CRAFTING RECIPE

RECIPE

CONFIG

● ● ●

ABOUT

Traveler adds a personal villager companion that follows you through your world, inspired by Terraria’s Town NPCs.

Each player gets their own Traveler, who can be summoned using the Traveler Compass and controlled individually by its owner.

Travelers can follow you around, sit in a chosen location, attack hostile mobs when enabled, and use different selectable skins.

The mod also introduces a custom trading and progression system, allowing Travelers to level up, unlock new trades, gain XP, and restock their offers independently for each player.

Nearly every feature is configurable, including trades, combat behavior, progression, and how Travelers interact with players.

● ● ●

Q&A

Inspiration for the mod?

>…

I took inspiration from Terraria‘s Town NPCs, especially the Guide, which follows the player, offers trades through a custom GUI, and like other Town NPCs can be assigned housing.

Where can I run this mod?

>…

You can run this mod on both Client and Server side.

Does everyone need mod installed to join my Server?

>…

Yes. Both integrated or dedicated server needs to have mod installed and also every player who joins that server needs to have mod installed.

Will mod register custom items for trade?

>…

Yes, any items will work.

Mechanics?

>…

Use Traveler Compass to summon Traveler.

It will follow you around, by shift + right clicking you can switch between sitting and following positions, placing him anywhere in the world as you wish.

You can enable/disable Traveler’s ability to attack hostile mobs by shift + left clicking.

Various skins for your traveler on you to select by left click.

Every player gets it’s own Traveler and each Traveler receives commands from it’s owner. Custom leveling, command, xp, restock for all individuals.

/traveler reset
Resets all data of all Travelers to default (all progression).

What software was used for mod’s creation

>…

It was created in Eclipse IDE.

● ● ●

CONFIG v1.1

Configuration Options

There are three config files inside config/ called traveler-level1.json, traveler-level2.json, traveler-level3.json. Each file holds items that will be unlocked as Traveler progresses. Here is example how they can look like:


{


  “firstJoinCompass“: true,


  “travelerAttack“: true,



  “trades“: [


      {


            “input1“: {


              “item“: “minecraft:emerald”,


              “count“: 1


          },


            “input2“: {


              “item“: “minecraft:cobblestone”,


              “count“: 20


          },


            “output“: {


              “item“: “minecraft:stone_sword”,


              “count“: 1,


              “enchantment“: “minecraft:unbreaking”,


              “enchantmentLevel“: 2


          },


              “maxUses“: “3”,


              “xp“: 1,


              “priceMultiplier“: 0.05


      },



      {


            “input1“: {


              “item“: “minecraft:diamond”,


              “count“: 10


          },


            “output“: {


              “item“: “minecraft:netherite_sword”,


              “count“: 1,


              “enchantments“: [


                {


                  “enchantment“: “minecraft:sharpness”,


                  “enchantmentLevel“: 5


                },


                {


                  “enchantment“: “minecraft:unbreaking”,


                  “enchantmentLevel“: 3


                }


              ]


          },


              “maxUses“: “2”,


              “xp“: 2,


              “priceMultiplier“: 0.05


      }


}


“firstJoinCompass” gives all newcomers the Traveler Compass used for teleporting your personal Traveler, “travelerAttack” ability for Travelers to attack hostile mobs.


“input1” required trade input option, “input2” optional trade input option, “output” required output after trade.


“item” item that will be used, “count” amount of items, “enchantment” name of enchantment, “enchantmentLevel” level of enchantment that will apply. These can be used for single enchantment in output, for multiple enchantments use list “enchantments” [ {“enchantment: minecraft:sharpness”, enchantingLevel: 2}, {“enchantment: minecraft:smite”, enchantingLevel: 4} ]


“maxUses” number of times the trade can be used (if maxUses = 5; after 5 trades you can no longer trade that item and villager needs 20 minutes to restock, use maxUses = -1; to have unlimited trades), “xp” Traveler XP given by the trade (how fast Traveler’s xp bar progresses to next level, 10xp needed for level2 and 30xp for level3), “priceMultiplier” vanilla dynamic pricing multiplier.

常见问题

Traveler 支持哪些 Minecraft 版本?

Traveler 支持 Minecraft Java 版 1.19.2–1.21.1,共 3 个版本,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Traveler 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

testeras 的其他作品

查看全部 →