You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
660 B
34 lines
660 B
These are the functions which can be called on a minecraft:villager_trade criteria
|
|
trigger.
|
|
|
|
|
|
|
|
getEntityData:
|
|
Notes:
|
|
Returns the EntityData object so functions can be called on it.
|
|
|
|
setItem:
|
|
Arguments:
|
|
ItemBlockData
|
|
Usage:
|
|
item data
|
|
Notes:
|
|
Sets the required item that must be traded for from the villager.
|
|
|
|
setEntityType:
|
|
Arguments:
|
|
String
|
|
Usage:
|
|
entity type
|
|
Notes:
|
|
Sets the entity type.
|
|
|
|
setCount:
|
|
Arguments:
|
|
int
|
|
Usage:
|
|
count
|
|
Notes:
|
|
Sets the number of times this criteria must be completed before it counts towards advancement progress.
|
|
|