这便是接下来教程中所出现的两种茶几(一个是单腿,另一个双腿)
9*9平面生成:
生成这样一个缩小方块除了利用滤器:
http://www.mcbbs.net/thread-332808-1-1.html
批量缩小方块
还有手动指令,便于逻辑组执行
通过拼接,以下为各个缩小方块的相对坐标生成指令:
- /summon ArmorStand ~0.65 ~-0.2 ~-0.59 {Equipment:[{id:"minecraft:carpet"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
- /summon ArmorStand ~1.03 ~-0.2 ~-0.59 {Equipment:[{id:"minecraft:carpet"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
- /summon ArmorStand ~0.27 ~-0.2 ~-0.59 {Equipment:[{id:"minecraft:carpet"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
- /summon ArmorStand ~0.27 ~-0.2 ~-0.2 {Equipment:[{id:"minecraft:carpet"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
- /summon ArmorStand ~1.03 ~-0.2 ~-0.2 {Equipment:[{id:"minecraft:carpet"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
- /summon ArmorStand ~0.65 ~-0.2 ~-0.2 {Equipment:[{id:"minecraft:carpet"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
- /summon ArmorStand ~1.03 ~-0.2 ~0.18 {Equipment:[{id:"minecraft:carpet"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
- /summon ArmorStand ~0.27 ~-0.2 ~0.18 {Equipment:[{id:"minecraft:carpet"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
- /summon ArmorStand ~0.65 ~-0.2 ~0.18 {Equipment:[{id:"minecraft:carpet"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}
通过http://www.mcbbs.net/thread-344453-1-1.html的方法单挑指令执行多条指令,折合为一个核心指令:
- /summon MinecartCommandBlock ~ ~4 ~-0.1
- {Command:"/kill@e[type=MinecartCommandBlock,r=8]",Riding:
- {id:"MinecartCommandBlock",Command:"/kill @e[type=Item,r=7]",Riding:
- {id:"MinecartCommandBlock",Command:" /summon ArmorStand ~0.65 ~0.8 ~-0.59 {Equipment:[{id:171},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}",Riding:
- {id:"MinecartCommandBlock",Command:" /summon ArmorStand ~1.03 ~0.8 ~-0.59 {Equipment:[{id:171},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}",Riding:
- {id:"MinecartCommandBlock",Command:" /summon ArmorStand ~0.27 ~0.8 ~-0.59 {Equipment:[{id:171},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}",Riding:
- {id:"MinecartCommandBlock",Command:" /summon ArmorStand ~0.27 ~0.8 ~-0.2 {Equipment:[{id:171},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}",Riding:
- {id:"MinecartCommandBlock",Command:" /summon ArmorStand ~1.03 ~0.8 ~-0.2 {Equipment:[{id:171},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}",Riding:
- {id:"MinecartCommandBlock",Command:" /summon ArmorStand ~1.03 ~0.8 ~0.17 {Equipment:[{id:171},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}",Riding:
- {id:"MinecartCommandBlock",Command:" /summon ArmorStand ~0.65 ~0.8 ~-0.2 {Equipment:[{id:171},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}",Riding:
- {id:"MinecartCommandBlock",Command:" /summon ArmorStand ~0.27 ~0.8 ~0.17 {Equipment:[{id:171},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}",Riding:
- {id:"MinecartCommandBlock",Command:" /summon ArmorStand ~0.65 ~0.8 ~0.17 {Equipment:[{id:171},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[346.0F,44.3F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,DisabledSlots:2069869,ShowArms:0b,Small:0b}",Riding:
- {id:"MinecartCommandBlock",Command:"/kill @e[type=Item,r=7]",Riding:
- {id:"MinecartCommandBlock",Command:"/setblock ~ ~ ~-1 minecraft:lava 7 replace",Riding:
- {id:"FallingSand",Time:1,Block:"minecraft:activator_rail",Riding:
- {id:"FallingSand",Block:"minecraft:redstone_block",Time:1,Riding:
- {id:"Item",Motion:[0.0,0.0,-0.1],Age:5996}}}}}}}}}}}}}}}}
(组直接的方式可以用word文档将里面出现的171改成其他id)
制作茶几:
首先用上面的单指令生成平面
生成的平面ArmorStand(未隐身,便于操作)
用fill填充指令方块上面第二个方块,平面下方的方块一个2*3的平面
单腿:
破坏原来的多条指令,在如图位置放上这两个指令方块:
黑:
- /summon ArmorStand ~0.4 ~1.25 ~0.25 {Equipment:[{id:"minecraft:fence"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[0.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:0b,DisabledSlots:1973790,ShowArms:1b,Small:0b}
白:
- /summon ArmorStand ~0.4 ~1.9 ~0.25 {Equipment:[{id:"minecraft:fence"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[0.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:0b,DisabledSlots:1973790,ShowArms:1b,Small:0b}
通过相对坐标在平面中心生成不同高度生成两个腿
成品
双腿:
破坏原来的多条指令,在如图位置放上这四个指令方块:
红
- /summon ArmorStand ~0.9 ~1.2 ~-0.7 {Equipment:[{id:"minecraft:fence"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[0.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:0b,DisabledSlots:1973790,ShowArms:1b,Small:0b}
黄
- /summon ArmorStand ~0.9 ~1.9 ~-0.7 {Equipment:[{id:"minecraft:fence"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[0.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:0b,DisabledSlots:1973790,ShowArms:1b,Small:0b}
蓝
- /summon ArmorStand ~0.9 ~1.2 ~-0.7 {Equipment:[{id:"minecraft:fence"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[0.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:0b,DisabledSlots:1973790,ShowArms:1b,Small:0b}
绿
- /summon ArmorStand ~0.9 ~1.9 ~-0.7 {Equipment:[{id:"minecraft:fence"},{},{},{},{}],Pose:{Body:[0.0F,0.0F,0.0F],LeftArm:[0.0F,0.0F,0.0F],RightArm:[0.0F,0.0F,0.0F],LeftLeg:[270.0F,0.0F,0.0F],RightLeg:[270.0F,0.0F,0.0F],Head:[0.0F,0.0F,0.0F]},NoGravity:1b,NoBasePlate:1b,Invisible:0b,DisabledSlots:1973790,ShowArms:1b,Small:0b}
成品
最后工作:
- /entitydata @e[type=ArmorStand,r=2] {Invisible:1}
完工!
[groupid=546]Command Block Logic[/groupid]