这是一个mc战利品表:{ "type": "minecraft:chest", "pools": [ { "rolls": 7, "bonusrolls": { "min":…
- User
这是一个mc战利品表:{ "type": "minecraft:chest", "pools": [ { "rolls": 7, "bonus_rolls": { "min": 1, "max": 3 }, "entries": [ { "type": "minecraft:item", "weight": 10, "name": "minecraft:arrow", "functions": [ { "function": "minecraft:set_count", "count": { "min": 1, "max": 64 } } ] }, { "type": "minecraft:item", "weight": 10, "name": "minecraft:lapis_lazuli", "functions": [ { "function": "minecraft:set_count", "count": { "min": 1, "max": 32 } } ] }, { "type": "minecraft:item", "weight": 10, "name": "minecraft:pumpkin_pie", "functions": [ { "function": "minecraft:set_count", "count": { "min": 1, "max": 20 } } ] }, { "type": "minecraft:item", "weight": 10, "name": "minecraft:iron_sword", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": 35 } ] }, { "type": "minecraft:item", "weight": 8, "name": "minecraft:book", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": 30 } ] }, { "type": "minecraft:item", "weight": 8, "name": "minecraft:ender_pearl", "functions": [ { "function": "minecraft:set_count", "count": { "min": 1, "max": 5 } } ] }, { "type": "minecraft:item", "weight": 8, "name": "minecraft:blaze_rod", "functions": [ { "function": "minecraft:set_count", "count": { "min": 1, "max": 5 } } ] }, { "type": "minecraft:item", "weight": 8, "name": "minecraft:ghast_tear", "functions": [ { "function": "minecraft:set_count", "count": { "min": 1, "max": 4 } } ] }, { "type": "minecraft:item", "weight": 8, "name": "minecraft:nether_wart", "functions": [ { "function": "minecraft:set_count", "count": { "min": 1, "max": 4 } } ] }, { "type": "minecraft:item", "weight": 4, "name": "minecraft:iron_boots", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": 35 } ] }, { "type": "minecraft:item", "weight": 4, "name": "minecraft:iron_chestplate", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": 35 } ] }, { "type": "minecraft:item", "weight": 4, "name": "minecraft:iron_helmet", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": 35 } ] }, { "type": "minecraft:item", "weight": 4, "name": "minecraft:iron_leggings", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": 35 } ] }, { "type": "minecraft:item", "weight": 4, "name": "minecraft:crossbow", "functions": [ { "function": "minecraft:enchant_with_levels", "levels": 30 } ] } ] } ] }
- Assistant
这是一个 Minecraft 战利品表(Loot Table)的 JSON 配置文件,它定义了在一个类型为
minecraft:chest的方块中可能出现的物品以及它们的数量和属性。以下是解析和解释这个战利品表的详细信息:总体结构
{ "type": "minecraft:chest", "pools": [ { "rolls": 7, "bonus_rolls": { "min": 1, "max": 3 }, "entries": [ { // 物品定义... } ] } ] }type: 定义战利品表的类型,这里是minecraft:chest,表示这是一个箱子的战利品表。- : 一个战利品池的列表,里面包含了战利品的具体配置。