... | @@ -6,11 +6,11 @@ The villager will become a nitwit if it doesn't have any profession assigned whe |
... | @@ -6,11 +6,11 @@ The villager will become a nitwit if it doesn't have any profession assigned whe |
|
## Attributes
|
|
## Attributes
|
|
| Attribute | Aliases | Description | Default |
|
|
| Attribute | Aliases | Description | Default |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| action | mode, m | The action to perform. Can be `ADD`, `REMOVE`,`REPLACE` | ADD |
|
|
| action | mode, m | The action to perform. Can be `ADD`, `REMOVE`,`REPLACE` | ADD<!--type:AddTrade_Action--> |
|
|
| slot | s , index | The slot to be selected for the action. Slot starts at 0, so if a villager has 3 trades, the middle trade would be slot 1 | 0 |
|
|
| slot | s , index | The slot to be selected for the action. Slot starts at 0, so if a villager has 3 trades, the middle trade would be slot 1 | 0 |
|
|
| ingredient| item, ingredient1, item1, i, i1 | The first ingredient | STONE |
|
|
| ingredient| item, ingredient1, item1, i, i1 | The first ingredient | STONE<!--type:Material-->|
|
|
|ingredient2| item2, i2 | The second ingredient | |
|
|
|ingredient2| item2, i2 | The second ingredient | |
|
|
| result | r | The result item of the trade | STONE |
|
|
| result | r | The result item of the trade | STONE<!--type:Material-->|
|
|
| maxUses | uses, u | The uses of the trade |<Max Int>|
|
|
| maxUses | uses, u | The uses of the trade |<Max Int>|
|
|
| experienceReward | expReward, exp, dropExp | If the trade should drop experience | false |
|
|
| experienceReward | expReward, exp, dropExp | If the trade should drop experience | false |
|
|
| villagerExp | villExp, vexp | The amount of experience to give to the villager upon successful trade | 0 |
|
|
| villagerExp | villExp, vexp | The amount of experience to give to the villager upon successful trade | 0 |
|
... | | ... | |