请选择 进入手机版 | 继续访问电脑版
查看: 788|回复: 18

[命令方块] 抛射器版合成

[复制链接]

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
发表于 2018-5-19 22:48:45 | 显示全部楼层 |阅读模式
Hi,我是wu_tian。呃呃呃,就这样。

今天发一个非常水的贴,反正没啥大作用。。。
主要是给一些地图制作者的方便,就是说不是丢东西合成,而是放在指定的抛射器里面合成。
当然,这个版本是1.13的18w20c!!!为了和时代接轨嘛,如果玩不到1.13或者不会1.13的指令,那此贴对您就没有任何作用。
但如果你会指令转化,你依然可以在1.13以下版本使用,重点是:我会,但我太懒了,如果某个大佬能帮我填写这个空缺,给建筑师方便,那真是太好了!!!


现在进入正题,请看介绍:
先创建几个计分板(脉冲):
/scoreboard objectives add time dummy
/scoreboard objectives add mt dummy
/scoreboard objectives add psq dummy
/scoreboard objectives add mg dummy
讲解:
time,用来计算时间。
mt,检测掉落物,木头。
psq,检测掉落物,抛射器。
mg,检测掉落物,木棍。
然后在用指令检测掉落物(全是循环命令方块,除非有特殊提示):
/scoreboard players set @e[type=item,nbt={Item:{id:"minecraft:dropper",Count:1b}}] psq 1
/scoreboard players set @e[type=item,nbt={Item:{id:"minecraft:oak_log",Count:4b}}] mt 1
/scoreboard players set @e[type=item,nbt={Item:{id:"minecraft:spruce_log",Count:4b}}] mt 1
/scoreboard players set @e[type=item,nbt={Item:{id:"minecraft:birch_log",Count:4b}}] mt 1
/scoreboard players set @e[type=item,nbt={Item:{id:"minecraft:jungle_log",Count:4b}}] mt 1
/scoreboard players set @e[type=item,nbt={Item:{id:"minecraft:acacia_log",Count:4b}}] mt 1
/scoreboard players set @e[type=item,nbt={Item:{id:"minecraft:dark_oak_log",Count:4b}}] mt 1
/scoreboard players set @e[type=item,nbt={Item:{id:"minecraft:stick",Count:16b}}] mg 1
接下来是合成工作台部分:
/execute as @e[scores={mg=1..}] at @s run execute as @e[scores={mt=1..},distance=..1] at @s run tag @s add 1
/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run tag @s add 1
~~~~~~~~~~~~~~~~~~~~~~~~
特别部分:
/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run summon item ~ ~ ~ {Item:{id:"minecraft:pig_spawn_egg",Count:1b,tag:{display:{Name:"\"1\""}}},Motion:[0.0,1.0,0.0]}
连锁部分:
/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run particle cloud ~ ~ ~ 1 2 1 0.01 10 force
连锁部分:
/kill @e[tag=1]
~~~~~~~~~~~~~~~~~~~~~~~~~
/execute as @e[name="1",type=pig] at @s run setblock ~ ~ ~ dropper replace
/execute as @e[type=pig,name="1"] at @s if block ~ ~ ~ dropper run data merge entity @s {Invulnerable:1,NoAI:1,CustomName:"\"2\""}
/execute as @e[type=pig,name="2"] at @s if block ~ ~ ~ dropper run effect give @s minecraft:invisibility 1 1 true
~~~~~~~~~~~~~~~~~~~~~~~~~
特别部分:
/execute as @e[name="2"] at @s if block ~ ~ ~ air run execute as @e[scores={psq=1..},distance=..2] at @s run summon item ~ ~ ~ {Item:{id:"minecraft:pig_spawn_egg",Count:1b,tag:{display:{Name:"\"1\""}}}}
连锁+条件制约部分:
/execute as @e[name="2"] at @s if block ~ ~ ~ air run execute as @e[scores={psq=1..},distance=..2] at @s run kill @s
~~~~~~~~~~~~~~~~~~~~~~~~~
/execute as @e[name="2",scores={time=10..}] at @s run tp @s ~ ~-100000 ~
/execute as @e[name="2"] at @s if block ~ ~ ~ air run scoreboard players add @s time 1

