Execute @a[tag=yellowflowertest,scores={JC2=0}] ~~~ kill @e[r=1.5,type=item,name="蒲公英"]Execute @a[tag=yellowflowertest,scores={JC2=1..19}] ~~~ kill @e[r=1.5,type=item,name="蒲公英"]Execute @e[type=item,name="蒲公英"] ~~~ execute @a[r=1.45,tag=yellowflowertest,scores={JC2=1..19}] ~ ~ ~ tellraw @s {"rawtext":[{"text":"§l《§cError:Don't in ways to set spawnpoint"}]}execute @a[tag=yellowflowertest,scores={JC2=1..19}] ~ ~ ~ tellraw @s {"rawtext":[{"text":"§l《§cError:Don't in ways to set spawnpoint"}]}scoreboard players operation @p[tag=yellowflowertest,scores={JC=20},r=1.35] JCexecute @e[r=1.25,name="蒲公英",type=item] ~~~ scoreboard players operation @p[tag=yellowflowertest,scores={JC=20},r=1.35] JC-= @r[r=2,tag=yellowflowertest,scores={JC=1..19}] JCExecute @a[tag=yellowflowertest] ~~~ detect ~~~ yellow_flower 0 execute @e[r=1.25,name="蒲公英",type=item] ~~~ Scoreboard players set @p[r=1.25,tag=yellowflowertest] JC 20execute @e[r=1.25,name="蒲公英",type=item] ~~~ scoreboard players operation @p[tag=yellowflowertest,scores={JC=20},r=1.35] JC-= @r[r=2,tag=yellowflowertest,scores={JC=1..20}] JCScoreboard players set @a[tag=yellowflowertest,tag=spawnpoint] JC 20Execute @a[tag=yellowflowertest] ~~~ detect ~~~ yellow_flower 0 execute @e[r=1.25,name="蒲公英",type=item] ~~~ tag @p[tag=yellowflowertest] add spawnpoint/replaceitem entity @a
网页链接 4 yellow_flower/scoreboard players random @a[scores={JC=0}] JC 1 20/kill @e[type=item,name="蒲公英",scores={JC2=2..}]Execute @e[name="蒲公英",type=item] ~~~ scoreboard players set @r[r=1.25,tag=yellowflowertest] JC 1Execute @e[type=item,name=yellow_flower] ~~~ execute @p[r=1.25,tag=yellowflowertest] ~~~ detect ~~~ yellow_flower 0/scoreboard players operation @e[type=armor_stand,scores={noplayeruid=0},tag=yellowflower] noplayeruid=@s uid/scoreboard players operation @a yinguid= @r[scores={uid=0}] uid