最美情侣中文字幕电影,在线麻豆精品传媒,在线网站高清黄,久久黄色视频

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

我的世界抽獎(jiǎng)機(jī)功能教學(xué)

2023-07-07 19:09 作者:能歌擅武  | 我要投稿

酷炫抽獎(jiǎng)機(jī)功能模板

[2個(gè)積分板]

/scoreboard objectives add 抽獎(jiǎng) dummy

/scoreboard objectives add 金幣 dummy


[生成盔甲架與運(yùn)輸?shù)V車(chē)兩個(gè)實(shí)體]

/summon chest_minecart ~~~

/summon armor_stand ~~~


[給予運(yùn)輸?shù)V車(chē)與盔甲架抽獎(jiǎng)積分]

/scoreboard players set @e[type=chest_minecart] 抽獎(jiǎng) 0


/scoreboard players set @e[type=armor_stand] 抽獎(jiǎng) 0


[玩家操作部分]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=0}] ~~~ scoreboard players set @p[scores={金幣=100..},x=●,y=●,z=●,r=2] 抽獎(jiǎng) 1


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=0}] ~~~ scoreboard players set @p[scores={金幣=200..},x=●,y=●,z=●,r=2] 抽獎(jiǎng) 2


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=0}] ~~~ scoreboard players set @p[scores={金幣=300..},x=●,y=●,z=●,r=2] 抽獎(jiǎng) 3


[動(dòng)畫(huà)效果與功能部分]?

execute @a[scores={抽獎(jiǎng)=1}] ~~~ scoreboard players remove @s 金幣 100


execute @a[scores={抽獎(jiǎng)=2}] ~~~ scoreboard players remove @s 金幣 200


execute @a[scores={抽獎(jiǎng)=3}] ~~~ scoreboard players remove @s 金幣 300


execute @a[scores={抽獎(jiǎng)=1..}] ~~~ scoreboard players add @e[type=chest_minecart,scores={抽獎(jiǎng)=0}] 抽獎(jiǎng) 240


execute @a[scores={抽獎(jiǎng)=1..}] ~~~ scoreboard players add @e[type=armor_stand,scores={抽獎(jiǎng)=0}] 抽獎(jiǎng) 240


scoreboard players remove @e[type=chest_minecart,scores={抽獎(jiǎng)=1..}] 抽獎(jiǎng) 1


scoreboard players remove @e[type=armor_stand,scores={抽獎(jiǎng)=1..}] 抽獎(jiǎng) 1


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=0}] ~ ~ ~ tp @s <坐標(biāo)> ~6


execute @e[type=armor_stand,scores={抽獎(jiǎng)=0}] ~ ~ ~ tp @s <坐標(biāo)> ~6


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1..}] ~ ~ ~ tp @s <坐標(biāo)> ~30


execute @e[type=armor_stand,scores={抽獎(jiǎng)=1..}] ~ ~ ~ tp @s <坐標(biāo)>


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1..}] ~ ~ ~ particle minecraft:totem_manual


execute @e[type=armor_stand,scores={抽獎(jiǎng)=0}] ~ ~ ~ particle minecraft:totem_manual


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=235..240}] ~ ~ ~ particle minecraft:knockback_roar_particle


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=239}] ~ ~ ~ playsound chime.amethyst_block @a[r=20]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=239}] ~ ~ ~ playsound beacon.activate @a[r=20]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=239}] ~ ~ ~ playsound firework.launch @a[r=20]


execute @a[scores={抽獎(jiǎng)=1}] ~~~ structure load "B物品" <坐標(biāo)>


execute @a[scores={抽獎(jiǎng)=2}] ~~~ structure load "A物品" <坐標(biāo)>


execute @a[scores={抽獎(jiǎng)=3}] ~~~ structure load "S物品" <坐標(biāo)>


execute @a[scores={抽獎(jiǎng)=1..}] ~~~ scoreboard players set @s 抽獎(jiǎng) -1


setblock <坐標(biāo)> air 0 destroy