最后是自定义合成部分,可以更改或多加:
/execute as @e[type=pig,name="2"] at @s if block ~ ~ ~ dropper{Items:[{id:"minecraft:oak_log",Count:1b,Slot:4b}]} run data merge block ~ ~ ~ {Items:[{id:"minecraft:grass",Count:1b,Slot:4b}]}

也就这个样子,下面的自定义合成部分可能有些新萌不会这个检测和放置,我就说一下。
1、它这个检测的指令就是Items,说实话它和Item很相似,只是多了个[]而已,因为它是有许多格子的。
id就是物品ID,橡木木头在Slot(位置,抛射器有0-8个格子)在4这个位置的时候就触发,接下来就是把第四格换成
grass就是草(1.13后,草方块的名称改为grass_block)。Count是数量,本来想加个Damage,可是1.13已经把Damage给删了。这台机器主要原理是:
丢地上合成了一个合成抛射器之后(丢4个任意原木和16个木柜),就会合成一个猪蛋,名字为1,可以随意改,但有些数据标签的名字1也要改。放下“1”猪之后就在“1”猪身上刷上个抛射器,并给它隐身、无敌、无人工智能。
然后再将“1”猪换成“2”猪,这样可以防止无限刷抛射器。
检测到“2”猪身在空气,就给他计时,并在10刻后将它tp到-10000这个位置,如果检测到暴露在空气中的“2”猪半径有抛射器,就删除抛射器,变成“1”猪蛋。
就差不多这个原理,很简单。
其实最主要还是给我的“真实生存”做准备,但我这么懒,“真实生存”容量这么大,不知何年才能做好。。。
最后加上个OOC,为了防止@a变成@a,所以在加个附件,虽说这一次似乎没有用到@a......
/summon falling_block ~ ~1 ~ {BlockState:{Name:"minecraft:redstone_block"},Time:1,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:activator_rail"},Time:1,Passengers:[{id:"minecraft:commandblock_minecart",Command:"title @a title {\"text\":\"欢迎使用wu_tian的OOC\",\"color\":\"gold\",\"bold\":\"true\"}"},{id:"minecraft:commandblock_minecart",Command:"title @a subtitle {\"text\":\"抛射器版合成\",\"underlined\":\"true\"}"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add time dummy"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add mt dummy"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add psq dummy"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~20 ~ repeating_command_block{auto:1,Command:\"execute as @e[scores={mg=1..}] at @s run execute as @e[scores={mt=1..},distance=..1] at @s run tag @s add 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add mg dummy"},{id:"minecart:commandblock_minecart",Command:"setblock ~1 ~21 ~ repeating_command_block{auto:1,Command:\"execute as @e[scores={mg=1..}] at @s run execute as @e[scores={mt=1..},distance=..1] at @s run tag @s add 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~1 ~ repeating_command_block{auto:1,Command:\"/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run tag @s add 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~2 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:dropper\\\",Count:1b}}] psq 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~3 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:oak_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~4 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:spruce_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~5 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:birch_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~6 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:jungle_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~7 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:acacia_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~8 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:dark_oak_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~9 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:stick\\\",Count:16b}}] mg 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~10 ~ repeating_command_block[facing=up]{auto:1,Command:\"/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run summon item ~ ~ ~ {Item:{id:\\\"minecraft:pig_spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"\\\\\\\"1\\\\\\\"\\\"}}},Motion:[0.0,1.0,0.0]}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~11 ~ chain_command_block[facing=up]{auto:1,Command:\"/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run particle cloud ~ ~ ~ 1 2 1 0.01 10 force\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~12 ~ chain_command_block[facing=up]{auto:1,Command:\"/kill @e[tag=1]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~13 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"1\\\",type=pig] at @s run setblock ~ ~ ~ dropper replace\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~14 ~ repeating_command_block{auto:1,Command:\"/execute as @e[type=pig,name=\\\"1\\\"] at @s if block ~ ~ ~ dropper run data merge entity @s {Invulnerable:1,NoAI:1,CustomName:\\\"\\\\\\\"2\\\\\\\"\\\"}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~15 ~ repeating_command_block{auto:1,Command:\"/execute as @e[type=pig,name=\\\"2\\\"] at @s if block ~ ~ ~ dropper run effect give @s minecraft:invisibility 1 1 true\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~16 ~ repeating_command_block[facing=up]{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ air run execute as @e[scores={psq=1..},distance=..2] at @s run summon item ~ ~ ~ {Item:{id:\\\"minecraft:pig_spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"\\\\\\\"1\\\\\\\"\\\"}}}}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~17 ~ chain_command_block[facing=up,conditional=true]{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ air run execute as @e[scores={psq=1..},distance=..2] at @s run kill @s\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~18 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\",scores={time=10..}] at @s run tp @s ~ ~-100000 ~\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~19 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ air run scoreboard players add @s time 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~2 ~ ~ repeating_command_block{auto:1,Command:\"/execute as @e[type=pig,name=\\\"2\\\"] at @s if block ~ ~ ~ dropper{Items:[{id:\\\"minecraft:oak_log\\\",Count:1b,Slot:4b}]} run data merge block ~ ~ ~ {Items:[{id:\\\"minecraft:grass\\\",Count:1b,Slot:4b}]}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~2 ~1 ~ repeating_command_block{auto:1,Command:\"setblock ~ ~ ~ sign{Text1:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"自定义位置\\\\\\\"}\\\",Text2:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"默认合成:横数第5格放\\\\\\\"}\\\",Text3:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"橡木木头\\\\\\\"}\\\"} replace\"} replace"},{id:"minecraft:commandblock_minecart",Command:"kill @e[type=commandblock_minecart,distance=..5]"}]}]}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1.13的更新让我的旧的OOC方法变得麻烦了,但是还是可以执行,如果大家有好方法,就告诉我。
因为铁轨在falling block状态遇到红石块不会激活,所以就给自己一个调试棒,英语是:/give @a debug_stick 1
然后就对着铁轨点一下右键,就激活了
配张照片,以证明我说的是实话。。。
今天就到这里,再见!
2018-05-19_22.46.48.png
2018-05-19_22.47.12.png

