小电解说 发表于 2018-11-7 20:43:04

圈地原版命令方块系统主城外随意任何地方圈地1.11~1.12(需入服统计)

本帖最后由 小电解说 于 2018-11-18 20:26 编辑


大家好我是小电君我们又见面了现在至今为止我都没发现有人做出随地圈地系统
今天我要给大家带来我一个月的成果
可自选位置的圈地系统
注:这次工程量较多费脑子,转载时请注明“小电君出版”如发现未注明者则会申诉收回他的论坛
思想:首先我们要是随地取地皮那么肯定得要有个生物让那个生物的附近进入保护范围,但要是直接召唤盔甲架对于玩家不太方便,我就打算用怪物蛋来实现召唤,让召唤出来的怪物带标签,用命令方块检测到这个动物时召唤有标签的盔甲架,并且将一个虚拟玩家dpID的分数加1并且让召唤的盔甲架与附近最近的玩家的分数为同等,这样可以做到同数字的计分板,那么后面就简单了,将进入地皮范围内的玩家,检测ID=地皮ID,再用检测ID-最近盔甲架的地皮ID,是否等于0要为0贼同等可以进入,要小或大于0贼分数不相同把他踢出地皮,当然我还实现了共享机制,会将共享ID分数与检测ID穷举4个比大小,检测共享地皮用gdpID2,检测地皮ID用dpID2表示,最后就是共享,用计分板进行同意拒绝,同意,则将被共享者gdpID=地皮主人的dpID,这样就形成了方法,但共享地皮的同意拒绝是用目标传送一样的道理所以要用到入服统计.撤地皮就是检测附近盔甲架的dpID是否等于那个撤地皮玩家的人,是就执行撤地皮方法.

提示:设地皮输入/trigger dipi set 1,撤地皮输入/trigger dipi set 2,设家回家回死亡点请了解@翔翼之刃http://mc.netease.com/thread-77725-1-1.html



大家好我是小电君我们又见面了现在至今为止我都没发现有人做出随地圈地系统
今天我要给大家带来我一个月的成果
可自选位置的圈地系统
注:这次工程量较多费脑子,转载时请注明“小电君出版”如发现未注明者则会申诉收回他的论坛
思想:首先我们要是随地取地皮那么肯定得要有个生物让那个生物的附近进入保护范围,但要是直接召唤盔甲架对于玩家不太方便,我就打算用怪物蛋来实现召唤,让召唤出来的怪物带标签,用命令方块检测到这个动物时召唤有标签的盔甲架,并且将一个虚拟玩家dpID的分数加1并且让召唤的盔甲架与附近最近的玩家的分数为同等,这样可以做到同数字的计分板,那么后面就简单了,将进入地皮范围内的玩家,检测ID=地皮ID,再用检测ID-最近盔甲架的地皮ID,是否等于0要为0贼同等可以进入,要小或大于0贼分数不相同把他踢出地皮,小电解说制作若非他制作贼为盗版,当然我还实现了共享机制,会将共享ID分数与检测ID穷举4个比大小,检测共享地皮用gdpID2,检测地皮ID用dpID2表示,最后就是共享,用计分板进行同意拒绝,同意,则将被共享者gdpID=地皮主人的dpID,这样就形成了方法,但共享地皮的同意拒绝是用目标传送一样的道理所以要用到入服统计.撤地皮就是检测附近盔甲架的dpID是否等于那个撤地皮玩家的人,是就执行撤地皮方法.

提示:设地皮输入/trigger dipi set 1,撤地皮输入/trigger dipi set 2,设家回家回死亡点请了解@翔翼之刃http://mc.netease.com/thread-77725-1-1.html



关于作者:
小电君的租赁服:XD生存服
小电君的QQ:2775834623
小电君的优酷视频:http://i.youku.com/i/UMjkzMjYwOTk4MA==?spm=a2hww.11359951.uerCenter.5!6~5!2~A
小电君的头条视频:https://www.toutiao.com/c/user/72095376682/#mid=1606675019159559
请多多支持我哦


指令环节:

初始化:


scoreboard objectives add dipi trigger


scoreboard objectives add gdp trigger


