Skip to content

Releases: Reldeam/CustomVillagerTrades

1.1-SNAPSHOT

31 Jan 02:48
Compare
Choose a tag to compare
1.1-SNAPSHOT Pre-release
Pre-release

BREAKING CHANGE

The trades.yml has been redesigned. It is no longer a list. Each trade is it's own object with a unique key to identify it with.

"spongeForDiamonds" : <custom trade>
"anotherCustomTrade" : <custom trade>
...

This will require you to change your current trades.yml file so that each trade has a unique key. Also make sure to remove the trades: list name at the top of the file, and check all of your indentation.

This is unfortunately the nature of SNAPSHOT releases before the first full release (expected to be v1.3), so please bear with me as there may be more changes in the future until the first full release.

NEW FEATURES

  • The ability to /reroll custom villager trades. You can either use the tool specified in the config.yml (default is a CLOCK) to RIGHT CLICK on a villager to reroll all of their custom trades, or use the /reroll [all|radius] command to reroll multiple villagers (will only reroll villagers on the current world).

  • The ability to /restore custom villager trades back to their original Vanilla Minecraft trades. This is done similar to the /reroll mechanics by either pressing SHIFT + RIGHT CLICK on a villager with the tool, or using the /restore [all|radius] command.

  • New permissions have been added for the /reroll and /restore commands, as well as for using the tool to either /restore or /reroll.

  • The attributeModifiers field has been added to the <custom trade> object. You can now add a list of <attribute modifiers> that have the structure (see the README.md of the release to learn more):

name: <attribute>
amount: <number>
operation: <attribute modifier operation>
slot: <equipment slot>

1.0-SNAPSHOT

27 Jan 00:48
Compare
Choose a tag to compare
1.0-SNAPSHOT Pre-release
Pre-release
  • Built on Spigot API 1.18.1-R0.1-SNAPSHOT
  • Compatible with Minecraft 1.18.1