1.13(psqbhc).txt

6.32 KB, 下载次数: 2, 下载积分: 金锭 -1

专业玩指令的玩家(*^▽^*)

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 11:12:12 | 显示全部楼层
已经更新了抛射器合成,更新有:1、“2”猪现在是无声的了。2、现在可以改变抛射器的方向了,只要蹲在合成抛射器上,就可以进行修改方向。
指令:
创建几个记分板(脉冲):
/scoreboard objectives add ptime dummy
/scoreboard objectives add sneak minecraft.custom:minecraft.sneak_time
/scoreboard objectives add time2 dummy
循环部分:
/scoreboard players set @a[scores={time2=122..}] time2 0
/execute as @e[name="2"] at @s if block ~ ~ ~ dropper run execute as @a[distance=..3,scores={sneak=1..}] at @s if block ~ ~-1 ~ dropper run scoreboard players add @s time2 1
/execute as @a[scores={sneak=..0}] at @s run scoreboard players set @s time2 0
/execute as @e[name="2"] at @s if block ~ ~ ~ dropper run execute as @a[distance=..3,scores={sneak=1..}] at @s if block ~ ~-1 ~ dropper run effect give @s slowness 1 55 true
/execute as @e[name="2"] at @s if block ~ ~ ~ dropper run execute as @a[distance=..3,scores={sneak=1..}] at @s if block ~ ~-1 ~ dropper run effect give @s jump_boost 1 150 true
/execute as @a[scores={time2=1..20}] at @s run setblock ~ ~-1 ~ dropper[facing=up]
/scoreboard players set @a[scores={ptime=2..}] sneak 0
/execute as @a[scores={time2=20..40}] at @s run setblock ~ ~-1 ~  dropper[facing=down]
/execute as @a[scores={time2=40..60}] at @s run setblock ~ ~-1 ~ dropper[facing=north]
/execute as @a[scores={time2=60..80}] at @s run setblock ~ ~-1 ~ dropper[facing=south]
/execute as @a[scores={time2=80..100}] at @s run setblock ~ ~-1 ~ dropper[facing=east]
/execute as @a[scores={time2=100..120}] at @s run setblock ~ ~-1 ~ dropper[facing=wast]
/scoreboard players add @a ptime 1
/scoreboard players set @a[scores={ptime=3..}] ptime 0
OOC:
/summon falling_block ~ ~1 ~ {BlockState:{Name:"minecraft:redstone_block"},Time:1,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:activator_rail"},Time:1,Passengers:[{id:"minecraft:commandblock_minecart",Command:"title @a title {\"text\":\"欢迎使用wu_tian的OOC\",\"color\":\"gold\",\"bold\":\"true\"}"},{id:"minecraft:commandblock_minecart",Command:"title @a subtitle {\"text\":\"抛射器版合成\",\"underlined\":\"true\"}"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add time dummy"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add sneak minecraft.custom:minecraft.sneak_time"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add time2 dummy"},{id:"minecraft:commandblock_minecart",Command:"scoreboard objectives add ptime dummy"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~ ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @a[scores={time2=122..}] time2 0\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~1 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ dropper run execute as @a[distance=..3,scores={sneak=1..}] at @s if block ~ ~-1 ~ dropper run scoreboard players add @s time2 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~2 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={sneak=..0}] at @s run scoreboard players set @s time2 0\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~3 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ dropper run execute as @a[distance=..3,scores={sneak=1..}] at @s if block ~ ~-1 ~ dropper run effect give @s slowness 1 55 true\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~4 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ dropper run execute as @a[distance=..3,scores={sneak=1..}] at @s if block ~ ~-1 ~ dropper run effect give @s jump_boost 1 150 true\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~5 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=1..20}] at @s run setblock ~ ~-1 ~ dropper[facing=up]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~6 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @a[scores={ptime=2..}] sneak 0\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~7 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=20..40}] at @s run setblock ~ ~-1 ~ dropper[facing=down]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~8 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=40..60}] at @s run setblock ~ ~-1 ~ dropper[facing=north]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~9 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=60..80}] at @s run setblock ~ ~-1 ~ dropper[facing=south]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~10 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=80..100}] at @s run setblock ~ ~-1 ~ dropper[facing=east]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~11 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=100..120}] at @s run setblock ~ ~-1 ~ dropper[facing=west]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~12 ~ repeating_command_block{auto:1,Command:\"/scoreboard players add @a ptime 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~13 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @a[scores={ptime=3..}] ptime 0\"} replace"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add mt dummy"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add psq dummy"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~20 ~ repeating_command_block{auto:1,Command:\"execute as @e[scores={mg=1..}] at @s run execute as @e[scores={mt=1..},distance=..1] at @s run tag @s add 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add mg dummy"},{id:"minecart:commandblock_minecart",Command:"setblock ~1 ~21 ~ repeating_command_block{auto:1,Command:\"execute as @e[scores={mg=1..}] at @s run execute as @e[scores={mt=1..},distance=..1] at @s run tag @s add 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~1 ~ repeating_command_block{auto:1,Command:\"/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run tag @s add 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~2 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:dropper\\\",Count:1b}}] psq 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~3 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:oak_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~4 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:spruce_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~5 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:birch_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~6 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:jungle_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~7 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:acacia_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~8 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:dark_oak_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~9 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:stick\\\",Count:16b}}] mg 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~10 ~ repeating_command_block[facing=up]{auto:1,Command:\"/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run summon item ~ ~ ~ {Item:{id:\\\"minecraft:pig_spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"\\\\\\\"1\\\\\\\"\\\"}}},Motion:[0.0,1.0,0.0]}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~11 ~ chain_command_block[facing=up]{auto:1,Command:\"/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run particle cloud ~ ~ ~ 1 2 1 0.01 10 force\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~12 ~ chain_command_block[facing=up]{auto:1,Command:\"/kill @e[tag=1]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~13 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"1\\\",type=pig] at @s run setblock ~ ~ ~ dropper replace\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~14 ~ repeating_command_block{auto:1,Command:\"/execute as @e[type=pig,name=\\\"1\\\"] at @s if block ~ ~ ~ dropper run data merge entity @s {Silent:1,Invulnerable:1,NoAI:1,CustomName:\\\"\\\\\\\"2\\\\\\\"\\\"}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~15 ~ repeating_command_block{auto:1,Command:\"/execute as @e[type=pig,name=\\\"2\\\"] at @s if block ~ ~ ~ dropper run effect give @s minecraft:invisibility 1 1 true\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~16 ~ repeating_command_block[facing=up]{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ air run execute as @e[scores={psq=1..},distance=..2] at @s run summon item ~ ~ ~ {Item:{id:\\\"minecraft:pig_spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"\\\\\\\"1\\\\\\\"\\\"}}}}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~17 ~ chain_command_block[facing=up,conditional=true]{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ air run execute as @e[scores={psq=1..},distance=..2] at @s run kill @s\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~18 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\",scores={time=10..}] at @s run tp @s ~ ~-100000 ~\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~19 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ air run scoreboard players add @s time 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~2 ~ ~ repeating_command_block{auto:1,Command:\"/execute as @e[type=pig,name=\\\"2\\\"] at @s if block ~ ~ ~ dropper{Items:[{id:\\\"minecraft:oak_log\\\",Count:1b,Slot:4b}]} run data merge block ~ ~ ~ {Items:[{id:\\\"minecraft:grass\\\",Count:1b,Slot:4b}]}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~2 ~1 ~ repeating_command_block{auto:1,Command:\"setblock ~ ~ ~ sign{Text1:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"自定义位置\\\\\\\"}\\\",Text2:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"默认合成:横数第5格放\\\\\\\"}\\\",Text3:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"橡木木头\\\\\\\"}\\\"} replace\"} replace"},{id:"minecraft:commandblock_minecart",Command:"kill @e[type=commandblock_minecart,distance=..5]"}]}]}
专业玩指令的玩家(*^▽^*)

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 13:03:39 | 显示全部楼层
今天更新了新的版本,更新的内容有:1、“2”猪现在是静音的。2、现在只要站在抛射器合成台上蹲着,就可以改变它的朝向。

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 13:06:21 | 显示全部楼层
更新内容将会在今天发帖