kill @e[x=●,y=●,z=●,r=2,name="箱子"type=item]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=200}] ~ ~ ~ scoreboard players set @e[type=item,x=●,y=●,z=●,dx=●,dy=●,dz=●,c=1] 抽獎(jiǎng) 1


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=170}] ~ ~ ~ tp @e[type=item,scores={抽獎(jiǎng)=1}] ~~3~


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=170}] ~ ~ ~ tellraw @p[scores={抽獎(jiǎng)=-1}] {"rawtext":[{"text":"§b1§7/3§f抽到了§d"},{"selector":"@e[scores={抽獎(jiǎng)=1}]"}]}


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=160}] ~ ~ ~ fill <坐標(biāo)> <坐標(biāo)> beacon


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=160}] ~ ~ ~ playsound block.end_portal_frame.fill @a[r=20]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1..160}] ~ ~ ~ tp @e[type=item,scores={抽獎(jiǎng)=1}] <坐標(biāo)>


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=140}] ~ ~ ~ playsound firework.launch @a[r=20]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=140}] ~ ~ ~ particle minecraft:knockback_roar_particle


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=140}] ~ ~ ~ scoreboard players set @e[type=item,x=●,y=●,z=●,dx=●,dy=●,dz=●,c=1] 抽獎(jiǎng) 2


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=110}] ~ ~ ~ tp @e[type=item,scores={抽獎(jiǎng)=2}] ~~3~


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=110}] ~ ~ ~ tellraw @p[scores={抽獎(jiǎng)=-1}] {"rawtext":[{"text":"§b2§7/3§f抽到了§d"},{"selector":"@e[scores={抽獎(jiǎng)=2}]"}]}


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=100}] ~ ~ ~ fill <坐標(biāo)> <坐標(biāo)> beacon


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=100}] ~ ~ ~ playsound block.end_portal_frame.fill @a[r=20]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1..100}] ~ ~ ~ tp @e[type=item,scores={抽獎(jiǎng)=2}] <坐標(biāo)>


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=80}] ~ ~ ~ playsound firework.launch @a[r=20]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=80}] ~ ~ ~ particle minecraft:knockback_roar_particle


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=60}] ~ ~ ~ scoreboard players set @e[type=item,x=●,y=●,z=●,dx=●,dy=●,dz=●,c=1] 抽獎(jiǎng) 3


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=30}] ~ ~ ~ tp @e[type=item,scores={抽獎(jiǎng)=3}] ~~3~


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=30}] ~ ~ ~ tellraw @p[scores={抽獎(jiǎng)=-1}] {"rawtext":[{"text":"§b3§7/3§f抽到了§d"},{"selector":"@e[scores={抽獎(jiǎng)=3}]"}]}


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=20}] ~ ~ ~ fill <坐標(biāo)> <坐標(biāo)> beacon


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=20}] ~ ~ ~ playsound block.end_portal_frame.fill @a[r=20]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1..20}] ~ ~ ~ tp @e[type=item,scores={抽獎(jiǎng)=3}] <坐標(biāo)>


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1}] ~ ~ ~ tp @e[type=item,scores={抽獎(jiǎng)=1..3}] @p[scores={抽獎(jiǎng)=-1}]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1}] ~ ~ ~ kill @e[type=item,x=●,y=●,z=●,dx=●,dy=●,dz=●]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1}] ~ ~ ~ fill <坐標(biāo)> <坐標(biāo)> stained_glass 7


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1}] ~ ~ ~ fill <坐標(biāo)> <坐標(biāo)> stained_glass 7


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1}] ~ ~ ~ fill <坐標(biāo)> <坐標(biāo)> stained_glass 7


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1}] ~ ~ ~ playsound beacon.deactivate @a[r=20]


execute @e[type=chest_minecart,scores={抽獎(jiǎng)=1}] ~ ~ ~ scoreboard players set @a[scores={抽獎(jiǎng)=-1}] 抽獎(jiǎng) 0

我的世界抽獎(jiǎng)機(jī)功能教學(xué)的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
吴川市| 上饶县| 阳城县| 新乡市| 乌兰浩特市| 阆中市| 西青区| 利川市| 德清县| 木里| 高邮市| 花莲市| 买车| 葵青区| 池州市| 政和县| 西昌市| 浑源县| 丹棱县| 徐州市| 聂荣县| 山东省| 绩溪县| 广平县| 屯昌县| 牙克石市| 丰镇市| 龙川县| 无极县| 皋兰县| 白朗县| 监利县| 邯郸县| 武安市| 木里| 扶风县| 垣曲县| 遂宁市| 皋兰县| 天全县| 青田县|