jia005144
本帖最后由 jia005144 于 2017-3-3 07:17 编辑

为了简便制作红石音乐的一本指令书不知道能不能用上




其中包含了2个八度 共计25个音  可以在自身位置放置音符盒
下面的更改音符类型 5项可以在脚下生成指定方块

效果视频:
https://www.bilibili.com/html/player.html?aid=8413491&wmode=transparent&as_wide=1&page=1



音符盒指令书:1.8+版本均可 亲测1.10可用
  1. give @p written_book 1 0 {title:"自定义音符盒",author:"子涵",pages:["{text:'',extra:[{text:'  ╬╬╬╬╬',color:light_purple},{text:'原版音符盒',color:blue,bold:true},{text:'╬╬╬╬╬\n',color:light_purple},{text:'按敲击顺序排列:\n',color:black,bold:true},{text:'第一个八度',color:dark_green,bold:true},{text:'(0~12次)\n',color:red,bold:true},{text:'F ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:0}'}},{text:'G ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:1}'}},{text:'G ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:2}'}},{text:'A ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:3}'}},{text:'A ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:4}'}},{text:'B ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:5}'}},{text:'C \n',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:6}'}},{text:'C ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:7}'}},{text:'D ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:8}'}},{text:'D ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:9}'}},{text:'E ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:10}'}},{text:'F ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:11}'}},{text:'F \n',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:12}'}},{text:'第二个八度',color:dark_green,bold:true},{text:'(12~24次)\n',color:red,bold:true},{text:'F ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:12}'}},{text:'G ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:13}'}},{text:'G ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:14}'}},{text:'A ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:15}'}},{text:'A ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:16}'}},{text:'B ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:17}'}},{text:'C \n',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:18}'}},{text:'C ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:19}'}},{text:'D ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:20}'}},{text:'D ',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:21}'}},{text:'E ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:22}'}},{text:'F ',color:blue,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:23}'}},{text:'F \n',color:black,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~ ~ minecraft:noteblock 0 replace {note:24}'}},{text:'\n',color:black,bold:true}, {text:'更改音符类型:\n',color:black,bold:true},{text:'贝司',color:dark_green,bold:true},{text:'(木头)  ',color:red,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~-1 ~ planks'}},{text:'小鼓',color:dark_green,bold:true},{text:'(沙子)\n',color:red,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~-1 ~ sand'}},{text:'棍棒',color:dark_green,bold:true},{text:'(玻璃)  ',color:red,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~-1 ~ glass'}},{text:'大鼓',color:dark_green,bold:true},{text:'(石头)\n',color:red,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~-1 ~ stone'}},{text:'钢琴',color:dark_green,bold:true},{text:'(泥土)',color:red,bold:true,clickEvent:{action:run_command,value:'/setblock ~ ~-1 ~ dirt'}}]}"]}
复制代码

在视频介绍里还有一个持续tp的一键命令
功能主要就是模拟了一下创世神的多项复制功能
具体效果可以参考上面的视频

持续tp命令:(只能向北方 Z负方向)
  1. /summon FallingSand ~ ~1 ~ {Tile:152,Time:10,Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:"fill ~ ~-4 ~1 ~ ~-1 ~1 redstone_block"},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:/summon FallingSand ~ ~4 ~ {Tile:152,Time:10,Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:"fill ~ ~-3 ~1 ~ ~-1 ~1 redstone_block"},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:/summon FallingSand ~ ~5 ~ {TileID:152,Time:1}},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:fill ~ ~-2 ~-1 ~ ~-2 ~-5 unpowered_repeater 0 replace air},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:"setblock ~ ~-1 ~1 redstone_block"},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:"fill ~ ~ ~ ~ ~5 ~1 air"}}}}}}}},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:/summon FallingSand ~ ~-2 ~-4 {Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:"fill ~ ~ ~ ~ ~ ~2 air"},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:blockdata ~ ~ ~2 {Command:"/tp @p ~ ~ ~-2"}}}}}},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:/summon FallingSand ~ ~-1 ~-2 {Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:blockdata ~ ~-1 ~2 {Command:"/tp @p ~ ~ ~-2"}},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:"clone ~ ~1 ~ ~ ~ ~-3 ~ ~ ~-7"}}}}},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:"setblock ~ ~-1 ~1 redstone_block"},Riding:{id:"FallingSand",Tile:137,Time:10,TileEntityData:{Command:"fill ~ ~-1 ~ ~ ~6 ~1 air"}}}}}}}}
复制代码
如果你可以用的上的话  希望在使用后给我留个言
说一下使用的体验和不足  
最后希望大家都能做出自己喜欢的红石音乐




jia005144
没有回复啊,真是遗憾 有没有平时做红石音乐的呢?

归燕
每次看见一大堆的代码,都会说一句,楼主辛苦了!

下一页 最后一页