飞翔的亀Tt
dpy0428 发表于 2022-5-29 18:10
进度2:100个触发器分别检测玩家分数=1至100

啊呸,说错了,是没这个触发器类型吧

dpy0428
本帖最后由 dpy0428 于 2022-5-31 10:25 编辑
飞翔的亀Tt 发表于 2022-5-29 19:09
啊呸,说错了,是没这个触发器类型吧

使用谓词
  1. "criteria": {
  2.         "1": {
  3.                 "trigger": "minecraft:player_killed_entity",
  4.                 "conditions": {
  5.                         "entity": {
  6.                                 "type": "minecraft:zombie",
  7.                                 "nbt": "{Tags:[\"test\"]}"
  8.                         },
  9.                         "player": [{
  10.                                 "condition": "minecraft:entity_scores",
  11.                                 "entity": "killer_player",
  12.                                 "scores": {
  13.                                         "testKill": {
  14.                                                 "min": 1
  15.                                         }
  16.                                 }
  17.                         }]
  18.                 }
  19.         },
  20.         "2": {
  21.                 "trigger": "minecraft:player_killed_entity",
  22.                 "conditions": {
  23.                         "entity": {
  24.                                 "type": "minecraft:zombie",
  25.                                 "nbt": "{Tags:[\"test\"]}"
  26.                         },
  27.                         "player": [{
  28.                                 "condition": "minecraft:entity_scores",
  29.                                 "entity": "killer_player",
  30.                                 "scores": {
  31.                                         "testKill": {
  32.                                                 "min": 2
  33.                                         }
  34.                                 }
  35.                         }]
  36.                 }
  37.         },
  38.         ...
  39. }
复制代码

testKill是计分板名字

另外,可以在计分大于100时不再取消进度1
@飞翔的亀Tt

1171266524
这个我不太清楚我哦都市一个一个杀的=-=233

qq1505533527
我以为进来会看到怎么教打海盗,没想到是教改计分板

第一页 上一页 下一页 最后一页