scoreboard objectives add gdp3 trigger


scoreboard objectives add gdptrue dummy


scoreboard objectives add dpID dummy


scoreboard objectives add gdp2 dummy


scoreboard objectives add gdpID dummy


scoreboard objectives add gdpID2 dummy


scoreboard objectives add dp2 dummy



创造地皮:


execute @a ~ ~ ~ tellraw @a {"text":"您已经放置过地皮把机会留给别人吧","color":"gold"}


execute @a ~ ~ ~ give @a minecraft:spawn_egg 1 0 {EntityTag:{id:"minecraft:bat",CanPickUpLoot:false,Tags:["dp"]}}


execute @a ~ ~ ~ tellraw @a {"text":"请放出该怪物蛋为地皮中心往半径10格扩展,注:并且在其他玩家地皮旁边则会消除怪物蛋,温馨提示:回地皮可以输入trigger home.tg set 1,或者点传送书里的回家","color":"green"}


scoreboard players set @a dipi 0


clear @a minecraft:spawn_egg 0 1 {EntityTag:{id:"minecraft:bat",CanPickUpLoot:false,Tags:["dp"]}}


execute @e ~ ~ ~ clear @a minecraft:spawn_egg 0 1 {EntityTag:{id:"minecraft:bat",CanPickUpLoot:false,Tags:["dp"]}}


scoreboard players enable @a gdp


execute @e ~ ~ ~ summon minecraft:armor_stand ~ ~1 ~ {Invulnerable:true,NoAI:true,NoGravity:true,CanPickUpLoot:false,Tags:["dpID"],Invisible:true}


execute @e ~ ~ ~ scoreboard players tag @p add zdp


execute @e ~ ~ ~ scoreboard players add dpID dpID 1


execute @a ~ ~ ~ scoreboard players operation @e dpID = dpID dpID


execute @a ~ ~ ~ scoreboard players operation @p dpID = @e dpID


execute @e ~ ~ ~ execute @e ~ ~ ~ fill ~-20 ~-1 ~20 ~20 ~-1 ~-20 minecraft:stone_slab 0 replace minecraft:air


execute @e ~ ~ ~ execute @e ~ ~ ~ fill ~-19 ~-1 ~19 ~19 ~-1 ~-19 minecraft:air 0 replace minecraft:stone_slab


execute @e ~ ~ ~ scoreboard players tag @a add ldp


scoreboard players tag @a remove zdp


execute @e ~ ~ ~ tellraw @p {"text":"温馨提示:请勿把您的箱子放在地皮边缘,否则熊孩子可以获取您箱子里的物品\n输入trigger gdp set (玩家编号) 即可共享地皮,要是给有地皮的玩家共享地皮,那么那个玩家的地皮会变成无人地皮","color":"yellow"}


execute @e ~ ~ ~ scoreboard players set @p sethome.tg 1


kill @e


scoreboard players add @a dpID 0


scoreboard players add @a gdpID 0



检测地皮附近人以及地皮保护:



execute @e ~ ~ ~ execute @a ~ ~ ~ scoreboard players tag @p add dp2

execute @a ~ ~ ~ scoreboard players operation @a dp2 = @a dpID

execute @a ~ ~ ~ scoreboard players operation @a dp2 -= @e dpID

execute @a ~ ~ ~ scoreboard players operation @a gdpID2 = @a gdpID

execute @a ~ ~ ~ scoreboard players operation @a gdpID2 -= @e dpID

tp @a ~-30 ~ ~

tp @a ~-30 ~ ~

tp @a ~-30 ~ ~

tp @a ~-30 ~ ~

gamemode 0 @a

gamemode 0 @a

scoreboard players tag @a remove dp2

scoreboard players reset * dp2

scoreboard players reset * gdpID2

scoreboard players enable @a dipi


撤地皮:


execute @a ~ ~ ~ tellraw @a {"text":"您当前没有地皮!","color":"red"}

execute @a ~ ~ ~ tellraw @a {"text":"请让您在您的地皮旁,否则无效","color":"green"}

execute @a ~ ~ ~ scoreboard players operation @e dp2 = @e dpID

