本帖最后由 贰逼 于 2015-5-16 16:02 编辑

"什么是OneCommand?
OneCommand是一种模块机制,将仅利用指令方块与帧高频结合的模块通过滤器转化为一条指令。"


简介:
本模组类似于Ess插件中的基础传送指令(包含sethome 、home、setspawn、spawn、back指令)
通过实体介入配合以及stats储存功能将插件内容移植到原版(目前只支持单人同时实现了回到死亡地点,避免了危险方块等功能。

展示及使用教程:
视频:

图片:
1.如何使用OneCommand
首先获取指令方块,在合适的地方放置

复制下面的代码进入指令方块

激活命令方块

等待生成

完成即可

2.如何使用本模组

阅读以上文本

3.如何移除模组

右击"remove"的牌子即可,剩余的实体可手动破坏


OneCommand资源
  1. /summon FallingSand ~ ~2 ~ {Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/fill ~2 ~-1 ~2 ~-2 ~6 ~14 minecraft:glass 0 hollow",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/fill ~2 ~-2 ~2 ~-2 ~-2 ~14 minecraft:grass 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/fill ~1 ~-2 ~3 ~-1 ~8 ~13 air",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/fill ~1 ~-3 ~12 ~-1 ~2 ~12 redstone_block",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"summon FallingSand ~-1 ~3 ~11 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/gamerule commandBlockOutput false",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/gamerule logAdminCommands false",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/tellraw @a {text:\\"\\",extra:[{text:\\"You have installed \\\\\\"BetterTeleport\\\\\\"\\",color:dark_green,underlined:true}]}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/tellraw @a {text:\\"\\",extra:[{text:\\"Auther:\\\\n\\",color:dark_aqua,underlined:true},{text:\\"TrembleStarMan\\",color:dark_aqua,bold:true,underlined:true}]}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/tellraw @a {text:\\"\\",extra:[{text:\\"My Page:\\",color:dark_aqua,underlined:true},{text:\\"http://www.mcbbs.net/thread-237123-1-1.html\\",color:gold,underlined:true,clickEvent:{action:open_url,value:\\"http://www.mcbbs.net/thread-237123-1-1.html\\"}}]}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},id:"FallingSand",Block:"iron_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"summon FallingSand ~-1 ~2 ~13 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/summon ArmorStand ~ ~1 ~ {CustomName:\\"sethome\\",NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon ArmorStand ~ ~1 ~ {CustomName:\\"back1\\",NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon ArmorStand ~ ~1 ~ {CustomName:\\"back2\\",NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon ArmorStand ~ ~1 ~ {CustomName:\\"spawn1\\",NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon ArmorStand ~ ~1 ~ {CustomName:\\"setspawn\\",NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},id:"FallingSand",Block:"iron_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"summon FallingSand ~0 ~1 ~11 {Riding:{Riding:{Riding:{TileEntityData:{Command:"fill ~-2 ~6 ~3 ~2 ~6 ~-9 minecraft:grass 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"summon FallingSand ~0 ~1 ~-8 {id:\\"FallingSand\\",Block:\\"redstone_block\\",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon ArmorStand ~ ~1 ~ {CustomName:\\"isd\\",NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},id:"FallingSand",Block:"iron_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~-1 ~2 ~3 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/fill ~1 ~ ~ ~1 ~5 ~7 stone",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add home dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/stats entity @a set QueryResult @a home",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @a[score_home_min=1] ~ ~ ~ kill @e[type=ArmorStand,c=-1,name=back]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @a[score_home_min=1] ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:\\"back\\",Invisible:1b,NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @a home 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~1 ~1 ~3 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/fill ~-1 ~ ~ ~-1 ~5 ~7 redstone_block",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @a ~ ~ ~ gamerule home",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @a[score_home_min=1] ~ ~ ~ gamerule home 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"tellraw @a[score_home_min=1] {text:\\"已经到家\\",color:gold}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"tp @a[score_home_min=1] @e[type=ArmorStand,name=home]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add sethome dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~-1 ~0 ~4 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/execute @e[type=ArmorStand,name=sethome] ~ ~ ~ gamerule sethome",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,score_sethome_min=1] ~ ~ ~ gamerule sethome 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=sethome,score_sethome_min=1] ~ ~ ~ kill @e[type=ArmorStand,c=-1,name=home]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @e[type=ArmorStand,name=sethome] sethome 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=back1] ~ ~ ~ gamerule back",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,score_back_min=1] ~ ~ ~ gamerule back 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~1 ~-1 ~4 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/stats entity @e[type=ArmorStand,name=sethome] set QueryResult @e[type=ArmorStand,name=sethome] sethome",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=sethome,score_sethome_min=1] ~ ~ ~ tellraw @p {text:\\"已经设置家\\",color:gold}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=sethome,score_sethome_min=1] ~ ~ ~ execute @p ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:\\"home\\",Invisible:1b,NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add back dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/stats entity @e[type=ArmorStand,name=back1] set QueryResult @e[type=ArmorStand,name=back1] back",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=back1,score_back_min=1] ~ ~ ~ tellraw @p {text:\\"已经回去\\",color:dark_green}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~-1 ~-2 ~5 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/execute @e[type=ArmorStand,name=back2] ~ ~ ~ testfor @e[type=ArmorStand,name=back]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=back1,score_back_min=1] ~ ~ ~ execute @p ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:\\"back\\",Invisible:1b,NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=back2,score_isback_min=2] ~ ~ ~ execute @p ~ ~ ~ kill @e[type=ArmorStand,name=back,c=1]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @e[type=ArmorStand,name=back2] isback 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=spawn1] ~ ~ ~ gamerule spawn",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=spawn1] ~ ~ ~ gamerule spawn 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~1 ~-3 ~5 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/stats entity @e[type=ArmorStand,name=back2] set SuccessCount @e[type=ArmorStand,name=back2] isback",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=back1,score_back_min=1] ~ ~ ~ execute @p ~ ~ ~ tp @p @e[type=ArmorStand,name=back,c=-1]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add isback dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add spawn dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/stats entity @e[type=ArmorStand,name=spawn1] set QueryResult @e[type=ArmorStand,name=spawn1] spawn",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=spawn1,score_spawn_min=1] ~ ~ ~ execute @p ~ ~ ~ kill @e[type=ArmorStand,c=-1,name=back]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~-1 ~-4 ~6 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/execute @e[type=ArmorStand,name=spawn1,score_spawn_min=1] ~ ~ ~ tellraw @p {text:\\"已经回到出生点\\",color:red}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=spawn1,score_spawn_min=1] ~ ~ ~ tp @p @e[type=ArmorStand,name=spawn]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add setspawn dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/stats entity @e[type=ArmorStand,name=setspawn] set QueryResult @e[type=ArmorStand,name=setspawn] setspawn",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=setspawn,score_setspawn_min=1] ~ ~ ~ tellraw @p {text:\\"已经设置出生点\\",color:red}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=setspawn,score_setspawn_min=1] ~ ~ ~ execute @p ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:\\"spawn\\",Invisible:1b,NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~1 ~-5 ~6 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/execute @e[type=ArmorStand,name=spawn1,score_spawn_min=1] ~ ~ ~ execute @p ~ ~ ~ summon ArmorStand ~ ~ ~ {CustomName:\\"back\\",Invisible:1b,NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @e[type=ArmorStand,name=spawn1] spawn 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=setspawn] ~ ~ ~ gamerule setspawn",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,score_setspawn_min=1] ~ ~ ~ gamerule setspawn 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=setspawn,score_setspawn_min=1] ~ ~ ~ kill @e[type=ArmorStand,c=-1,name=spawn]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=setspawn,score_setspawn_min=1] ~ ~ ~ execute @p ~ ~ ~ spawnpoint @p",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~-1 ~-6 ~7 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/scoreboard objectives add iog dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add isb dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @p isb 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:lava 1 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:lava 3 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:lava 4 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~1 ~-7 ~7 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/scoreboard players set @e[type=ArmorStand,name=setspawn] setspawn 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add adt deathCount",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:fire 0 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:lava 0 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:lava 2 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:lava 5 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~-1 ~-8 ~8 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:lava 6 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:flowing_lava 1 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:flowing_lava 2 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:flowing_lava 5 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:flowing_lava 6 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @a[score_isb=0] iog 1 {OnGround:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~1 ~-9 ~8 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:lava 7 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:flowing_lava 0 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:flowing_lava 3 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:flowing_lava 4 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ detect ~ ~ ~ minecraft:flowing_lava 7 scoreboard players set @p isb 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @a[score_iog_min=1] ~ ~ ~ summon ArmorStand ~ ~10 ~ {CustomName:\\"markDeath\\",Invisible:1b,NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~-1 ~-10 ~9 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/scoreboard objectives add rsc dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add ind dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=back1,score_back_min=1] ~ ~ ~ /execute @e[type=ArmorStand,name=back,score_ind_min=1] ~ ~ ~ tellraw @p[m=0] {text:\\"由于回到的地点为空中,将会寻找最近的陆地\\",color:green}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @e[type=ArmorStand,name=back1] back 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @a[score_adt_min=1] ~ ~ ~ execute @e[type=ArmorStand,name=markDeath,score_rsc_min=1,c=-1] ~ ~ ~ summon ArmorStand ~ ~-10 ~ {CustomName:\\"back\\",Invisible:1b,NoGravity:1b}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard objectives add isd dummy",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~1 ~-11 ~9 {Riding:{Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/scoreboard players add @e[type=ArmorStand,name=markDeath] rsc 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=back] ~ ~ ~ detect ~ ~-1 ~ minecraft:air 0 scoreboard players set @e[type=ArmorStand,name=back,r=0] ind 1",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=back1,score_back_min=1] ~ ~ ~ /execute @e[type=ArmorStand,name=back,score_ind_min=1] ~ ~ ~ /spreadplayers ~ ~ 1 10 false @p[m=0]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @e[type=ArmorStand,name=back] ind 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ /scoreboard players set @e[type=ArmorStand,name=markDeath,c=1] rsc 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @e[type=ArmorStand,name=isd] isd 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/summon FallingSand ~-1 ~-12 ~10 {Riding:{Riding:{Riding:{Riding:{TileEntityData:{Command:"/execute @e[type=ArmorStand,name=isd] ~ ~ ~ testfor @p",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/stats entity @e[type=ArmorStand,name=isd] set SuccessCount @e[type=ArmorStand,name=isd] isd",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @e[type=ArmorStand,name=isd,score_isd=0] ~ ~ ~ scoreboard objectives remove adt",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/scoreboard players set @p iog 0",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/execute @p ~ ~ ~ kill @e[type=ArmorStand,name=markDeath,score_rsc_min=2,c=-1]",id:"Control"},id:"FallingSand",Block:"command_block",Time:1}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/setblock ~ ~-19 ~1 wall_sign 2 0 {Text1:"===============",Text2:"{text:\\"Click\\",color:\\"dark_red\\",clickEvent:{action:run_command,value:\\"/fill ~2 ~3 ~ ~-2 ~-4 ~13 air\\"},extra:[{text:\\" to remove\\",color:\\"black\\"}]}",Text3:"this structure",Text4:"==============="}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/setblock ~ ~-21 ~1 wall_sign 2 0 {Text2:"{\\"bold\\":true,\\"color\\":\\"red\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/tellraw @a {text:\\\\\\"\\\\\\",extra:[{text:\\\\\\"本模组包含指令:(数值1可以改为任何>0的数,也可以为任何不为\\\\u0027false\\\\u0027的字符)\\\\n\\\\\\",color:red,underlined:true},{text:\\\\\\"/gamerule sethome 1 设置一个新家\\\\n\\\\\\",color:gold,underlined:true},{text:\\\\\\"/gamerule home 1 回到家\\\\n\\\\\\",color:gold,underlined:true},{text:\\\\\\"/gamerule setspawn 1 设置一个新的出生点\\\\n\\\\\\",color:aqua,underlined:true},{text:\\\\\\"/gamerule spawn 1 回到出生点\\\\n\\\\\\",color:aqua,underlined:true},{text:\\\\\\"/gamerule back 1 回到上一个使用tp的地点\\\\n\\\\\\",color:gray,underlined:true},{text:\\\\\\"本模组包含了死亡后back,且不会回到岩浆,火焰等危险地点,\\\\n\\\\\\",color:green,underlined:true},{text:\\\\\\"浮空back将会自动寻找附近陆地\\\\n\\\\\\",color:dark_green,underlined:true}]}\\"},\\"text\\":\\"How to Use\\"}",Text3:"null",Text1:"null",Text4:"null",y:8,x:-4,z:-1,id:"Sign"}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/setblock ~ ~-23 ~1 wall_sign 2 0 {Text2:"{\\"bold\\":true,\\"color\\":\\"dark_aqua\\",\\"text\\":\\"Auther\\"}",Text3:"{\\"color\\":\\"dark_aqua\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/tellraw @a {text:\\\\\\"\\\\\\",extra:[{text:\\\\\\"Auther:\\\\n\\\\\\",color:dark_aqua,underlined:true},{text:\\\\\\"TrembleStarMan\\\\\\",color:dark_aqua,bold:true,underlined:true}]}\\"},\\"text\\":\\"TrembleStarMan\\"}",Text1:"null",Text4:"null",y:8,x:-4,z:1,id:"Sign"}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/setblock ~ ~-25 ~1 wall_sign 2 0 {Text2:"{\\"bold\\":true,\\"underlined\\":true,\\"color\\":\\"gold\\",\\"clickEvent\\":{\\"action\\":\\"run_command\\",\\"value\\":\\"/tellraw @a {text:\\\\\\"\\\\\\",extra:[{text:\\\\\\"My Page:\\\\\\",color:dark_aqua,underlined:true},{text:\\\\\\"http://www.mcbbs.net/thread-237123-1-1.html\\\\\\",color:gold,underlined:true,clickEvent:{action:open_url,value:\\\\\\"http://www.mcbbs.net/thread-237123-1-1.html\\\\\\"}}]}\\"},\\"text\\":\\"My Page\\"}",Text3:"null",Text1:"null",Text4:"null",y:8,x:-4,z:3,id:"Sign"}",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/fill ~ ~-26 ~ ~-1 ~2 ~ air",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},TileEntityData:{Command:"/fill ~-1 ~-27 ~ ~-1 ~-1 ~ redstone_block",id:"Control"},id:"FallingSand",Block:"command_block",Time:1},id:"FallingSand",Block:"redstone_block",Time:1}
复制代码
复制代码即可


资源下载:
整合下载(包括演示存档,OneCommand指令+使用方法,mce模块文件)
OneCommand指令+使用方法

Mce模块文件

演示存档

集合文件夹

OneCommand滤器:


相关链接:
我的索引
[groupid=546]Command Block Logic[/groupid]