Mechanic

addTrade

Changes the trades of a villager

Aliases

setTraderemoveTradereplaceTrade

Configuration Fields (12)

NameTypeDefaultDescription
action
mode, m
StringADDThe type of trade action to perform, valid values are ADD/REMOVE/REPLACE
slot
s, index
int0The slot to modify the trade in.
ingredient
item, ingredient1, item1, i, i1
StringSTONEThe item in the first trade slot.
ingredient2
item2, i2
StringThe item in the second trade slot.
result
r
StringSTONEThe resulting item from the trade.
maxuses
uses, u
intInteger.MAX_VALUEMax uses for the trade
expReward
experienceReward, exp, dropExp
booleanfalseWhether or not to reward EXP from the trade.
villagerExperience
villExp, vexp
int0The amount of experience to give to the villager upon successful trade.
priceMultiplier
multiplier
float0The multiplier to apply to the price of the trade.
demand
d
int1The demand level of the trade.
specialPrice
special
int1The special price of the trade.
ignoreDiscounts
discounts
booleanfalseWhether or not to ignore discounts for the trade.

Universal Mechanic Options

Author:
Seyarada
Generated from @Mythic* annotations in the MythicMobs source.