请选择 进入手机版 | 继续访问电脑版
12
返回列表 发新帖
楼主: wu_tian

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

[复制链接]

13

主题

137

帖子

49

积分

Lv.2 石器学徒

UID
4500435
小麦
0
金锭
154
下界之星
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

主题

137

帖子

49

积分

Lv.2 石器学徒

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

13

主题

484

帖子

149

积分

Lv.4 怪物猎人

UID
210415
小麦
14
金锭
558
下界之星
0
发表于 2018-6-3 08:30:33 | 显示全部楼层
表示调试棒可是个好东西

13

主题

137

帖子

49

积分

Lv.2 石器学徒

UID
4500435
小麦
0
金锭
154
下界之星
0
 楼主| 发表于 2018-6-3 13:22:07 | 显示全部楼层
hyhyh 发表于 2018-6-3 08:30
表示调试棒可是个好东西

嗯嗯

0

主题

84

帖子

64

积分

Lv.3 矿物能手

UID
5314006
小麦
42
金锭
222
下界之星
0
发表于 2018-6-11 13:10:20 | 显示全部楼层

那我也去下20c,我之前用的是15a(我也碰到了这个问题),现在换成pre-1了。

13

主题

137

帖子

49

积分

Lv.2 石器学徒

UID
4500435
小麦
0
金锭
154
下界之星
0
 楼主| 发表于 2018-6-13 16:39:18 | 显示全部楼层
Entity404 发表于 2018-6-11 13:10
那我也去下20c,我之前用的是15a(我也碰到了这个问题),现在换成pre-1了。

是吧,1.13第一个预览版都出了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

返回顶部