execute @a ~ ~ ~ scoreboard players operation @e dp2 -= @a dpID

execute @e ~ ~ ~ tellraw @a {"text":"已经消除地皮,要是有重要物品没带走请赶快带走","color":"green"}

execute @e ~ ~ ~ execute @a ~ ~ ~ scoreboard players tag @a remove ldp

execute @e ~ ~ ~ fill ~-20 ~-1 ~20 ~20 ~-1 ~-20 minecraft:air 0 replace minecraft:stone_slab 0

execute @e ~ ~ ~ kill @e

scoreboard players set @a dipi 0



共享地皮:


execute @a ~ ~ ~ execute @a ~ ~ ~ scoreboard players operation @p gdp2 = @p 入服统计


execute @a ~ ~ ~ scoreboard players operation @a gdp2 -= @a gdp


execute @a ~ ~ ~ tellraw @a ["",{"selector":"@a"},{"text":"想让你与他共享地皮,是否同意","color":"green"},{"text":"\n同意","underlined":true,"color":"green","clickEvent":{"action":"run_command","value":"/trigger gdp3 set 1"}},{"text":"    "},{"text":"拒绝","underlined":true,"color":"red","clickEvent":{"action":"run_command","value":"/trigger gdp3 set 2"}}]


execute @a ~ ~ ~ scoreboard players set @a gdptrue 1


execute @a ~ ~ ~ scoreboard players set @a gdptrue 2


scoreboard players enable @a gdp3


scoreboard players reset @a gdp


scoreboard players reset @a gdp2


execute @a ~ ~ ~ tellraw @a {"text":"地皮共享已成功","color":"green"}


execute @a ~ ~ ~ scoreboard players operation @a gdpID = @a dpID

execute @a ~ ~ ~ scoreboard players reset @a gdp3


execute @a ~ ~ ~ scoreboard players reset @a gdptrue


execute @a ~ ~ ~ tellraw @a {"text":"对方没有同意你的邀请,并向你扔了一只渣","color":"red"}


execute @a ~ ~ ~ scoreboard players reset @a gdp3


execute @a ~ ~ ~ scoreboard players reset @a gdptrue
由小电解说制作若非小电解说制作贼为盗版


