本帖最后由 彪悍的新手 于 2015-9-2 19:34 编辑
大家好,今天又带了了简单易懂的记分板教程(请无视上次的番外教程)
可以看到像回血弓箭这些的命令方块模组(指地图中有原版的命令方块模仿的模组)都有记分板存在,但这些记分板的判据跟第一节教的判据都不一样。
这就是强大的高级记分板判据。
于13w36a快照被加入(1.7预览)
在WIKI的表:
长长一大截······
这次就来讲解
achievement(成就)判据就是第一个讲的判据
格式“achievement.成就名”
例如玩家捡起3个木头他的判据为achievement.mineWood的记分板就+3接受成就如下
stat是一个基础判据,意思为“统计”支持分数
当玩家完成一个统计时,分数增加1
例如判据为 “stat.jump”,就是记录玩家跳了多少次。
这里在插入一句如果探测玩家记分板分数的话······
复制代码
探测记分板name小于等于10的玩家,有就输出(红石比较器)
下一个判据
stat.craftItem判断玩家合成物品,当这些物品被拿出熔炉或者合成台时,分数+1。格式“stat.craftItem.物品ID”或“stat.craftItem.minecraft.物品文字ID”
接受的物品数字ID:
文字ID:
当玩家使用一个物品时,分数+1
在WIKI(经过我的翻译)中"使用" 在下列情况被定义为:
接受的物品文字ID:
格式同样也是“stat.useItem.minecraft.物品文字ID”或“stat.useItem.物品ID”
接下来是stat.breakItem判据
统计有没有破坏物品
格式“stat.breakItem.物品ID”或“stat.breakItem.minecraft.物品文字ID”
接受的ID:
文字ID:
看到这里头都晕了吧·······接下来看看例子
复制代码这就是创建一个名字为mingzi记分板,如果使用了一次钻石镐就+1的分数
显示出来的显示名字是“不要管我我只是装饰”懂了有木有~
判据为“stat.useItem.minecraft.diamond_pickaxe”
接下来,又一个·······
stat.mineBlock(挖掘方块)
格式不多说了“stat.mineBlock.minecraft.物品ID”或“stat.mineBlock.”
支持ID
支持的文字ID:
接下来的统计“杀死实体”和统计“被实体杀死”
都差不多,也不多说了······
stat.killEntity(统计.杀死实体)
支持实体
stat.killEntity.实体名
stat.entityKilledBy(统计.被实体杀死)
格式:stat.entityKilledBy.实体名
支持实体
好啦,完了,希望对你们有帮助
上节地址:http://www.mcbbs.net/thread-407065-1-1.html
下节地址:http://www.mcbbs.net/thread-407690-1-1.html
可以看到像回血弓箭这些的命令方块模组(指地图中有原版的命令方块模仿的模组)都有记分板存在,但这些记分板的判据跟第一节教的判据都不一样。
这就是强大的高级记分板判据。
于13w36a快照被加入(1.7预览)
在WIKI的表:
长长一大截······
这次就来讲解
achievement(成就)判据就是第一个讲的判据
格式“achievement.成就名”
例如玩家捡起3个木头他的判据为achievement.mineWood的记分板就+3接受成就如下 "acquireIron", "bakeCake", "blazeRod", "bookcase", "breedCow", "buildBetterPickaxe", "buildFurnace", "buildHoe", "buildPickaxe", "buildSword", "buildWorkBench", "cookFish", "diamonds", "diamondsToYou", "enchantments", "exploreAllBiomes", "flyPig", "fullBeacon", "ghast", "killCow", "killEnemy", "killWither", "makeBread", "mineWood", "onARail", "openInventory", "overkill", "overpowered", "portal", "potion","snipeSkeleton", "spawnWither", "theEnd"和"theEnd2"当玩家完成一个成就时,分数增加1
stat是一个基础判据,意思为“统计”支持分数"animalsBred", "boatOneCm", "climbOneCm", "crouchOneCm", "damageDealt", "damageTaken", "deaths", "diveOneCm", "drop", "fallOneCm", "fishCaught", "flyOneCm", "horseOneCm", "jump", "junkFished", "leaveGame", "minecartOneCm", "mobKills", "pigOneCm", "playerKills", "playOneMinute", "sprintOneCm", "swimOneCm", "timeSinceDeath", "treasureFished"和"walkOneCm"
当玩家完成一个统计时,分数增加1
例如判据为 “stat.jump”,就是记录玩家跳了多少次。
这里在插入一句如果探测玩家记分板分数的话······
探测记分板name小于等于10的玩家,有就输出(红石比较器)
下一个判据
stat.craftItem判断玩家合成物品,当这些物品被拿出熔炉或者合成台时,分数+1。格式“stat.craftItem.物品ID”或“stat.craftItem.minecraft.物品文字ID”
接受的物品数字ID:
1, 5, 20, 22-25, 27-29, 33, 35, 41, 42, 44-48, 50, 53, 54, 57, 58, 61, 65-67, 69, 70, 72, 76-79, 80, 82, 84, 85, 89, 91, 95, 96, 98, 101-103, 107-109, 112-114, 116, 123, 126, 128, 130, 131, 133-136, 138, 139, 143, 145-148, 151, 152, 154-160, 163-165, 167, 170-173, 256-259, 261-286, 290-294, 296-317, 320-325, 328, 330, 331, 333, 336, 339-343, 345-347, 350, 351, 353-357, 359, 361, 362, 364, 366, 371, 374, 376-382, 385, 386, 388-390, 393, 395, 396, 398, 400, 404-408, 和 420
文字ID:
acacia_stairs, activator_rail, anvil, arrow, baked_potato, beacon, bed, birch_stairs, blaze_powder, boat, book, bookshelf, bow, bowl, bread, brewing_stand, brick, brick_block, brick_stairs, bucket, cake, carpet, carrot_on_a_stick, cauldron, chainmail_boots, chainmail_chestplate, chainmail_helmet, chainmail_leggings, chest, chest_minecart, clay, clock, coal, coal_block, cobblestone_wall, comparator, compass, cooked_beef, cooked_chicken, cooked_fish, cooked_porkchop, cookie, crafting_table, dark_oak_stairs, daylight_detector, detector_rail, diamond, diamond_axe, diamond_block, diamond_boots, diamond_chestplate, diamond_helmet, diamond_hoe, diamond_leggings, diamond_pickaxe, diamond_shovel, diamond_sword, dispenser, dropper, dye, emerald, emerald_block, enchanting_table, ender_chest, ender_eye, fence, fence_gate, fermented_spider_eye, fire_charge, fishing_rod, flint_and_steel, flower_pot, furnace, furnace_minecart, glass, glass_bottle, glass_pane, glowstone, gold_block, gold_ingot, gold_nugget, golden_apple, golden_axe, golden_boots, golden_carrot, golden_chestplate, golden_helmet, golden_hoe, golden_leggings, golden_pickaxe, golden_rail, golden_shovel, golden_sword, hardened_clay, hay_block, heavy_weighted_pressure_plate, hopper, hopper_minecart, iron_axe, iron_bars, iron_block, iron_boots, iron_chestplate, iron_door, iron_helmet, iron_hoe, iron_ingot, iron_leggings, iron_pickaxe, iron_shovel, iron_sword, iron_trapdoor, item_frame, jukebox, jungle_stairs, ladder, lapis_block, lead, leather_boots, leather_chestplate, leather_helmet, leather_leggings, lever, light_weighted_pressure_plate, lit_pumpkin, magma_cream, map, melon_block, melon_seeds, minecart, mossy_cobblestone, mushroom_stew, nether_brick, nether_brick_fence, nether_brick_stairs, netherbrick, noteblock, oak_stairs, painting, paper, piston, planks, pumpkin_pie, pumpkin_seeds, quartz, quartz_block, quartz_stairs, rail, redstone, redstone_block, redstone_lamp, redstone_torch, repeater, sandstone, sandstone_stairs, shears, sign, slime, slime_ball, snow, snow_layer, speckled_melon, spruce_stairs, stained_glass, stained_glass_pane, stained_hardened_clay, stick, sticky_piston, stone, stone_axe, stone_brick_stairs, stone_button, stone_hoe, stone_pickaxe, stone_pressure_plate, stone_shovel, stone_slab, stone_stairs, stone_sword, stonebrick, sugar, tnt, tnt_minecart, torch, trapdoor, trapped_chest, tripwire_hook, wheat, wooden_axe, wooden_button, wooden_door, wooden_hoe, wooden_pickaxe, wooden_pressure_plate, wooden_shovel, wooden_slab, wooden_sword, wool, 和 writable_bookstat.useItem判据——使用物品
当玩家使用一个物品时,分数+1
在WIKI(经过我的翻译)中"使用" 在下列情况被定义为:
(不好理解) 锹、镐、斧、打火石、剪刀、锄、弓或 剑 可以消耗它们的耐久度。 即使没有损耗,使用次数也会增加,例如当它们用于破坏一个方块。 每右击钓鱼竿或 萝卜钓竿一次,它们的使用次数就会增加,即使它们没有损耗. 当盔甲有损耗时,使用次数不会增加。· 一个方块被放置,这个方块就被使用了一次。 当然方块有特定条件被放置,但是使用次数 ,是否可以放置,
, 例如, 甘蔗需要在水相邻的地方放置 沙, 红沙, 泥土, podzol, 或一个草方块。但是使用次数会在玩家拿着这些方块右击之后增加(即使是 the "Use Item/Place Block" control).· 画, 刷怪蛋, 任何一种 矿车, 物品展示框, 船,末影之眼, 末影珍珠, 鸡蛋, 雪球, 弓, 任何一种可投掷的 药水, 附魔之瓶, 或 钓鱼竿 生成一个实体。· 两种可被使用的染料之一被正确地使用了。当可可豆在丛林木头上放置可可果或骨粉被使用于催长植物,例如农作物或草。 The value does not increment when a dye is used on a sheep.不增加分数“让染料用羊的染色。” ·一桶牛奶,药水,或任何食物,节省蛋糕,可被安置的被消耗。 ·空地图、桶、岩浆桶,水桶,牛奶,书与笔,或药水创建一个新的项目。不增加分数“当碗变成蘑菇煲让桶变成牛奶。” ·A record is placed in a 唱片机. Each record has a different stat.The value, however, does not increment when items are used on mobs, whether to name, tame, feed, breed, saddle, leash, shear, milk, or gather stew from; when armor is put on directly; when leather armor is washed in a cauldron; and all instances mentioned above. (一个记录是放置在一个唱片机。每个记录都有不同的属性。 价值,然而,并不增加暴徒使用物品时,是否要名字,温和,饲料,品种,马鞍,皮带,剪切,牛奶,或收集炖,直接穿上盔甲时;当皮革盔甲洗釜;和上面提到的所有实例?机翻,不懂) .有357个项目模式,不使用命令和包括块相似的IDs但datavalues不同,可以使用这个属性,195,不能。(后面我无语了(机翻))不好理解,自己想想吧······
接受的物品ID
1-25, 27-33, 35, 37-54, 56-58, 60-62, 65-67, 69, 70, 72, 73, 76-82, 84-91, 95-103, 106-114, 116, 119-123, 125-131, 133-139, 141-143, 145-148, 151-167, 170-175, 256-408, 417-422, 和
2256-2267
接受的物品文字ID:
acacia_stairs, activator_rail, anvil, apple, arrow, baked_potato, barrier, beacon, bed, bedrock, beef, birch_stairs, blaze_powder, blaze_rod, boat, bone, book, bookshelf, bow, bowl, bread, brewing_stand, brick, brick_block, brick_stairs, brown_mushroom, brown_mushroom_block, bucket, cactus, cake, carpet, carrot, carrot_on_a_stick, carrots, cauldron, chainmail_boots, chainmail_chestplate, chainmail_helmet, chainmail_leggings, chest, chest_minecart, chicken, clay, clay_ball, clock, coal, coal_block, coal_ore, cobblestone, cobblestone_wall, cocoa, command_block, command_block_minecart, comparator, compass, cooked_beef, cooked_chicken, cooked_fish, cooked_porkchop, cookie, crafting_table, dark_oak_stairs, daylight_detector, deadbush, detector_rail, diamond, diamond_axe, diamond_block, diamond_boots, diamond_chestplate, diamond_helmet, diamond_hoe, diamond_horse_armor, diamond_leggings, diamond_ore, diamond_pickaxe, diamond_shovel, diamond_sword, dirt, dispenser, double_plant, double_stone_slab, double_wooden_slab, dragon_egg, dropper, dye, egg, emerald, emerald_block, emerald_ore, enchanted_book, enchanting_table, end_portal, end_portal_frame, end_stone, ender_chest, ender_eye, ender_pearl, experience_bottle, farmland, feather, fence, fence_gate, fermented_spider_eye, filled_map, fire, fire_charge, firework_charge, fireworks, fish, fishing_rod, flint, flint_and_steel, flower_pot, flowing_lava, flowing_water, furnace, furnace_minecart, ghast_tear, glass, glass_bottle, glass_pane, glowstone, glowstone_dust, gold_block, gold_ingot, gold_nugget, gold_ore, golden_apple, golden_axe, golden_boots, golden_carrot, golden_chestplate, golden_helmet, golden_hoe, golden_horse_armor, golden_leggings, golden_pickaxe, golden_rail, golden_shovel, golden_sword, grass, gravel, gunpowder, hardened_clay, hay_block, heavy_weighted_pressure_plate, hopper, hopper_minecart, ice, iron_axe, iron_bars, iron_block, iron_boots, iron_chestplate, iron_door, iron_helmet, iron_hoe, iron_horse_armor, iron_ingot, iron_leggings, iron_ore, iron_pickaxe, iron_shovel, iron_sword, iron_trapdoor, item_frame, jukebox, jungle_stairs, ladder, lapis_block, lapis_ore, lava, lava_bucket, lead, leather, leather_boots, leather_chestplate, leather_helmet, leather_leggings, leaves, leaves2, lever, light_weighted_pressure_plate, lit_furnace, lit_pumpkin, log, log2, magma_cream, map, melon, melon_block, melon_seeds, milk_bucket, minecart, mob_spawner, monster_egg, mossy_cobblestone, mushroom_stew, mycelium, name_tag, nether_brick, nether_brick_fence, nether_brick_stairs, nether_star, nether_wart, netherbrick, netherrack, noteblock, oak_stairs, obsidian, packed_ice, painting, paper, piston, planks, poisonous_potato, porkchop, portal, potato, potatoes, potion, pumpkin, pumpkin_pie, pumpkin_seeds, quartz, quartz_block, quartz_ore, quartz_stairs, rail, record_11, record_13, record_blocks, record_cat, record_chirp, record_far, record_mall, record_mellohi, record_stal, record_strad, record_wait, record_ward, red_flower, red_mushroom, red_mushroom_block, redstone, redstone_block, redstone_lamp, redstone_ore, redstone_torch, reeds, repeater, rotten_flesh, saddle, sand, sandstone, sandstone_stairs, sapling, shears, sign, skull, slime, slime_ball, snow, snow_layer, snowball, soul_sand, spawn_egg, speckled_melon, spider_eye, sponge, spruce_stairs, stained_glass, stained_glass_pane, stained_hardened_clay, stick, sticky_piston, stone, stone_axe, stone_brick_stairs, stone_button, stone_hoe, stone_pickaxe, stone_pressure_plate, stone_shovel, stone_slab, stone_stairs, stone_sword, stonebrick, string, sugar, tallgrass, tnt, tnt_minecart, torch, trapdoor, trapped_chest, tripwire_hook, vine, water, water_bucket, waterlily, web, wheat, wheat_seeds, wooden_axe, wooden_button, wooden_door, wooden_hoe, wooden_pickaxe, wooden_pressure_plate, wooden_shovel, wooden_slab, wooden_sword, wool, writable_book, written_book和yellow_flower
格式同样也是“stat.useItem.minecraft.物品文字ID”或“stat.useItem.物品ID”
接下来是stat.breakItem判据
统计有没有破坏物品
格式“stat.breakItem.物品ID”或“stat.breakItem.minecraft.物品文字ID”
接受的ID:
256-259, 261, 267-279, 283-286, 290-294, 298-317, 346, 359, 和 398
文字ID:
bow, carrot_on_a_stick, chainmail_boots, chainmail_chestplate, chainmail_helmet, chainmail_leggings, diamond_axe, diamond_boots, diamond_chestplate, diamond_helmet, diamond_hoe, diamond_leggings, diamond_pickaxe, diamond_shovel, diamond_sword, fishing_rod, flint_and_steel, golden_axe, golden_boots, golden_chestplate, golden_helmet, golden_hoe, golden_leggings, golden_pickaxe, golden_shovel, golden_sword, iron_axe, iron_boots, iron_chestplate, iron_helmet, iron_hoe, iron_leggings, iron_pickaxe, iron_shovel, iron_sword, leather_boots, leather_chestplate, leather_helmet, leather_leggings, shears, stone_axe, stone_hoe, stone_pickaxe, stone_shovel, stone_sword, wooden_axe, wooden_hoe, wooden_pickaxe, wooden_shovel, 和 wooden_sword
看到这里头都晕了吧·······接下来看看例子
这就是创建一个名字为mingzi记分板,如果使用了一次钻石镐就+1的分数
显示出来的显示名字是“不要管我我只是装饰”懂了有木有~
判据为“stat.useItem.minecraft.diamond_pickaxe”
接下来,又一个·······
stat.mineBlock(挖掘方块)
格式不多说了“stat.mineBlock.minecraft.物品ID”或“stat.mineBlock.”
支持ID
1-6, 12-25, 27-33, 35, 37-50, 53, 54, 56-58, 60-62, 65-67, 69, 70, 72, 73, 76-82, 84-91, 95, 97-103, 106-114, 116, 119-123, 125-131, 133-139, 143, 145-148, 151-165, 和 170-175
支持的文字ID:
acacia_stairs, activator_rail, anvil, beacon, birch_stairs, bookshelf, brick_block, brick_stairs, brown_mushroom, brown_mushroom_block, cactus, carpet, chest, clay, coal_block, coal_ore, cobblestone, cobblestone_wall, cocoa, command_block, crafting_table, dark_oak_stairs, daylight_detector, deadbush, detector_rail, diamond_block, diamond_ore, dirt, dispenser, double_plant, double_stone_slab, double_wooden_slab, dragon_egg, dropper, emerald_block, emerald_ore, enchanting_table, end_portal, end_portal_frame, end_stone, ender_chest, farmland, fence, fence_gate, furnace, glass, glass_pane, glowstone, gold_block, gold_ore, golden_rail, grass, gravel, hardened_clay, hay_block, heavy_weighted_pressure_plate, hopper, ice, iron_bars, iron_block, iron_ore, jukebox, jungle_stairs, ladder, lapis_block, lapis_ore, leaves, leaves2, lever, light_weighted_pressure_plate, lit_furnace, lit_pumpkin, log, log2, melon_block, monster_egg, mossy_cobblestone, mycelium, nether_brick, nether_brick_fence, nether_brick_stairs, netherrack, noteblock, oak_stairs, obsidian, packed_ice, piston, planks, portal, pumpkin, quartz_block, quartz_ore, quartz_stairs, rail, red_flower, red_mushroom, red_mushroom_block, redstone_block, redstone_lamp, redstone_ore, redstone_torch, sand, sandstone, sandstone_stairs, sapling, slime, snow, snow_layer, soul_sand, sponge, spruce_stairs, stained_glass, stained_glass_pane, stained_hardened_clay, sticky_piston, stone, stone_brick_stairs, stone_button, stone_pressure_plate, stone_slab, stone_stairs, stonebrick, tallgrass, tnt, torch, trapped_chest, tripwire_hook, vine, waterlily, web, wooden_button, wooden_pressure_plate, wooden_slab, wool, 和 yellow_flower
接下来的统计“杀死实体”和统计“被实体杀死”
都差不多,也不多说了······
stat.killEntity(统计.杀死实体)
支持实体
stat.killEntity.实体名
"Bat", "Blaze", "CaveSpider", "Chicken", "Cow", "Creeper", "Enderman", "EntityHorse", "Ghast", "LavaSlime", "MushroomCow", "Ozelot", "Pig", "PigZombie", "Sheep", "Silverfish", "Skeleton", "Slime", "Spider", "Squid", "Villager", "Witch", "Wolf", 和 "Zombie".
stat.entityKilledBy(统计.被实体杀死)
格式:stat.entityKilledBy.实体名
支持实体
"Bat", "Blaze", "CaveSpider", "Chicken", "Cow", "Creeper", "Enderman", "EntityHorse", "Ghast", "LavaSlime", "MushroomCow", "Ozelot", "Pig", "PigZombie", "Sheep", "Silverfish", "Skeleton", "Slime", "Spider", "Squid", "Villager", "Witch", "Wolf", 和 "Zombie".
好啦,完了,希望对你们有帮助
上节地址:http://www.mcbbs.net/thread-407065-1-1.html
下节地址:http://www.mcbbs.net/thread-407690-1-1.html
大家好,今天又带了了简单易懂的记分板教程(请无视上次的番外教程)
可以看到像回血弓箭这些的命令方块模组(指地图中有原版的命令方块模仿的模组)都有记分板存在,但这些记分板的判据跟第一节教的判据都不一样。
这就是强大的高级记分板判据。
于13w36a快照被加入(1.7预览)
在WIKI的表:
长长一大截······
这次就来讲解
achievement(成就)判据就是第一个讲的判据
格式“achievement.成就名”
例如玩家捡起3个木头他的判据为achievement.mineWood的记分板就+3接受成就如下
stat是一个基础判据,意思为“统计”支持分数
当玩家完成一个统计时,分数增加1
例如判据为 “stat.jump”,就是记录玩家跳了多少次。
这里在插入一句如果探测玩家记分板分数的话······
- /testfor @p[score_name=10]
探测记分板name小于等于10的玩家,有就输出(红石比较器)
下一个判据
stat.craftItem判断玩家合成物品,当这些物品被拿出熔炉或者合成台时,分数+1。格式“stat.craftItem.物品ID”或“stat.craftItem.minecraft.物品文字ID”
接受的物品数字ID:
文字ID:
stat.useItem判据——使用物品
当玩家使用一个物品时,分数+1
在WIKI(经过我的翻译)中"使用" 在下列情况被定义为:
(不好理解)
接受的物品ID
接受的物品文字ID:
格式同样也是“stat.useItem.minecraft.物品文字ID”或“stat.useItem.物品ID”
接下来是stat.breakItem判据
统计有没有破坏物品
格式“stat.breakItem.物品ID”或“stat.breakItem.minecraft.物品文字ID”
接受的ID:
文字ID:
看到这里头都晕了吧·······接下来看看例子
- /scoreboard objectives add mingzi stat.useItem.minecraft.diamond_pickaxe 不要管我我只是装饰
显示出来的显示名字是“不要管我我只是装饰”懂了有木有~
判据为“stat.useItem.minecraft.diamond_pickaxe”
接下来,又一个·······
stat.mineBlock(挖掘方块)
格式不多说了“stat.mineBlock.minecraft.物品ID”或“stat.mineBlock.”
支持ID
支持的文字ID:
接下来的统计“杀死实体”和统计“被实体杀死”
都差不多,也不多说了······
stat.killEntity(统计.杀死实体)
支持实体
stat.killEntity.实体名
stat.entityKilledBy(统计.被实体杀死)
格式:stat.entityKilledBy.实体名
支持实体
好啦,完了,希望对你们有帮助
上节地址:http://www.mcbbs.net/thread-407065-1-1.html
下节地址:http://www.mcbbs.net/thread-407690-1-1.html
2021.12 数据,可能有更多内容
大家好,今天又带了了简单易懂的记分板教程(请无视上次的番外教程)可以看到像回血弓箭这些的命令方块模组(指地图中有原版的命令方块模仿的模组)都有记分板存在,但这些记分板的判据跟第一节教的判据都不一样。
这就是强大的高级记分板判据。
于13w36a快照被加入(1.7预览)
在WIKI的表:
判据本名 | ||
描述 | ||
可否编辑 | ||
分判据数量 | ||
achievement(成就) | ||
可用分判据如下: "acquireIron", "bakeCake", "blazeRod", "bookcase", "breedCow", "buildBetterPickaxe", "buildFurnace", "buildHoe", "buildPickaxe", "buildSword", "buildWorkBench", "cookFish", "diamonds", "diamondsToYou", "enchantments", "exploreAllBiomes", "flyPig", "fullBeacon", "ghast", "killCow", "killEnemy", "killWither", "makeBread", "mineWood", "onARail", "openInventory", "overkill", "overpowered", "portal", "potion", "snipeSkeleton", "spawnWither", "theEnd"和"theEnd2"。数量取决于玩家获得此成就的次数(例如,当一个玩家捡起3块木头,他的"achievement.mineWood"判据会变成3) | ||
是 | ||
34 | ||
stat(统计) | ||
基于玩家的统计来计数,接受的分判据有: "animalsBred", "boatOneCm", "climbOneCm", "crouchOneCm", "damageDealt", "damageTaken", "deaths", "diveOneCm", "drop", "fallOneCm", "fishCaught", "flyOneCm", "horseOneCm", "jump", "junkFished", "leaveGame", "minecartOneCm", "mobKills", "pigOneCm", "playerKills", "playOneMinute", "sprintOneCm", "swimOneCm", "timeSinceDeath", "treasureFished"和"walkOneCm". 当一个玩家完成分判据中的行为,分数会自动增加。 | ||
是 | ||
26 | ||
stat.craftItem(统计.物品合成) | ||
分判据是合成物品或方块的ID(例如"stat.craftItem.1")或者ID名(例如"stat.craftItem.minecraft.stone",注意使用ID名时必须要加"minecraft." )。只有可合成或可熔炼的方块和物品名才会被接受。这个数据会在被合成物品移出熔炉, 合成台或者物品栏中的合成区域时增加。点击拿走物品会使数据加一,但是使用shift来拿走只会使数据增加二。
| ||
是 | ||
199 (398)[note 1] | ||
stat.useItem(统计.使用物品) | ||
分判据是方块或物品的ID数和ID名(如"stat.useItem.1"和"stat.useItem.minecraft.stone")。大部分方块和物品都被接受,除了某些不存在物品形式的方块。
There are 357 items attainable in creative mode, without using commands and including blocks with similar IDs but different datavalues, that can use this stat and 195 that cannot. | ||
是 | ||
318 (636)[note 1] | ||
stat.breakItem(统计.破坏物品) | ||
The sub-criteria are the ID number (such as "stat.breakItem.256") or ID name (such as "stat.breakItem.minecraft.bow") of an item with durability.
| ||
是 | ||
50 (100)[note 1] | ||
stat.mineBlock(统计.挖掘物品) | ||
The sub-criteria are the ID number (such as "stat.mineBlock.1") or ID name (such as "stat.mineBlock.minecraft.stone") of a block. Most blocks are accepted, except for various indestructible or technical blocks.
| ||
是 | ||
135 (270)[note 1] | ||
stat.killEntity(统计.杀死实体) | ||
The sub-criteria are the name of an entity. Valid names are: "Bat", "Blaze", "CaveSpider", "Chicken", "Cow", "Creeper", "Enderman", "EntityHorse", "Ghast", "LavaSlime", "MushroomCow", "Ozelot", "Pig", "PigZombie", "Sheep", "Silverfish", "Skeleton", "Slime", "Spider", "Squid", "Villager", "Witch", "Wolf", and "Zombie". Increments when a player has killed the specified mob. | ||
是 | ||
24 | ||
stat.entityKilledBy(统计.被实体杀死) | ||
The sub-criteria are the name of an entity. Valid names are: "Bat", "Blaze", "CaveSpider", "Chicken", "Cow", "Creeper", "Enderman", "EntityHorse", "Ghast", "LavaSlime", "MushroomCow", "Ozelot", "Pig", "PigZombie", "Sheep", "Silverfish", "Skeleton", "Slime", "Spider", "Squid", "Villager", "Witch", "Wolf", and "Zombie". Increments when a player has been killed by the specified mob.Note that if the name of a passive mob is used the value will never increase, as those mobs are not capable of hurting the player. | ||
是 | ||
24 | ||
teamkill(团队击杀数) | ||
The sub-criteria are the color of a team. Valid colors are: "black", "dark_blue", "dark_green", "dark_aqua", "dark_red", "dark_purple", "gold", "gray", "dark_gray", "blue", "green", "aqua", "red", "light_purple", "yellow", and "white". Increments when a player has killed a member of a team with the specified color. | ||
是 | ||
16 | ||
killedByTeam(团队被击杀数) | ||
The sub-criteria are the color of a team. Valid colors are: "black", "dark_blue", "dark_green", "dark_aqua", "dark_red", "dark_purple", "gold", "gray", "dark_gray", "blue", "green", "aqua", "red", "light_purple", "yellow", and "white". Increments when a player has been killed by a member of a team with the specified color. | ||
是 | ||
16 |
长长一大截······
这次就来讲解
achievement(成就)判据就是第一个讲的判据
格式“achievement.成就名”
例如玩家捡起3个木头他的判据为achievement.mineWood的记分板就+3接受成就如下 "acquireIron", "bakeCake", "blazeRod", "bookcase", "breedCow", "buildBetterPickaxe", "buildFurnace", "buildHoe", "buildPickaxe", "buildSword", "buildWorkBench", "cookFish", "diamonds", "diamondsToYou", "enchantments", "exploreAllBiomes", "flyPig", "fullBeacon", "ghast", "killCow", "killEnemy", "killWither", "makeBread", "mineWood", "onARail", "openInventory", "overkill", "overpowered", "portal", "potion","snipeSkeleton", "spawnWither", "theEnd"和"theEnd2"当玩家完成一个成就时,分数增加1
stat是一个基础判据,意思为“统计”支持分数"animalsBred", "boatOneCm", "climbOneCm", "crouchOneCm", "damageDealt", "damageTaken", "deaths", "diveOneCm", "drop", "fallOneCm", "fishCaught", "flyOneCm", "horseOneCm", "jump", "junkFished", "leaveGame", "minecartOneCm", "mobKills", "pigOneCm", "playerKills", "playOneMinute", "sprintOneCm", "swimOneCm", "timeSinceDeath", "treasureFished"和"walkOneCm"
当玩家完成一个统计时,分数增加1
例如判据为 “stat.jump”,就是记录玩家跳了多少次。
这里在插入一句如果探测玩家记分板分数的话······
代码:
- /testfor @p[score_name=10]
探测记分板name小于等于10的玩家,有就输出(红石比较器)
下一个判据
stat.craftItem判断玩家合成物品,当这些物品被拿出熔炉或者合成台时,分数+1。格式“stat.craftItem.物品ID”或“stat.craftItem.minecraft.物品文字ID”
接受的物品数字ID:
1, 5, 20, 22-25, 27-29, 33, 35, 41, 42, 44-48, 50, 53, 54, 57, 58, 61, 65-67, 69, 70, 72, 76-79, 80, 82, 84, 85, 89, 91, 95, 96, 98, 101-103, 107-109, 112-114, 116, 123, 126, 128, 130, 131, 133-136, 138, 139, 143, 145-148, 151, 152, 154-160, 163-165, 167, 170-173, 256-259, 261-286, 290-294, 296-317, 320-325, 328, 330, 331, 333, 336, 339-343, 345-347, 350, 351, 353-357, 359, 361, 362, 364, 366, 371, 374, 376-382, 385, 386, 388-390, 393, 395, 396, 398, 400, 404-408, 和 420
文字ID:
acacia_stairs, activator_rail, anvil, arrow, baked_potato, beacon, bed, birch_stairs, blaze_powder, boat, book, bookshelf, bow, bowl, bread, brewing_stand, brick, brick_block, brick_stairs, bucket, cake, carpet, carrot_on_a_stick, cauldron, chainmail_boots, chainmail_chestplate, chainmail_helmet, chainmail_leggings, chest, chest_minecart, clay, clock, coal, coal_block, cobblestone_wall, comparator, compass, cooked_beef, cooked_chicken, cooked_fish, cooked_porkchop, cookie, crafting_table, dark_oak_stairs, daylight_detector, detector_rail, diamond, diamond_axe, diamond_block, diamond_boots, diamond_chestplate, diamond_helmet, diamond_hoe, diamond_leggings, diamond_pickaxe, diamond_shovel, diamond_sword, dispenser, dropper, dye, emerald, emerald_block, enchanting_table, ender_chest, ender_eye, fence, fence_gate, fermented_spider_eye, fire_charge, fishing_rod, flint_and_steel, flower_pot, furnace, furnace_minecart, glass, glass_bottle, glass_pane, glowstone, gold_block, gold_ingot, gold_nugget, golden_apple, golden_axe, golden_boots, golden_carrot, golden_chestplate, golden_helmet, golden_hoe, golden_leggings, golden_pickaxe, golden_rail, golden_shovel, golden_sword, hardened_clay, hay_block, heavy_weighted_pressure_plate, hopper, hopper_minecart, iron_axe, iron_bars, iron_block, iron_boots, iron_chestplate, iron_door, iron_helmet, iron_hoe, iron_ingot, iron_leggings, iron_pickaxe, iron_shovel, iron_sword, iron_trapdoor, item_frame, jukebox, jungle_stairs, ladder, lapis_block, lead, leather_boots, leather_chestplate, leather_helmet, leather_leggings, lever, light_weighted_pressure_plate, lit_pumpkin, magma_cream, map, melon_block, melon_seeds, minecart, mossy_cobblestone, mushroom_stew, nether_brick, nether_brick_fence, nether_brick_stairs, netherbrick, noteblock, oak_stairs, painting, paper, piston, planks, pumpkin_pie, pumpkin_seeds, quartz, quartz_block, quartz_stairs, rail, redstone, redstone_block, redstone_lamp, redstone_torch, repeater, sandstone, sandstone_stairs, shears, sign, slime, slime_ball, snow, snow_layer, speckled_melon, spruce_stairs, stained_glass, stained_glass_pane, stained_hardened_clay, stick, sticky_piston, stone, stone_axe, stone_brick_stairs, stone_button, stone_hoe, stone_pickaxe, stone_pressure_plate, stone_shovel, stone_slab, stone_stairs, stone_sword, stonebrick, sugar, tnt, tnt_minecart, torch, trapdoor, trapped_chest, tripwire_hook, wheat, wooden_axe, wooden_button, wooden_door, wooden_hoe, wooden_pickaxe, wooden_pressure_plate, wooden_shovel, wooden_slab, wooden_sword, wool, 和 writable_bookstat.useItem判据——使用物品
当玩家使用一个物品时,分数+1
在WIKI(经过我的翻译)中"使用" 在下列情况被定义为:
(不好理解) 锹、镐、斧、打火石、剪刀、锄、弓或 剑 可以消耗它们的耐久度。 即使没有损耗,使用次数也会增加,例如当它们用于破坏一个方块。 每右击钓鱼竿或 萝卜钓竿一次,它们的使用次数就会增加,即使它们没有损耗. 当盔甲有损耗时,使用次数不会增加。· 一个方块被放置,这个方块就被使用了一次。 当然方块有特定条件被放置,但是使用次数 ,是否可以放置,
, 例如, 甘蔗需要在水相邻的地方放置 沙, 红沙, 泥土, podzol, 或一个草方块。但是使用次数会在玩家拿着这些方块右击之后增加(即使是 the "Use Item/Place Block" control).· 画, 刷怪蛋, 任何一种 矿车, 物品展示框, 船,末影之眼, 末影珍珠, 鸡蛋, 雪球, 弓, 任何一种可投掷的 药水, 附魔之瓶, 或 钓鱼竿 生成一个实体。· 两种可被使用的染料之一被正确地使用了。当可可豆在丛林木头上放置可可果或骨粉被使用于催长植物,例如农作物或草。 The value does not increment when a dye is used on a sheep.不增加分数“让染料用羊的染色。” ·一桶牛奶,药水,或任何食物,节省蛋糕,可被安置的被消耗。 ·空地图、桶、岩浆桶,水桶,牛奶,书与笔,或药水创建一个新的项目。不增加分数“当碗变成蘑菇煲让桶变成牛奶。” ·A record is placed in a 唱片机. Each record has a different stat.The value, however, does not increment when items are used on mobs, whether to name, tame, feed, breed, saddle, leash, shear, milk, or gather stew from; when armor is put on directly; when leather armor is washed in a cauldron; and all instances mentioned above. (一个记录是放置在一个唱片机。每个记录都有不同的属性。 价值,然而,并不增加暴徒使用物品时,是否要名字,温和,饲料,品种,马鞍,皮带,剪切,牛奶,或收集炖,直接穿上盔甲时;当皮革盔甲洗釜;和上面提到的所有实例?机翻,不懂) .有357个项目模式,不使用命令和包括块相似的IDs但datavalues不同,可以使用这个属性,195,不能。(后面我无语了(机翻))不好理解,自己想想吧······
接受的物品ID
1-25, 27-33, 35, 37-54, 56-58, 60-62, 65-67, 69, 70, 72, 73, 76-82, 84-91, 95-103, 106-114, 116, 119-123, 125-131, 133-139, 141-143, 145-148, 151-167, 170-175, 256-408, 417-422, 和
2256-2267
接受的物品文字ID:
acacia_stairs, activator_rail, anvil, apple, arrow, baked_potato, barrier, beacon, bed, bedrock, beef, birch_stairs, blaze_powder, blaze_rod, boat, bone, book, bookshelf, bow, bowl, bread, brewing_stand, brick, brick_block, brick_stairs, brown_mushroom, brown_mushroom_block, bucket, cactus, cake, carpet, carrot, carrot_on_a_stick, carrots, cauldron, chainmail_boots, chainmail_chestplate, chainmail_helmet, chainmail_leggings, chest, chest_minecart, chicken, clay, clay_ball, clock, coal, coal_block, coal_ore, cobblestone, cobblestone_wall, cocoa, command_block, command_block_minecart, comparator, compass, cooked_beef, cooked_chicken, cooked_fish, cooked_porkchop, cookie, crafting_table, dark_oak_stairs, daylight_detector, deadbush, detector_rail, diamond, diamond_axe, diamond_block, diamond_boots, diamond_chestplate, diamond_helmet, diamond_hoe, diamond_horse_armor, diamond_leggings, diamond_ore, diamond_pickaxe, diamond_shovel, diamond_sword, dirt, dispenser, double_plant, double_stone_slab, double_wooden_slab, dragon_egg, dropper, dye, egg, emerald, emerald_block, emerald_ore, enchanted_book, enchanting_table, end_portal, end_portal_frame, end_stone, ender_chest, ender_eye, ender_pearl, experience_bottle, farmland, feather, fence, fence_gate, fermented_spider_eye, filled_map, fire, fire_charge, firework_charge, fireworks, fish, fishing_rod, flint, flint_and_steel, flower_pot, flowing_lava, flowing_water, furnace, furnace_minecart, ghast_tear, glass, glass_bottle, glass_pane, glowstone, glowstone_dust, gold_block, gold_ingot, gold_nugget, gold_ore, golden_apple, golden_axe, golden_boots, golden_carrot, golden_chestplate, golden_helmet, golden_hoe, golden_horse_armor, golden_leggings, golden_pickaxe, golden_rail, golden_shovel, golden_sword, grass, gravel, gunpowder, hardened_clay, hay_block, heavy_weighted_pressure_plate, hopper, hopper_minecart, ice, iron_axe, iron_bars, iron_block, iron_boots, iron_chestplate, iron_door, iron_helmet, iron_hoe, iron_horse_armor, iron_ingot, iron_leggings, iron_ore, iron_pickaxe, iron_shovel, iron_sword, iron_trapdoor, item_frame, jukebox, jungle_stairs, ladder, lapis_block, lapis_ore, lava, lava_bucket, lead, leather, leather_boots, leather_chestplate, leather_helmet, leather_leggings, leaves, leaves2, lever, light_weighted_pressure_plate, lit_furnace, lit_pumpkin, log, log2, magma_cream, map, melon, melon_block, melon_seeds, milk_bucket, minecart, mob_spawner, monster_egg, mossy_cobblestone, mushroom_stew, mycelium, name_tag, nether_brick, nether_brick_fence, nether_brick_stairs, nether_star, nether_wart, netherbrick, netherrack, noteblock, oak_stairs, obsidian, packed_ice, painting, paper, piston, planks, poisonous_potato, porkchop, portal, potato, potatoes, potion, pumpkin, pumpkin_pie, pumpkin_seeds, quartz, quartz_block, quartz_ore, quartz_stairs, rail, record_11, record_13, record_blocks, record_cat, record_chirp, record_far, record_mall, record_mellohi, record_stal, record_strad, record_wait, record_ward, red_flower, red_mushroom, red_mushroom_block, redstone, redstone_block, redstone_lamp, redstone_ore, redstone_torch, reeds, repeater, rotten_flesh, saddle, sand, sandstone, sandstone_stairs, sapling, shears, sign, skull, slime, slime_ball, snow, snow_layer, snowball, soul_sand, spawn_egg, speckled_melon, spider_eye, sponge, spruce_stairs, stained_glass, stained_glass_pane, stained_hardened_clay, stick, sticky_piston, stone, stone_axe, stone_brick_stairs, stone_button, stone_hoe, stone_pickaxe, stone_pressure_plate, stone_shovel, stone_slab, stone_stairs, stone_sword, stonebrick, string, sugar, tallgrass, tnt, tnt_minecart, torch, trapdoor, trapped_chest, tripwire_hook, vine, water, water_bucket, waterlily, web, wheat, wheat_seeds, wooden_axe, wooden_button, wooden_door, wooden_hoe, wooden_pickaxe, wooden_pressure_plate, wooden_shovel, wooden_slab, wooden_sword, wool, writable_book, written_book和yellow_flower
格式同样也是“stat.useItem.minecraft.物品文字ID”或“stat.useItem.物品ID”
接下来是stat.breakItem判据
统计有没有破坏物品
格式“stat.breakItem.物品ID”或“stat.breakItem.minecraft.物品文字ID”
接受的ID:
256-259, 261, 267-279, 283-286, 290-294, 298-317, 346, 359, 和 398
文字ID:
bow, carrot_on_a_stick, chainmail_boots, chainmail_chestplate, chainmail_helmet, chainmail_leggings, diamond_axe, diamond_boots, diamond_chestplate, diamond_helmet, diamond_hoe, diamond_leggings, diamond_pickaxe, diamond_shovel, diamond_sword, fishing_rod, flint_and_steel, golden_axe, golden_boots, golden_chestplate, golden_helmet, golden_hoe, golden_leggings, golden_pickaxe, golden_shovel, golden_sword, iron_axe, iron_boots, iron_chestplate, iron_helmet, iron_hoe, iron_leggings, iron_pickaxe, iron_shovel, iron_sword, leather_boots, leather_chestplate, leather_helmet, leather_leggings, shears, stone_axe, stone_hoe, stone_pickaxe, stone_shovel, stone_sword, wooden_axe, wooden_hoe, wooden_pickaxe, wooden_shovel, 和 wooden_sword
看到这里头都晕了吧·······接下来看看例子
代码:
- /scoreboard objectives add mingzi stat.useItem.minecraft.diamond_pickaxe 不要管我我只是装饰
显示出来的显示名字是“不要管我我只是装饰”懂了有木有~
判据为“stat.useItem.minecraft.diamond_pickaxe”
接下来,又一个·······
stat.mineBlock(挖掘方块)
格式不多说了“stat.mineBlock.minecraft.物品ID”或“stat.mineBlock.”
支持ID
1-6, 12-25, 27-33, 35, 37-50, 53, 54, 56-58, 60-62, 65-67, 69, 70, 72, 73, 76-82, 84-91, 95, 97-103, 106-114, 116, 119-123, 125-131, 133-139, 143, 145-148, 151-165, 和 170-175
支持的文字ID:
acacia_stairs, activator_rail, anvil, beacon, birch_stairs, bookshelf, brick_block, brick_stairs, brown_mushroom, brown_mushroom_block, cactus, carpet, chest, clay, coal_block, coal_ore, cobblestone, cobblestone_wall, cocoa, command_block, crafting_table, dark_oak_stairs, daylight_detector, deadbush, detector_rail, diamond_block, diamond_ore, dirt, dispenser, double_plant, double_stone_slab, double_wooden_slab, dragon_egg, dropper, emerald_block, emerald_ore, enchanting_table, end_portal, end_portal_frame, end_stone, ender_chest, farmland, fence, fence_gate, furnace, glass, glass_pane, glowstone, gold_block, gold_ore, golden_rail, grass, gravel, hardened_clay, hay_block, heavy_weighted_pressure_plate, hopper, ice, iron_bars, iron_block, iron_ore, jukebox, jungle_stairs, ladder, lapis_block, lapis_ore, leaves, leaves2, lever, light_weighted_pressure_plate, lit_furnace, lit_pumpkin, log, log2, melon_block, monster_egg, mossy_cobblestone, mycelium, nether_brick, nether_brick_fence, nether_brick_stairs, netherrack, noteblock, oak_stairs, obsidian, packed_ice, piston, planks, portal, pumpkin, quartz_block, quartz_ore, quartz_stairs, rail, red_flower, red_mushroom, red_mushroom_block, redstone_block, redstone_lamp, redstone_ore, redstone_torch, sand, sandstone, sandstone_stairs, sapling, slime, snow, snow_layer, soul_sand, sponge, spruce_stairs, stained_glass, stained_glass_pane, stained_hardened_clay, sticky_piston, stone, stone_brick_stairs, stone_button, stone_pressure_plate, stone_slab, stone_stairs, stonebrick, tallgrass, tnt, torch, trapped_chest, tripwire_hook, vine, waterlily, web, wooden_button, wooden_pressure_plate, wooden_slab, wool, 和 yellow_flower
接下来的统计“杀死实体”和统计“被实体杀死”
都差不多,也不多说了······
stat.killEntity(统计.杀死实体)
支持实体
stat.killEntity.实体名
"Bat", "Blaze", "CaveSpider", "Chicken", "Cow", "Creeper", "Enderman", "EntityHorse", "Ghast", "LavaSlime", "MushroomCow", "Ozelot", "Pig", "PigZombie", "Sheep", "Silverfish", "Skeleton", "Slime", "Spider", "Squid", "Villager", "Witch", "Wolf", 和 "Zombie".
stat.entityKilledBy(统计.被实体杀死)
格式:stat.entityKilledBy.实体名
支持实体
"Bat", "Blaze", "CaveSpider", "Chicken", "Cow", "Creeper", "Enderman", "EntityHorse", "Ghast", "LavaSlime", "MushroomCow", "Ozelot", "Pig", "PigZombie", "Sheep", "Silverfish", "Skeleton", "Slime", "Spider", "Squid", "Villager", "Witch", "Wolf", 和 "Zombie".
好啦,完了,希望对你们有帮助
上节地址:http://www.mcbbs.net/thread-407065-1-1.html
下节地址:http://www.mcbbs.net/thread-407690-1-1.html
于是我看到的贴又是优秀。
好评+支持
钻石··~ 发表于 2015-2-12 11:32
于是我看到的贴又是优秀。
咋又是你0.0~~~~~~~~
LZ MCBBS有你更精彩
感谢大家支持,不懂可以问~
英语君已挂{:10_502:}
{:10_503:}好复杂。。。
看不懂
看不懂
看了一头雾水。。
22221 发表于 2015-2-22 21:13
看了一头雾水。。
看我签名档
↓↓↓↓↓↓↓↓↓↓
↓↓↓↓↓↓↓↓↓↓
↓↓↓↓↓↓↓↓↓↓
↓↓↓↓↓↓↓↓↓↓
↓↓↓↓↓↓↓↓↓↓
↓↓↓↓↓↓↓↓↓↓
wiki的表格要先复制到Excel里面再复制到帖子里就不会这么乱了
感觉好复杂…………
机翻差评
表格差评2333
探测记分板name小于10的玩家,有就输出(红石比较器)
小于等于
好多英文
还好看得懂
还好看得懂
我绝对看不懂
命令方块渣路过
+1
社会主义核心价值观
命令方块渣路过
+1
社会主义核心价值观
如何把计算击杀多种的实体算在一起,就比如击杀猪和牛都+1
您好,那个记分板统计使用物品可以只统计某个命了名的物品吗
我想这样,比如我要统计命名为“圣经”的书与笔的使用次数,右键圣经就在记分板+1分,那右键没命名的书与笔,记分板就不+1分
我想这样,比如我要统计命名为“圣经”的书与笔的使用次数,右键圣经就在记分板+1分,那右键没命名的书与笔,记分板就不+1分
楼主,用工具,例如锄头,斧头,铲子等攻击生物,算是使用么?
求助,如果是破坏任意方块分数+1怎么破
好评,顶帖,用处很大
我看完了还是有点迷迷糊糊的·qwq,是我的问题