0

主题

73

帖子

21

积分

Lv.2 石器学徒

UID
835202
小麦
2
金锭
135
下界之星
0
发表于 2018-5-20 09:03:00 | 显示全部楼层
1.13的execute指令经常出bug无法执行

27

主题

1004

帖子

536

积分

Lv.6 附魔大师

UID
5000750
小麦
253
金锭
747
下界之星
0
发表于 2018-5-20 09:12:53 | 显示全部楼层
emmm,1.13的指令已经看不太懂了
难道1.12已经成为远古版本了吗..........
似乎加上一些图会更好

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 11:07:51 | 显示全部楼层
LKprc 发表于 2018-5-20 09:03
1.13的execute指令经常出bug无法执行

不会啊
专业玩指令的玩家(*^▽^*)

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 11:09:14 | 显示全部楼层
Argon_gas 发表于 2018-5-20 09:12
emmm,1.13的指令已经看不太懂了
难道1.12已经成为远古版本了吗..........
似乎加上一些图会更好

你要加上些什么图片,我可以发给你,嗯嗯,我更新了一下我的OOC,现在可以蹲在指定发射器上换方向了,你看一下评论。
专业玩指令的玩家(*^▽^*)

3

主题

115

帖子

32

积分

Lv.2 石器学徒

UID
204248
小麦
0
金锭
116
下界之星
0
发表于 2018-5-20 11:12:08 | 显示全部楼层

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 11:12:50 | 显示全部楼层

