国产精品天干天干,亚洲毛片在线,日韩gay小鲜肉啪啪18禁,女同Gay自慰喷水

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

【我的世界】售賣與回收的商店

2023-06-09 20:55 作者:還沒想好取什么名2  | 我要投稿

本視頻是免窮舉商店指令的教學(xué),非首發(fā)。

-無需每個售賣點窮舉三四個命令塊,只需要

設(shè)置價格和放置商品就可

-對比普通的商店,無需查物品的英文id

-不會吞幣,有顯示和音效

-回收商店是半免舉


一、商店

聊天欄輸入:

/scoreboard objectives add 價格 dummy

/scoreboard objectives add 金幣2 dummy

/scoreboard objectives add 金幣 dummy

指令區(qū):

①execute @a ~~~ scoreboard players operation @s 金幣2 = @s 金幣

②execute @a[scores={價格=1..}] ~~~ scoreboard players operation @s 金幣2 -= @s 價格

③title @a[scores={金幣2=..-1,價格=0..}] title §l§c金幣不足!

④title @a[scores={金幣2=0..,價格=0..}] title §l§a購買成功?

⑤execute @a[scores={金幣2=0..,價格=0..}] ~~~ scoreboard players operation @s 金幣 -= @s 價格

⑥execute @a[scores={金幣2=0..,價格=0..}] ~~~ clone ~~-3~ ~~-3~ ~~2~

⑦execute @a[scores={金幣2=0..,價格=0..}] ~~~ setblock ~~2~ air 0 destroy

⑧kill @e[type=item,name="木桶"]

⑨execute @a[scores={金幣2=0..,價格=0..}] ~~~ title @s subtitle §d @e[type=item,dy=2,c=1] §f已放入您的背包

⑩execute @a[scores={金幣2=0..,價格=0..}] ~~~ playsound random.levelup @s

?scoreboard players reset @a 價格

售賣點處:

scoreboard players set @p[dy=2] 價格 數(shù)字


二、回收

聊天欄:/scoreboard objectives add 回收 dummy

指令區(qū):

①execute @a[scores={回收=1..}] ~~~ title @s title §l§c回收失敗

②execute @a[scores={回收=1..}] ~~~ testforblocks ~~-1~ ~~-1~ ~~-3~

③execute @a[scores={回收=1..}] ~~~ scoreboard players operation @s 金幣 += @s 回收

④execute @a[scores={回收=1..}] ~~~ title @s title §l§a回收成功?

⑤execute @a[scores={回收=1..}] ~~~ playsound random.levelup @s

⑥execute @a[scores={回收=1..}] ~~~ setblock ~~-1~ barrel 1

⑦scoreboard players reset @a 回收

回收點處的指令:

scoreboard players set @p[dy=2] 回收 數(shù)字


?注意命令塊的有無條件和箭頭方向

?給指令區(qū)設(shè)置常加載區(qū)域



【我的世界】售賣與回收的商店的評論 (共 條)

分享到微博請遵守國家法律
郁南县| 长武县| 溆浦县| 独山县| 班戈县| 余庆县| 宜良县| 民丰县| 深州市| 昌黎县| 祁门县| 南开区| 乐业县| 唐海县| 富宁县| 玛沁县| 平安县| 紫阳县| 石嘴山市| 五家渠市| 永德县| 南澳县| 凤凰县| 神农架林区| 泾川县| 藁城市| 红原县| 芜湖县| 互助| 遂平县| 肃南| 若羌县| 常熟市| 西吉县| 卓尼县| 监利县| 襄樊市| 远安县| 上虞市| 曲周县| 应用必备|