Files
minecraft-bedrock-json-schemas/behaviour/entities/1.8.0/components/minecraft.economy_trade_table.json

48 lines
2.1 KiB
JSON
Raw Normal View History

2020-11-01 17:22:42 +01:00
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behaviour.entities.1.8.0.minecraft.economy_trade_table",
"type": "object",
"title": "Economy trade table 1.8.0",
"additionalProperties": false,
"description": "Allows the entity to power jump like the horse does in vanilla.",
"required": [],
"properties": {
"convert_trades_economy": {
"type": "boolean",
"default": false,
"description": "Determines when the mob transforms, if the trades should be converted when the new mob has a economy_trade_table. When the trades are converted, the mob will generate a new trade list with their new trade table, but then it will try to convert any of the same trades over to have the same enchantments and user data. For example, if the original has a Emerald to Enchanted Iron Sword (Sharpness 1), and the new trade also has an Emerald for Enchanted Iron Sword, then the enchantment will be Sharpness 1.",
"title": "Convert Trades Economy"
},
"display_name": {
"type": "string",
"default": 0,
"description": "Name to be displayed while trading with this entity",
"title": "Display Name"
},
"hero_demand_discount": {
"type": "integer",
"default": -4,
"description": "How much should Demand be modified by when the player has the Hero of the Village mob effect",
"title": "Hero Demand Discount"
},
"new_screen": {
"type": "boolean",
"default": false,
"description": "Used to determine if trading with entity opens the new trade screen",
"title": "New Screen"
},
"persist_trades": {
"type": "boolean",
"default": false,
"description": "Determines if the trades should persist when the mob transforms. This makes it so that the next time the mob is transformed to something with a trade_table or economy_trade_table, then it keeps their trades.",
"title": "Persist Trades"
},
"table": {
"type": "string",
"default": 0,
"description": "File path relative to the resource pack root for this entity's trades",
"title": "Table"
}
}
}