我的世界:地图检测右键2.0!可以用地图使用多种技能!

合集 · 指令教学 (5)

  1. 1:41
    我的世界:地图检测右键2.0!可以用地图使用多种技能!
  2. 0:40
    我的世界:4cb自定义盔甲架行走路线!
  3. 0:40
    我的世界:教你制作自定义实体移动炮台!
  4. 0:41
    我的世界:最少4cb给狼套上杀戮光环!
  5. 1:04
    ⚡ 我拿到teto的声库了 ⚡
Description
前置指令(聊天框输入即可)

防刷屏:

关闭(指令/聊天栏)提示

/gamerule commandblockoutput false

/gamerule sendcommandfeedback false

必要:

创建"检测技能"计分板

/scoreboard objectives add 检测技能 dummy

技能1 迅捷(重复 无条件 保持开启)

/execute as @a[hasitem={item=filled_map,location=slot.weapon.mainhand}] at @s if score @s 检测技能 matches 1..1 run effect @s speed 10 2 true

技能2 力量(连锁 无条件 保持开启)

/execute as @a[hasitem={item=filled_map,location=slot.weapon.mainhand}] at @s if score @s 检测技能 matches 2..2 run effect @s strength 10 1 true

技能3 恢复(连锁 无条件 保持开启)

/execute as @a[hasitem={item=filled_map,location=slot.weapon.mainhand}] at @s if score @s 检测技能 matches 3..3 run effect @s regeneration 10 1 true

技能4 抗性(连锁 无条件 保持开启)

/execute as @a[hasitem={item=filled_map,location=slot.weapon.mainhand}] at @s if score @s 检测技能 matches 4..4 run effect @s resistance 10 1 true

将地图替换为屏障(连锁 无条件 保持开启)

/execute as @a[hasitem={item=filled_map,location=slot.weapon.mainhand}] at @s run replaceitem entity @s slot.weapon.mainhand 0 barrier 1 0 {"minecraft:item_lock":{"mode":"lock_in_slot"}}

迅捷(重复 无条件 保持开启)

scoreboard players set @a[hasitem={item=empty_map,location=slot.weapon.mainhand,data=5}] 检测技能 1

力量(连锁 无条件 保持开启)

scoreboard players set @a[hasitem={item=empty_map,location=slot.weapon.mainhand,data=7}] 检测技能 2

恢复(连锁 无条件 保持开启)

scoreboard players set @a[hasitem={item=empty_map,location=slot.weapon.mainhand,data=9}] 检测技能 3

抗性(连锁 无条件 保持开启)

scoreboard players set @a[hasitem={item=empty_map,location=slot.weapon.mainhand,data=11}] 检测技能 4

T显(连锁 无条件 保持开启)

/execute as @a[hasitem={item=empty_map,location=slot.weapon.mainhand}] run titleraw @s actionbar {"rawtext":[{"translate":"%%5","with":{"rawtext":[{"selector":"@s[scores={检测技能=..1}]"},{"selector":"@s[scores={检测技能=..2}]"},{"selector":"@s[scores={检测技能=..3}]"},{"selector":"@s[scores={检测技能=..4}]"},{"text":"§r§f[§a技能§f]§b§l 迅捷"},{"text":"§r§f[§a技能§f]§b§l 力量"},{"text":"§r§f[§a技能§f]§b§l 恢复"},{"text":"§r§f[§a技能§f]§b§l 抗性"}]}}]}

Comments

墨水麻花 2024-02-04

[热词系列_三连]这不得奖励一下我[傲娇][傲娇]

♥ 3 ↩ 2

小纸lp 2024-02-05

你有实测过吗,我之前想到了这个思路但是对玩家右键无法展开地图,后来用了雪球+keep的检测

♥ 2 ↩ 2

Ceramic_Pot 2024-02-04

同款血条材质包

♥ 1

考拉在吃饭 2024-02-04

还能检测右键了OAO

♥ 1 ↩ 2

账号已注销 2024-02-22

《空白地图》[doge]