接下来也是你们最为期待的东西了吧,直接复制放到命令方块里就行了一键生成ooc/summon falling_block ~ ~1.5 ~ {Time:1,Block:"minecraft:redstone_block",Motion:,Passengers:[{id:falling_block,Time:1,Block:"minecraft:activator_rail",Passengers:[{id:commandblock_minecart,Command:"blockdata ~ ~-2 ~ {auto:0b,Command:\"\"}"},{id:commandblock_minecart,Command:"fill ~1 ~-1 ~0 ~7 ~1 ~6 stained_glass 0 hollow"},{id:commandblock_minecart,Command:"fill ~1 ~-2 ~0 ~7 ~-2 ~6 quartz_block 0 hollow"},{id:commandblock_minecart,Command:"fill ~1 ~2 ~0 ~7 ~2 ~6 quartz_block 0 hollow"},{id:commandblock_minecart,Command:"setblock ~2 ~1 ~4 chain_command_block 3 replace {Command:\"tellraw @a [{\\\"text\\\":\\\"感谢使用小电君的原版服务器xx系统\\\",\\\"color\\\":\\\"aqua\\\",\\\"bold\\\":\\\"true\\\"},{\\\"text\\\":\\\"想了解更多请点此处\\\",\\\"color\\\":\\\"red\\\",\\\"underlined\\\":\\\"true\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://xiao3dian4jun1shou3ye4.godaddysites.com\\\"}},{\\\"text\\\":\\\"前往小电君头条频道点击此处\\\",\\\"color\\\":\\\"gold\\\",\\\"underlined\\\":\\\"true\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"open_url\\\",\\\"value\\\":\\\"https://www.toutiao.com/c/user/72095376682/#mid=1606675019159559\\\"}}]\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~1 ~4 chain_command_block 4 replace {Command:\"scoreboard objectives add dp2 dummy\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~1 ~4 chain_command_block 4 replace {Command:\"scoreboard objectives add gdpID2 dummy\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~1 ~4 chain_command_block 4 replace {Command:\"scoreboard objectives add gdpID dummy\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~1 ~4 chain_command_block 4 replace {Command:\"scoreboard objectives add gdp2 dummy\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~1 ~3 chain_command_block 3 replace {Command:\"scoreboard objectives add dpID dummy\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~1 ~3 chain_command_block 5 replace {Command:\"scoreboard objectives add gdptrue dummy\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~1 ~3 chain_command_block 5 replace {Command:\"scoreboard objectives add gdp3 trigger\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~1 ~3 chain_command_block 5 replace {Command:\"scoreboard objectives add gdp trigger\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~1 ~3 command_block 5 replace {Command:\"scoreboard objectives add dipi trigger\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~1 ~2 chain_command_block 3 replace {Command:\"execute @a ~ ~ ~ scoreboard players reset @a gdptrue\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~1 ~2 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ scoreboard players reset @a gdp3\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~1 ~2 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ tellraw @a {\\\"text\\\":\\\"对方没有同意你的邀请,并向你扔了一只渣\\\",\\\"color\\\":\\\"red\\\"}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~1 ~2 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ scoreboard players reset @a gdptrue\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~1 ~2 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ scoreboard players reset @a gdp3\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~1 ~1 chain_command_block 3 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @a gdpID = @a dpID\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~1 ~1 chain_command_block 5 replace {Command:\"execute @a ~ ~ ~ tellraw @a {\\\"text\\\":\\\"地皮共享已成功\\\",\\\"color\\\":\\\"green\\\"}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~1 ~1 chain_command_block 5 replace {Command:\"scoreboard players reset @a gdp2\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~1 ~1 chain_command_block 5 replace {Command:\"scoreboard players reset @a gdp\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~1 ~1 chain_command_block 5 replace {Command:\"scoreboard players enable @a gdp3\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~0 ~1 chain_command_block 1 replace {Command:\"execute @a ~ ~ ~ scoreboard players set @a gdptrue 2\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~0 ~1 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ scoreboard players set @a gdptrue 1\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~0 ~1 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ tellraw @a [\\\"\\\",{\\\"selector\\\":\\\"@a\\\"},{\\\"text\\\":\\\"想让你与他共享地皮,是否同意\\\",\\\"color\\\":\\\"green\\\"},{\\\"text\\\":\\\"\\\\n同意\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"green\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/trigger gdp3 set 1\\\"}},{\\\"text\\\":\\\"    \\\"},{\\\"text\\\":\\\"拒绝\\\",\\\"underlined\\\":true,\\\"color\\\":\\\"red\\\",\\\"clickEvent\\\":{\\\"action\\\":\\\"run_command\\\",\\\"value\\\":\\\"/trigger gdp3 set 2\\\"}}]\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~0 ~1 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @a gdp2 -= @a gdp\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~0 ~1 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ execute @a ~ ~ ~ scoreboard players operation @p gdp2 = @p 入服统计\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~0 ~2 chain_command_block 2 replace {Command:\"scoreboard players set @a dipi 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~0 ~2 chain_command_block 5 replace {Command:\"execute @e ~ ~ ~ kill @e\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~0 ~2 chain_command_block 5 replace {Command:\"execute @e ~ ~ ~ fill ~-20 ~-1 ~20 ~20 ~-1 ~-20 minecraft:air 0 replace minecraft:stone_slab 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~0 ~2 chain_command_block 5 replace {Command:\"execute @e ~ ~ ~ execute @a ~ ~ ~ scoreboard players tag @a remove ldp\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~0 ~2 chain_command_block 5 replace {Command:\"execute @e ~ ~ ~ tellraw @a {\\\"text\\\":\\\"已经消除地皮,要是有重要物品没带走请赶快带走\\\",\\\"color\\\":\\\"green\\\"}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~0 ~3 chain_command_block 2 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @e dp2 -= @a dpID\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~0 ~3 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @e dp2 = @e dpID\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~0 ~3 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ tellraw @a {\\\"text\\\":\\\"请让您在您的地皮旁,否则无效\\\",\\\"color\\\":\\\"green\\\"}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~0 ~3 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ tellraw @a {\\\"text\\\":\\\"您当前没有地皮!\\\",\\\"color\\\":\\\"red\\\"}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~0 ~3 chain_command_block 4 replace {Command:\"scoreboard players enable @a dipi\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~0 ~4 chain_command_block 2 replace {Command:\"scoreboard players reset * gdpID2\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~0 ~4 chain_command_block 5 replace {Command:\"scoreboard players reset * dp2\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~0 ~4 chain_command_block 5 replace {Command:\"scoreboard players tag @a remove dp2\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~0 ~4 chain_command_block 5 replace {Command:\"gamemode 0 @a\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~0 ~4 chain_command_block 5 replace {Command:\"gamemode 0 @a\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~0 ~5 chain_command_block 2 replace {Command:\"tp @a ~-30 ~ ~\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~0 ~5 chain_command_block 4 replace {Command:\"tp @a ~-30 ~ ~\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~0 ~5 chain_command_block 4 replace {Command:\"tp @a ~-30 ~ ~\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~0 ~5 chain_command_block 4 replace {Command:\"tp @a ~-30 ~ ~\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~0 ~5 chain_command_block 4 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @a gdpID2 -= @e dpID\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~-1 ~5 chain_command_block 1 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @a gdpID2 = @a gdpID\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~-1 ~5 chain_command_block 5 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @a dp2 -= @e dpID\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~-1 ~5 chain_command_block 5 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @a dp2 = @a dpID\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~5 chain_command_block 5 replace {Command:\"execute @e ~ ~ ~ execute @a ~ ~ ~ scoreboard players tag @p add dp2\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~-1 ~5 chain_command_block 5 replace {Command:\"scoreboard players add @a gdpID 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~-1 ~4 chain_command_block 3 replace {Command:\"scoreboard players add @a dpID 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~4 chain_command_block 4 replace {Command:\"kill @e\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~-1 ~4 chain_command_block 4 replace {Command:\"execute @e ~ ~ ~ scoreboard players set @p sethome.tg 1\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~-1 ~4 chain_command_block 4 replace {Command:\"execute @e ~ ~ ~ tellraw @p {\\\"text\\\":\\\"温馨提示:请勿把您的箱子放在地皮边缘,否则熊孩子可以获取您箱子里的物品\\\\n输入trigger gdp set (玩家编号) 即可共享地皮,要是给有地皮的玩家共享地皮,那么那个玩家的地皮会变成无人地皮\\\",\\\"color\\\":\\\"yellow\\\"}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~-1 ~4 chain_command_block 4 replace {Command:\"scoreboard players tag @a remove zdp\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~-1 ~3 chain_command_block 3 replace {Command:\"execute @e ~ ~ ~ scoreboard players tag @a add ldp\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~-1 ~3 chain_command_block 5 replace {Command:\"execute @e ~ ~ ~ execute @e ~ ~ ~ fill ~-19 ~-1 ~19 ~19 ~-1 ~-19 minecraft:air 0 replace minecraft:stone_slab\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~-1 ~3 chain_command_block 5 replace {Command:\"execute @e ~ ~ ~ execute @e ~ ~ ~ fill ~-20 ~-1 ~20 ~20 ~-1 ~-20 minecraft:stone_slab 0 replace minecraft:air\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~3 chain_command_block 5 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @p dpID = @e dpID\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~-1 ~3 chain_command_block 5 replace {Command:\"execute @a ~ ~ ~ scoreboard players operation @e dpID = dpID dpID\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~-1 ~2 chain_command_block 3 replace {Command:\"execute @e ~ ~ ~ scoreboard players add dpID dpID 1\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~2 chain_command_block 4 replace {Command:\"execute @e ~ ~ ~ scoreboard players tag @p add zdp\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~-1 ~2 chain_command_block 4 replace {Command:\"execute @e ~ ~ ~ summon minecraft:armor_stand ~ ~1 ~ {Invulnerable:true,NoAI:true,NoGravity:true,CanPickUpLoot:false,Tags:[\\\"dpID\\\"],Invisible:true}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~-1 ~2 chain_command_block 4 replace {Command:\"scoreboard players enable @a gdp\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~-1 ~2 chain_command_block 4 replace {Command:\"execute @e ~ ~ ~ clear @a minecraft:spawn_egg 0 1 {EntityTag:{id:\\\"minecraft:bat\\\",CanPickUpLoot:false,Tags:[\\\"dp\\\"]}}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~6 ~-1 ~1 chain_command_block 3 replace {Command:\"clear @a minecraft:spawn_egg 0 1 {EntityTag:{id:\\\"minecraft:bat\\\",CanPickUpLoot:false,Tags:[\\\"dp\\\"]}}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~5 ~-1 ~1 chain_command_block 5 replace {Command:\"scoreboard players set @a dipi 0\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~4 ~-1 ~1 chain_command_block 5 replace {Command:\"execute @a ~ ~ ~ tellraw @a {\\\"text\\\":\\\"请放出该怪物蛋为地皮中心往半径10格扩展,注:并且在其他玩家地皮旁边则会消除怪物蛋,温馨提示:回地皮可以输入trigger home.tg set 1,或者点传送书里的回家\\\",\\\"color\\\":\\\"green\\\"}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~3 ~-1 ~1 chain_command_block 5 replace {Command:\"execute @a ~ ~ ~ give @a minecraft:spawn_egg 1 0 {EntityTag:{id:\\\"minecraft:bat\\\",CanPickUpLoot:false,Tags:[\\\"dp\\\"]}}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~2 ~-1 ~1 repeating_command_block 5 replace {Command:\"execute @a ~ ~ ~ tellraw @a {\\\"text\\\":\\\"您已经放置过地皮把机会留给别人吧\\\",\\\"color\\\":\\\"gold\\\"}\",auto:1b}"},{id:commandblock_minecart,Command:"setblock ~ ~1 ~ command_block 0 replace {auto:1b,Command:\"fill ~ ~ ~ ~ ~-2 ~ air\"}"},{id:commandblock_minecart,Command:"kill @e"}]}]}由小电解说制作若非小电解说制作贼为盗版小电制作未经允许禁止转载,若在其他地方发现均为盗版














