UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

510 lines 18.6 kB
{ "fields": [ { "id": "convert_trades_economy", "title": "Convert Trades Economy", "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.", "defaultValue": false, "dataType": 1 }, { "id": "cured_discount", "title": "Cured Discount", "description": "How much should the discount be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (When use_legacy_price_formula is true this is the low-tier trade discount and high-tier trade discount, otherwise it is the minor positive gossip and major positive gossip.)", "dataType": 18, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/farmer/minecraft:economy_trade_table/", "content": [ -25, -20 ] }, { "path": "/minecraft:entity/component_groups/fisherman/minecraft:economy_trade_table/", "content": [ -25, -20 ] } ] } }, { "id": "display_name", "title": "Display Name", "description": "Name to be displayed while trading with this entity", "dataType": 2, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/farmer/minecraft:economy_trade_table/", "content": "entity.villager.farmer" }, { "path": "/minecraft:entity/component_groups/fisherman/minecraft:economy_trade_table/", "content": "entity.villager.fisherman" }, { "path": "/minecraft:entity/component_groups/shepherd/minecraft:economy_trade_table/", "content": "entity.villager.shepherd" }, { "path": "/minecraft:entity/component_groups/fletcher/minecraft:economy_trade_table/", "content": "entity.villager.fletcher" }, { "path": "/minecraft:entity/component_groups/librarian/minecraft:economy_trade_table/", "content": "entity.villager.librarian" }, { "path": "/minecraft:entity/component_groups/cartographer/minecraft:economy_trade_table/", "content": "entity.villager.cartographer" }, { "path": "/minecraft:entity/component_groups/cleric/minecraft:economy_trade_table/", "content": "entity.villager.cleric" }, { "path": "/minecraft:entity/component_groups/armorer/minecraft:economy_trade_table/", "content": "entity.villager.armor" }, { "path": "/minecraft:entity/component_groups/weaponsmith/minecraft:economy_trade_table/", "content": "entity.villager.weapon" }, { "path": "/minecraft:entity/component_groups/toolsmith/minecraft:economy_trade_table/", "content": "entity.villager.tool" }, { "path": "/minecraft:entity/component_groups/butcher/minecraft:economy_trade_table/", "content": "entity.villager.butcher" }, { "path": "/minecraft:entity/component_groups/leatherworker/minecraft:economy_trade_table/", "content": "entity.villager.leather" }, { "path": "/minecraft:entity/component_groups/mason/minecraft:economy_trade_table/", "content": "entity.villager.mason" } ], "/vanilla/behavior_pack/entities/wandering_trader.json": [ { "path": "/minecraft:entity/components/minecraft:economy_trade_table/", "content": "entity.wandering_trader.name" } ] } }, { "id": "hero_demand_discount", "title": "Hero Demand Discount", "description": "Used in legacy prices to determine how much should Demand be modified by when the player has the Hero of the Village mob effect", "defaultValue": -4, "dataType": 0 }, { "id": "max_cured_discount", "title": "Max Cured Discount", "description": "The max the discount can be modified by when the player has cured the Zombie Villager. Can be specified as a pair of numbers (When use_legacy_price_formula is true this is the low-tier trade discount and high-tier trade discount, otherwise it is the minor positive gossip and major positive gossip.)", "dataType": 18, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/farmer/minecraft:economy_trade_table/", "content": [ -25, -20 ] }, { "path": "/minecraft:entity/component_groups/fisherman/minecraft:economy_trade_table/", "content": [ -25, -20 ] } ] } }, { "id": "max_nearby_cured_discount", "title": "Max Nearby Cured Discount", "description": "The max the discount can be modified by when the player has cured a nearby Zombie Villager. Only used when use_legacy_price_formula is true, otherwise max_cured_discount (low) is used.", "defaultValue": -200, "dataType": 0 }, { "id": "nearby_cured_discount", "title": "Nearby Cured Discount", "description": "How much should the discount be modified by when the player has cured a nearby Zombie Villager", "defaultValue": -20, "dataType": 0 }, { "id": "new_screen", "title": "New Screen", "description": "Used to determine if trading with entity opens the new trade screen", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/farmer/minecraft:economy_trade_table/", "content": true }, { "path": "/minecraft:entity/component_groups/fisherman/minecraft:economy_trade_table/", "content": true } ] } }, { "id": "persist_trades", "title": "Persist Trades", "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.", "defaultValue": false, "dataType": 1, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/farmer/minecraft:economy_trade_table/", "content": true }, { "path": "/minecraft:entity/component_groups/fisherman/minecraft:economy_trade_table/", "content": true } ] } }, { "id": "show_trade_screen", "title": "Show Trade Screen", "description": "Show an in game trade screen when interacting with the mob.", "defaultValue": true, "dataType": 1 }, { "id": "table", "title": "Table", "description": "File path relative to the resource pack root for this entity's trades", "dataType": 2, "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/farmer/minecraft:economy_trade_table/", "content": "trading/economy_trades/farmer_trades.json" }, { "path": "/minecraft:entity/component_groups/fisherman/minecraft:economy_trade_table/", "content": "trading/economy_trades/fisherman_trades.json" }, { "path": "/minecraft:entity/component_groups/shepherd/minecraft:economy_trade_table/", "content": "trading/economy_trades/shepherd_trades.json" }, { "path": "/minecraft:entity/component_groups/fletcher/minecraft:economy_trade_table/", "content": "trading/economy_trades/fletcher_trades.json" }, { "path": "/minecraft:entity/component_groups/librarian/minecraft:economy_trade_table/", "content": "trading/economy_trades/librarian_trades.json" }, { "path": "/minecraft:entity/component_groups/cartographer/minecraft:economy_trade_table/", "content": "trading/economy_trades/cartographer_trades.json" }, { "path": "/minecraft:entity/component_groups/cleric/minecraft:economy_trade_table/", "content": "trading/economy_trades/cleric_trades.json" }, { "path": "/minecraft:entity/component_groups/armorer/minecraft:economy_trade_table/", "content": "trading/economy_trades/armorer_trades.json" }, { "path": "/minecraft:entity/component_groups/weaponsmith/minecraft:economy_trade_table/", "content": "trading/economy_trades/weapon_smith_trades.json" }, { "path": "/minecraft:entity/component_groups/toolsmith/minecraft:economy_trade_table/", "content": "trading/economy_trades/tool_smith_trades.json" }, { "path": "/minecraft:entity/component_groups/butcher/minecraft:economy_trade_table/", "content": "trading/economy_trades/butcher_trades.json" }, { "path": "/minecraft:entity/component_groups/leatherworker/minecraft:economy_trade_table/", "content": "trading/economy_trades/leather_worker_trades.json" }, { "path": "/minecraft:entity/component_groups/mason/minecraft:economy_trade_table/", "content": "trading/economy_trades/stone_mason_trades.json" } ], "/vanilla/behavior_pack/entities/wandering_trader.json": [ { "path": "/minecraft:entity/components/minecraft:economy_trade_table/", "content": "trading/economy_trades/wandering_trader_trades.json" } ] } }, { "id": "use_legacy_price_formula", "title": "Use Legacy Price Formula", "description": "Determines whether the legacy formula is used to determines the trade prices.", "defaultValue": false, "dataType": 1 } ], "description": "Defines this entity's ability to trade with players.", "title": "Economy Trade Table", "samples": { "/vanilla/behavior_pack/entities/villager_v2.json": [ { "path": "/minecraft:entity/component_groups/trade_components/minecraft:economy_trade_table/", "content": {} }, { "path": "/minecraft:entity/component_groups/farmer/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.farmer", "table": "trading/economy_trades/farmer_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/fisherman/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.fisherman", "table": "trading/economy_trades/fisherman_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/shepherd/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.shepherd", "table": "trading/economy_trades/shepherd_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/fletcher/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.fletcher", "table": "trading/economy_trades/fletcher_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/librarian/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.librarian", "table": "trading/economy_trades/librarian_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/cartographer/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.cartographer", "table": "trading/economy_trades/cartographer_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/cleric/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.cleric", "table": "trading/economy_trades/cleric_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/armorer/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.armor", "table": "trading/economy_trades/armorer_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/weaponsmith/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.weapon", "table": "trading/economy_trades/weapon_smith_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/toolsmith/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.tool", "table": "trading/economy_trades/tool_smith_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/butcher/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.butcher", "table": "trading/economy_trades/butcher_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/leatherworker/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.leather", "table": "trading/economy_trades/leather_worker_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } }, { "path": "/minecraft:entity/component_groups/mason/minecraft:economy_trade_table/", "content": { "display_name": "entity.villager.mason", "table": "trading/economy_trades/stone_mason_trades.json", "new_screen": true, "persist_trades": true, "cured_discount": [ -25, -20 ], "max_cured_discount": [ -25, -20 ] } } ], "/vanilla/behavior_pack/entities/wandering_trader.json": [ { "path": "/minecraft:entity/components/minecraft:economy_trade_table/", "content": { "display_name": "entity.wandering_trader.name", "table": "trading/economy_trades/wandering_trader_trades.json", "new_screen": true } } ] }, "id": "minecraft:economy_trade_table" }