Custom Villager Trades

Custom Villager Trades

Create your own villager trades

von
7.4M Downloads
fabricforgegame-mechanicsmanagementutility
Server mit dieser Mod mieten

Über diese Mod

 


About

Custom Villager Trades is designed to give modpack authors the ability to expand upon the vanilla villager trades. It is packed with fresh features that allow you to have specific control over what is available, as well as the ability to randomize items, amounts, enchantment and more!

This mod works by reading JSON config files from the config/custom villager trades directory. When you first launch the mod, the directory will be created with an example file inside. It is up to you to create the rest! There should be 1 file per-profession.

After loading the trades and checking their validity, the mod will intercept the trade loading event and inject the custom trades in (and if you have enabled the option, it can also remove other trades).

Features

  • A fully customizable trade creation system where you can define basic or advanced trades using JSON.
  • Modify trades for any profession using a simple named config file (excluding the nitwit).
  • You can set "global" trades, these will be applied to any villager that can trade (call the config file "all.json").
  • Trades can be applied based on level.
  • All aspects of the trade can be modified (trade experience, discounts, etc.)
  • Enchantments can be applied to any trade item. This allows for whacky unique items that can't be acquired via normal (vanilla) means.
  • Enchantments can now be randomized in 3 ways, read below.
  • Enchantments can be blacklisted, usable with random enchantment feature.
  • Modded item and block support.
  • Modded profession support - you can add trades to other people's villagers.
  • Remove all vanilla trades - you can do this per-profession.
  • Vanilla wanderer trades can be modified/replaced.
  • Custom potion trades, including random and blacklisted.
  • Custom suspicious stew trades.
  • Custom treasure map trades (with modded structure support).
  • Custom tipped arrow trades (with modded potion effect support). Includes random and blacklisted.
  • Custom potions and tipped arrows can be coloured.
  • Custom NBTs (basic and advanced).
  • Mod support.
  • /reloadCVT command to use ingame - EXPERIMENTAL FEATURE
  • /exportCVT command to export available trades - EXPERIMENTAL FEATURE
  • /addCVT command to add new trades ingame - EXPERIMENTAL FEATURE
  • /removeCVT command to remove CVT ONLY trades ingame - EXPERIMENTAL FEATURE

Wiki

You can access the wiki here. It contains a full JSON specification for the latest version of Custom Villager Trades.

Warning: If you are not using the latest version of this mod, some features may not be available to you.

Help!

Before asking for help, please consult the wiki.

If you still need further help, you can open an issue here or ask on the discord.

Modpacks

You can use this mod in your modpack.

My Mods

If you like this mod, check out my other mods!

Verfügbare Versionen

Custom Villager Trades (Forge) 20.25.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4forge
30. Mai 2024
Custom Villager Trades (Fabric) 20.25.0release
MC 1.20.1, 1.20.2, 1.20.3, 1.20.4fabric
30. Mai 2024
Custom Villager Trades (Forge) 19.25.0release
MC 1.19.2forge
30. Mai 2024
Custom Villager Trades (Fabric) 19.25.0release
MC 1.19.2fabric
30. Mai 2024
Custom Villager Trades (Forge) 18.25.0release
MC 1.18.2forge
30. Mai 2024

Custom Villager Trades auf dem Server installieren

1

Server bestellen

Bestelle einen Minecraft Java Server mit mindestens 3 GB RAM (4 GB empfohlen).

2

fabric Loader setzen

Wähle im Panel unter "Egg" den fabric-Loader und die passende Minecraft-Version (1.20.4).

3

Mod installieren

Öffne den Mod-Browser im Dashboard und suche nach "Custom Villager Trades". Klicke "Installieren" – fertig! Alternativ: Lade die .jar via SFTP in den /mods Ordner.

Kompatibilität

Mod-Loader

fabricforge

Minecraft-Versionen

1.20.4, 1.20.3, 1.20.2 (+4 weitere)

Server-seitig

Erforderlich

Empfohlener RAM

4 GB(min. 3 GB)

Häufige Fragen

Custom Villager Trades Server crasht beim Start – was tun?

Häufigste Ursache: falsche fabric-Version oder zu wenig RAM. Prüfe im Server-Log (latest.log), ob ein "OutOfMemoryError" oder "Mixin"-Fehler auftritt. Bei Mado Hosting: Stelle sicher, dass mindestens 3 GB RAM zugewiesen sind und der Loader zur Mod-Version passt (1.20.4). Über das Panel kannst du den Loader mit einem Klick wechseln.

Ist Custom Villager Trades mit fabric und forge kompatibel?

Custom Villager Trades unterstützt offiziell fabric, forge für Minecraft 1.20.4, 1.20.3, 1.20.2. Achtung: Forge- und Fabric-Mods sind NICHT untereinander kompatibel – wähle einen Loader und bleibe dabei. Im Mado Dashboard werden inkompatible Loader-Kombinationen automatisch erkannt.

Server laggt mit Custom Villager Trades – wie optimiere ich die Performance?

Empfohlener RAM: 4 GB (+1 GB pro 8 Spieler). Prüfe mit /spark profiler, ob Custom Villager Trades den meisten Tick-Time verbraucht. Häufige Fixes: Server-View-Distance auf 8-10 reduzieren, bei Forge "performant" oder "starlight" als Zusatz-Mod installieren. Bei Mado Hosting läuft dein Server auf NVMe-SSDs mit dedizierten CPU-Kernen für minimale Latenz.

Modded Server mieten

Installiere Custom Villager Trades mit nur einem Klick auf deinem Server.

Empfohlener RAM
4 GBab €5.2/Monat
Min. 3 GB | +1 GB pro 8 Spieler
Jetzt Server erstellen
1-Klick Mod Installation
NVMe SSD Speicher
DDoS-Schutz inklusive

Details

Lizenz
LicenseRef-All-Rights-Reserved
Server-seitig
Erforderlich

Unterstützte Versionen

1.20.41.20.31.20.21.20.11.19.21.18.21.16.5