五月天青色头像情侣网名,国产亚洲av片在线观看18女人,黑人巨茎大战俄罗斯美女,扒下她的小内裤打屁股

歡迎光臨散文網(wǎng) 會員登陸 & 注冊

指令教程[第二期]簡單的防飛裝置

2020-04-24 18:22 作者:第七航線  | 我要投稿

本期介紹的防飛裝置誤判比較小,當(dāng)然比不起幾百條的function函數(shù)包。本裝置原理:檢測腳下三格和腳下周圍九宮格是否為空氣。

(記分板scoreboard等以后再詳細(xì)講解)

首先,在對話框輸入:

/scoreboard objectives?add 計(jì)時 1 dummy

/scoreboard objectives add 計(jì)時2 dummy

/scoreboard objectives add 飛行檢測 dummy

接下來就是進(jìn)行計(jì)時

從右到左依次為①②③④⑤⑥

①循環(huán)

/scoreboard players add 計(jì)時器 計(jì)時1?

②連鎖

/scoreboard players add 計(jì)時器 計(jì)時1 20 20

③連鎖、有條件的

/scoreboard players set 計(jì)時器 計(jì)時1 0

④連鎖、有條件的

/scoreboard players add @a[scores={飛行檢測=1..}] 計(jì)時2 1

⑤連鎖

/scoreboard?players?set @a[scores={飛行檢測=10..}] 飛行檢測?0

⑥連鎖

/execute @a?~~~ detect ~~-1~ air 0 execute @s ~~~ detect ~1~-1~ air 0 execute @s ~~~ detect ~-1~-1~ air 0 execute @s ~~~ detect ~-1~-1~1 air 0 execute @s ~~~ detect ~~-1~1 air 0 execute @s ~~~ detect ~1~-1~1 air 0 execute @s ~~~ detect ~-1~-1~-1 air 0 execute @s ~~~ detect ~~-1~-1 air 0 execute @s ~~~ detect ~1~-1~-1 air 0 execute @s ~~~ detect ~~-2~ air 0 scoreboard players add @s 飛行檢測 1

檢測完就可以驅(qū)逐掛啦!可以msg @e卡退,也可以末地傳送等等。這里介紹一下msg卡退。

①循環(huán)

/tag @a[scores={飛行檢測=200}] add 掛

②循環(huán)

/testfor @a[tag=掛]

③循環(huán)、紅石控制、延遲40

這里需要一個比較器連接,注意方向。

/say §c@a[tag=掛]§b可能為掛,即將進(jìn)行驅(qū)逐!

從右到左依次是②③


④循環(huán)

手機(jī)性能好不一定卡退,其他人可能也會輕微卡頓。

msg@a[tag=掛]§1@e§2@e§3@e§4@e§5@e§6@e§7@e§8@e§9@e§1@e§2@e§3@e§4@e§5@e§6@e§7@e§8@e§9@e§1@e§2@e§3@e§4@e§5@e§6@e§7@e§8@e@a§9@e§1@e§2@e§3@e§4@e§5@e§6@e§7@e§8@e§9@e

那么鞘翅玩家如何進(jìn)行保護(hù)呢?

①循環(huán)

/tag @a[tag=保護(hù)] add 檢測

②連鎖

/clear @a[tag=檢測] elytra 0 0

③連鎖、有條件的

/scoreboard players set @a[tag=檢測] 飛行檢測 0

④連鎖?

/tag @a remove 檢測

注:1.所有命令方塊,未注明則默認(rèn)為無條件的,保持開啟!

2.創(chuàng)造玩家請裝配鞘翅,或者加標(biāo)簽

/tag 玩家昵稱 add 創(chuàng)造

循環(huán)/scoreboard players set @a[tag=創(chuàng)造] 飛行檢測 0

3.命令方塊中“/”可不加,對話框中必須加;

4.具體指令后期會進(jìn)行詳細(xì)講解。

本期教程就到這里啦!有什么不足還請指出。歡迎私信或加入群聊!

指令教程[第二期]簡單的防飛裝置的評論 (共 條)

分享到微博請遵守國家法律
山东省| 绿春县| 太仆寺旗| 许昌市| 永福县| 阳新县| 竹北市| 肥乡县| 三原县| 漳平市| 鄂托克前旗| 会昌县| 盖州市| 山丹县| 宜良县| 乌拉特前旗| 金乡县| 呼伦贝尔市| 东乌珠穆沁旗| 大冶市| 定结县| 乐陵市| 迁安市| 蒲江县| 通化县| 林周县| 东海县| 德江县| 江源县| 即墨市| 大厂| 高青县| 宣恩县| 治多县| 上饶县| 马关县| 阳曲县| 松溪县| 大田县| 永兴县| 旬邑县|