MCBE,偽縮放,可調(diào)視角大小,瞄準(zhǔn)鏡變換倍率,指令展示2.0
排列展示


以下列數(shù)均為從右向左

第一列
execute @a[hasitem={item=slime_ball,location=slot.weapon.mainhand},scores={mode=-1}]~~~ scoreboard players set @s mode 0

第二列
execute @a[hasitem={item=stick,location=slot.weapon.mainhand},scores={mode=0..}]~~~ scoreboard players set @s mode 1
execute @a[hasitem={item=stick,location=slot.weapon.mainhand},scores={mode=1}]~~~ tag @s remove lock2
effect @a[scores={mode=1},tag=!lock1] clear
effect @a[scores={mode=1},tag=!lock1] speed 999 3 true
effect @a[scores={mode=1},tag=!lock1] slowness 999 5 true
execute @a[hasitem={item=stick,location=slot.weapon.mainhand},scores={mode=1}]~~~ tag @s add lock1

第三列
execute @a[hasitem={item=blaze_rod,location=slot.weapon.mainhand},scores={mode=0..}]~~~ scoreboard players set @s mode 2
execute @a[hasitem={item=stick,location=slot.weapon.mainhand},scores={mode=2}]~~~ tag @s remove lock1
effect @a[scores={mode=2},tag=!lock2] clear
effect @a[scores={mode=2},tag=!lock2] speed 999 20 true
effect @a[scores={mode=2},tag=!lock2] slowness 999 10 true
execute @a[hasitem={item=stick,location=slot.weapon.mainhand},scores={mode=2}]~~~ tag @s add lock2

第四列
execute @a[hasitem={item=barrier,location=slot.weapon.mainhand}]~~~ scoreboard players set @s mode -1
execute @a[hasitem={item=air,location=slot.weapon.mainhand,slot=0},scores={mode=-1}]~~~ replaceitem entity @s slot.hotbar 6 slime_ball 1 0 {"minecraft:item_lock":{"mode":"lock_in_slot"}}
execute @a[scores={mode=-1}]~~~ effect @s clear
execute @a[scores={mode=-1}]~~~ tag @s remove lock1
execute @a[scores={mode=-1}]~~~ tag @s remove lock2

注:
1.緩慢等級(jí)可調(diào),速度可調(diào)也可取消
2.請(qǐng)打開從設(shè)置打開fov,不然無效
3.計(jì)分板預(yù)先創(chuàng)建名稱為mode,并且設(shè)置玩家分?jǐn)?shù)為1
4.屏障和粘液球可以更改NBT標(biāo)簽,把mode改為lock_in_inventory,可以自定義打開、關(guān)閉、高倍、低倍的切換位置。