小电解说 发表于 2018-11-10 13:05:28

本帖最后由 小电解说 于 2018-11-18 20:38 编辑

未经允许请勿转载,未经允许转载者脱出去斩了,有BUG可以跟我反馈,我会改正的,别忘了评分哦,记得来我的服务器来玩哦丨XD丨生存服,推荐服里更多搜索里,搜索"丨XD丨生存服"即可哦

小电解说 发表于 2018-11-7 21:00:50

emm

qaz098 发表于 2018-11-8 17:13:10

666

小瑜妮y 发表于 2018-11-9 00:24:21

打Call

DHK 发表于 2018-11-9 09:07:02

这一段思路讲解真的是逻辑清晰、脉络完整,以至于我不需要看下面的指令就能够完全理解作者的想法了(其实是作者的字体颜色亮瞎眼了#162)

北海风飘絮 发表于 2018-11-9 18:18:05

好腻害的样子

小电解说小号 发表于 2018-11-10 06:52:22

凉了凉了,没人了

小电解说 发表于 2018-11-10 06:54:53

设家回地皮请了解翔平之翼

红石”凶“ 发表于 2018-11-13 21:28:29

偷偷拿走好东西(话说版本多少)

糊糊666 发表于 2018-11-14 18:22:48

hh

hewui 发表于 2018-11-15 17:21:20

指令收下了qwq不过作者还是很腻害qwq

kill2b 发表于 2018-11-15 17:25:05

小瑜妮y 发表于 2018-11-9 00:24
打Call

打call

哈哈哈123木头人 发表于 2018-11-15 18:32:19

版本多少啊这个

雷霆八袜 发表于 2018-11-17 09:24:27

我的指令大师朋友都做不出来,你做出来了,厉害。
页: [1] 2 3 4 5 6 7 8 9 10
查看完整版本: 圈地原版命令方块系统主城外随意任何地方圈地1.11~1.12(需入服统计)