阅读权限。。。

点评

什么阅读权限??  发表于 2018-5-20 11:15
专业玩指令的玩家(*^▽^*)

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 11:15:44 | 显示全部楼层
Argon_gas 发表于 2018-5-20 09:12
emmm,1.13的指令已经看不太懂了
难道1.12已经成为远古版本了吗..........
似乎加上一些图会更好

我刚知道1.13把execute改了的时候,我还以为只是Mojang在开玩笑。
相信我,你一定可以解决了1.13的难关!!
专业玩指令的玩家(*^▽^*)

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 11:16:58 | 显示全部楼层

抱歉,本帖要求阅读权限高于 150 才能浏览
就是这个权限
专业玩指令的玩家(*^▽^*)

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 11:20:52 | 显示全部楼层
Argon_gas 发表于 2018-5-20 09:12
emmm,1.13的指令已经看不太懂了
难道1.12已经成为远古版本了吗..........
似乎加上一些图会更好

你能教我怎么做动图吗,其实我挺想做动图的
专业玩指令的玩家(*^▽^*)

13

主题

160

帖子

55

积分

Lv.3 矿物能手

UID
4500435
小麦
0
金锭
183
下界之星
0
 楼主| 发表于 2018-5-20 13:05:32 | 显示全部楼层
更新内容:/summon falling_block ~ ~1 ~ {BlockState:{Name:"minecraft:redstone_block"},Time:1,Passengers:[{id:"minecraft:falling_block",BlockState:{Name:"minecraft:activator_rail"},Time:1,Passengers:[{id:"minecraft:commandblock_minecart",Command:"title @a title {\"text\":\"欢迎使用wu_tian的OOC\",\"color\":\"gold\",\"bold\":\"true\"}"},{id:"minecraft:commandblock_minecart",Command:"title @a subtitle {\"text\":\"抛射器版合成\",\"underlined\":\"true\"}"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add time dummy"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add sneak minecraft.custom:minecraft.sneak_time"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add time2 dummy"},{id:"minecraft:commandblock_minecart",Command:"scoreboard objectives add ptime dummy"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~ ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @a[scores={time2=122..}] time2 0\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~1 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ dropper run execute as @a[distance=..3,scores={sneak=1..}] at @s if block ~ ~-1 ~ dropper run scoreboard players add @s time2 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~2 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={sneak=..0}] at @s run scoreboard players set @s time2 0\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~3 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ dropper run execute as @a[distance=..3,scores={sneak=1..}] at @s if block ~ ~-1 ~ dropper run effect give @s slowness 1 55 true\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~4 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ dropper run execute as @a[distance=..3,scores={sneak=1..}] at @s if block ~ ~-1 ~ dropper run effect give @s jump_boost 1 150 true\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~5 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=1..20}] at @s run setblock ~ ~-1 ~ dropper[facing=up]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~6 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @a[scores={ptime=2..}] sneak 0\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~7 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=20..40}] at @s run setblock ~ ~-1 ~ dropper[facing=down]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~8 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=40..60}] at @s run setblock ~ ~-1 ~ dropper[facing=north]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~9 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=60..80}] at @s run setblock ~ ~-1 ~ dropper[facing=south]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~10 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=80..100}] at @s run setblock ~ ~-1 ~ dropper[facing=east]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~11 ~ repeating_command_block{auto:1,Command:\"/execute as @a[scores={time2=100..120}] at @s run setblock ~ ~-1 ~ dropper[facing=west]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~12 ~ repeating_command_block{auto:1,Command:\"/scoreboard players add @a ptime 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~3 ~13 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @a[scores={ptime=3..}] ptime 0\"} replace"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add mt dummy"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add psq dummy"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~20 ~ repeating_command_block{auto:1,Command:\"execute as @e[scores={mg=1..}] at @s run execute as @e[scores={mt=1..},distance=..1] at @s run tag @s add 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"/scoreboard objectives add mg dummy"},{id:"minecart:commandblock_minecart",Command:"setblock ~1 ~21 ~ repeating_command_block{auto:1,Command:\"execute as @e[scores={mg=1..}] at @s run execute as @e[scores={mt=1..},distance=..1] at @s run tag @s add 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~1 ~ repeating_command_block{auto:1,Command:\"/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run tag @s add 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~2 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:dropper\\\",Count:1b}}] psq 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~3 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:oak_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~4 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:spruce_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~5 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:birch_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~6 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:jungle_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~7 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:acacia_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~8 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:dark_oak_log\\\",Count:4b}}] mt 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~9 ~ repeating_command_block{auto:1,Command:\"/scoreboard players set @e[type=item,nbt={Item:{id:\\\"minecraft:stick\\\",Count:16b}}] mg 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~10 ~ repeating_command_block[facing=up]{auto:1,Command:\"/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run summon item ~ ~ ~ {Item:{id:\\\"minecraft:pig_spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"\\\\\\\"1\\\\\\\"\\\"}}},Motion:[0.0,1.0,0.0]}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~11 ~ chain_command_block[facing=up]{auto:1,Command:\"/execute as @e[scores={mt=1..}] at @s run execute as @e[scores={mg=1..},distance=..1] at @s run particle cloud ~ ~ ~ 1 2 1 0.01 10 force\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~12 ~ chain_command_block[facing=up]{auto:1,Command:\"/kill @e[tag=1]\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~13 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"1\\\",type=pig] at @s run setblock ~ ~ ~ dropper replace\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~14 ~ repeating_command_block{auto:1,Command:\"/execute as @e[type=pig,name=\\\"1\\\"] at @s if block ~ ~ ~ dropper run data merge entity @s {Silent:1,Invulnerable:1,NoAI:1,CustomName:\\\"\\\\\\\"2\\\\\\\"\\\"}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~15 ~ repeating_command_block{auto:1,Command:\"/execute as @e[type=pig,name=\\\"2\\\"] at @s if block ~ ~ ~ dropper run effect give @s minecraft:invisibility 1 1 true\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~16 ~ repeating_command_block[facing=up]{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ air run execute as @e[scores={psq=1..},distance=..2] at @s run summon item ~ ~ ~ {Item:{id:\\\"minecraft:pig_spawn_egg\\\",Count:1b,tag:{display:{Name:\\\"\\\\\\\"1\\\\\\\"\\\"}}}}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~17 ~ chain_command_block[facing=up,conditional=true]{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ air run execute as @e[scores={psq=1..},distance=..2] at @s run kill @s\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~18 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\",scores={time=10..}] at @s run tp @s ~ ~-100000 ~\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~1 ~19 ~ repeating_command_block{auto:1,Command:\"/execute as @e[name=\\\"2\\\"] at @s if block ~ ~ ~ air run scoreboard players add @s time 1\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~2 ~ ~ repeating_command_block{auto:1,Command:\"/execute as @e[type=pig,name=\\\"2\\\"] at @s if block ~ ~ ~ dropper{Items:[{id:\\\"minecraft:oak_log\\\",Count:1b,Slot:4b}]} run data merge block ~ ~ ~ {Items:[{id:\\\"minecraft:grass\\\",Count:1b,Slot:4b}]}\"} replace"},{id:"minecraft:commandblock_minecart",Command:"setblock ~2 ~1 ~ repeating_command_block{auto:1,Command:\"setblock ~ ~ ~ sign{Text1:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"自定义位置\\\\\\\"}\\\",Text2:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"默认合成:横数第5格放\\\\\\\"}\\\",Text3:\\\"{\\\\\\\"text\\\\\\\":\\\\\\\"橡木木头\\\\\\\"}\\\"} replace\"} replace"},{id:"minecraft:commandblock_minecart",Command:"kill @e[type=commandblock_minecart,distance=..5]"}]}]}
专业玩指令的玩家(*^▽^*)

13

主题

658

帖子

195

积分

Lv.4 怪物猎人

UID
210415
小麦
16
金锭
772
下界之星
0
发表于 2018-6-3 08:30:33 | 显示全部楼层
表示调试棒可是个好东西
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

返回顶部