请选择 进入手机版 | 继续访问电脑版
楼主: xX流浪者Xx

[命令方块] 【1.11-1.12】【OOC】原创命令组件:MINECRAFT与J.K.罗琳的魔法世界

  [复制链接]

71

主题

685

帖子

249

积分

Lv.5 农牧专家

UID
5188282
小麦
1
金锭
956
下界之星
0
 楼主| 发表于 2019-1-16 15:46:45 | 显示全部楼层
OnMyWinds 发表于 2019-1-15 21:20
我也想做过,就是怕侵权

所有非盈利的同人都可以存在,只要所有人都知道作者是罗琳。。。
估计同人不限于文本吧……

0

主题

1

帖子

0

积分

Lv.1 新手木匠

UID
5962462
小麦
0
金锭
0
下界之星
0
发表于 2019-1-16 16:33:31 来自手机 | 显示全部楼层
hhh

6

主题

240

帖子

64

积分

Lv.3 矿物能手

UID
5419482
小麦
-3
金锭
372
下界之星
0
发表于 2019-1-16 21:02:51 | 显示全部楼层
懒人上线

5

主题

15

帖子

11

积分

Lv.1 新手木匠

UID
5788560
小麦
2
金锭
42
下界之星
0
发表于 2019-1-17 01:51:48 | 显示全部楼层
66666666666

8

主题

82

帖子

31

积分

Lv.2 石器学徒

UID
5627379
小麦
1
金锭
96
下界之星
0
发表于 2019-1-17 14:09:30 来自手机 | 显示全部楼层
666

0

主题

4

帖子

1

积分

Lv.1 新手木匠

UID
5962732
小麦
0
金锭
36
下界之星
0
发表于 2019-1-17 15:46:18 来自手机 | 显示全部楼层
威威

3

主题

19

帖子

8

积分

Lv.1 新手木匠

UID
5127787
小麦
0
金锭
50
下界之星
0
发表于 2019-1-18 10:25:05 来自手机 | 显示全部楼层
ooc

71

主题

685

帖子

249

积分

Lv.5 农牧专家

UID
5188282
小麦
1
金锭
956
下界之星
0
 楼主| 发表于 2019-1-18 15:18:58 | 显示全部楼层
重构的快疯掉了……都啥玩意……
我放弃优化了……谁想优化谁优化
  1. init:/scoreboard objectives add usemagic stat.useItem.minecraft.snowball
  2. init:/scoreboard objectives add magic dummy
  3. init:/scoreboard objectives add magic1 dummy
  4. init:/scoreboard objectives add magic2 dummy
  5. init:/scoreboard objectives add magic3 dummy
  6. init:/scoreboard objectives add magic4 dummy
  7. init:/scoreboard objectives add magic5 dummy
  8. init:/scoreboard objectives add magic6 dummy
  9. init:/scoreboard objectives add magic7 dummy
  10. init:/scoreboard objectives add magic8 dummy
  11. init:/scoreboard objectives add mtimer dummy
  12. init:/scoreboard objectives add havewand dummy
  13. init:/scoreboard objectives add martials dummy
  14. init:/gamerule commandBlockOutput false
  15. rcb:/testfor @a[score_magic=0]
  16. /effect @a[score_magic=0] blindness 1 1
  17. /effect @a[score_magic=0] nausea 1 1
  18. /effect @a[score_magic=0] hunger 1 1
  19. /effect @a[score_magic=0] weakness 1 1
  20. /effect @a[score_magic=0] slowness 1 1
  21. /effect @a[score_magic=0] mining_fatigue 1 1
  22. rcb:/scoreboard players add @a magic 1
  23. /scoreboard players set @a[score_magic_min=3001] magic 3000
  24. /scoreboard players set @a havewand 2 {Inventory:[{id:"minecraft:stick",tag:{HideFlags:63b,display:{Name:"魔杖",Lore:["一切魔法的根源"]},ench:[{id:0s,lvl:1s}]}}]}
  25. /scoreboard players remove @a[score_havewand_min=1] havewand 1
  26. /scoreboard players set @e[type=Item] martials 1 {Item:{id:"minecraft:stick",Count:1b},OnGround:1b}
  27. /scoreboard players set @e[type=Item] martials 2 {Item:{id:"minecraft:book",Count:1b},OnGround:1b}
  28. /scoreboard players set @e[type=Item] martials 3 {Item:{id:"minecraft:feather",Count:1b},OnGround:1b}
  29. /scoreboard players set @e[type=Item] martials 4 {Item:{id:"minecraft:string",Count:1b},OnGround:1b}
  30. /scoreboard players set @e[type=Item] martials 5 {Item:{id:"minecraft:bone",Count:1b},OnGround:1b}
  31. /scoreboard players set @e[type=Item] martials 6 {Item:{id:"minecraft:rotten_flesh",Count:1b},OnGround:1b}
  32. /scoreboard players set @e[type=Item] martials 7 {Item:{id:"minecraft:iron_ingot",Count:1b},OnGround:1b}
  33. /scoreboard players set @e[type=Item] martials 8 {Item:{id:"minecraft:diamond",Count:1b},OnGround:1b}
  34. /scoreboard players set @e[type=Item] martials 9 {Item:{id:"minecraft:nether_star",Count:1b},OnGround:1b}
  35. /scoreboard players set @e[type=Item] martials 10 {Item:{id:"minecraft:blaze_powder",Count:1b},OnGround:1b}
  36. /scoreboard players set @e[type=Item] martials 11 {Item:{id:"minecraft:gold_ingot",Count:1b},OnGround:1b}
  37. /scoreboard players set @e[type=Item] martials 12 {Item:{id:"minecraft:lapis_block",Count:1b},OnGround:1b}
  38. /execute @e[type=Item,score_martials_min=1,score_martials=1] ~ ~ ~ execute @e[type=Item,score_martials_min=3,score_martials=5,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:"minecraft:stick",Count:1b,Damage:0s,tag:{HideFlags:63b,display:{Name:"魔杖",Lore:["一切魔法的根源"]},ench:[{id:0s,lvl:1s}]},Motion:[0.0,0.4,0.0]}}
  39. /execute @e[type=Item,score_martials_min=1,score_martials=1] ~ ~ ~ execute @e[type=Item,score_martials_min=3,score_martials=5,r=1] ~ ~ ~ kill @e[type=Item,score_martials_min=1,r=1]
  40. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=3,score_martials=3,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:"minecraft:snowball",Count:1b,Damage:0s,tag:{display:{Name:"魔法-漂浮咒",Lore:["Wingardium Leviosa"]}},Motion:[0.0,0.4,0.0]}}
  41. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=3,score_martials=3,r=1] ~ ~ ~ kill @e[type=Item,score_martials_min=1,r=1]
  42. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=6,score_martials=6,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:"minecraft:snowball",Count:1b,Damage:0s,tag:{display:{Name:"魔法-锁腿咒",Lore:["Locomotor Mortis"]}},Motion:[0.0,0.4,0.0]}}
  43. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=6,score_martials=6,r=1] ~ ~ ~ kill @e[type=Item,score_martials_min=1,r=1]
  44. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=7,score_martials=7,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:"minecraft:snowball",Count:1b,Damage:0s,tag:{display:{Name:"魔法-咒立停",Lore:["Finite Incantatem"]}},Motion:[0.0,0.4,0.0]}}
  45. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=7,score_martials=7,r=1] ~ ~ ~ kill @e[type=Item,score_martials_min=1,r=1]
  46. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=8,score_martials=8,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:"minecraft:snowball",Count:1b,Damage:0s,tag:{display:{Name:"魔法-昏迷咒",Lore:["Stupefy"]}},Motion:[0.0,0.4,0.0]}}
  47. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=8,score_martials=8,r=1] ~ ~ ~ kill @e[type=Item,score_martials_min=1,r=1]
  48. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=9,score_martials=9,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:"minecraft:snowball",Count:1b,Damage:0s,tag:{display:{Name:"魔法-死咒",Lore:["Avada Kedavra"]}},Motion:[0.0,0.4,0.0]}}
  49. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=9,score_martials=9,r=1] ~ ~ ~ kill @e[type=Item,score_martials_min=1,r=1]
  50. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=10,score_martials=10,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:"minecraft:snowball",Count:1b,Damage:0s,tag:{display:{Name:"魔法-火焰咒",Lore:["Incendio"]}},Motion:[0.0,0.4,0.0]}}
  51. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=10,score_martials=10,r=1] ~ ~ ~ kill @e[type=Item,score_martials_min=1,r=1]
  52. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=11,score_martials=11,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:"minecraft:snowball",Count:1b,Damage:0s,tag:{display:{Name:"魔法-复苏咒",Lore:["Episkey"]}},Motion:[0.0,0.4,0.0]}}
  53. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=11,score_martials=11,r=1] ~ ~ ~ kill @e[type=Item,score_martials_min=1,r=1]
  54. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=12,score_martials=12,r=1] ~ ~ ~ summon Item ~ ~0.5 ~ {Item:{id:"minecraft:snowball",Count:1b,Damage:0s,tag:{display:{Name:"魔法-流水咒",Lore:["Aguamenti"]}},Motion:[0.0,0.4,0.0]}}
  55. /execute @e[type=Item,score_martials_min=2,score_martials=2] ~ ~ ~ execute @e[type=Item,score_martials_min=12,score_martials=12,r=1] ~ ~ ~ kill @e[type=Item,score_martials_min=1,r=1]
  56. rcb:/scoreboard players set @a magic1 2 {SelectedItem:{id:"minecraft:snowball",Damage:0s,tag:{display:{Name:"魔法-漂浮咒",Lore:["Wingardium Leviosa"]}}}}
  57. /scoreboard players remove @a[score_magic1_min=1] magic1 1
  58. /execute @a[score_usemagic_min=1,score_magic1_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ scoreboard players tag @e[c=1,type=snowball] add M1
  59. /execute @a[score_usemagic_min=1,score_magic1_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ summon minecraft:item ~ ~1 ~ {CustomName:"Ma1",CustomNameVisible:0,Tags:["Ma1"],Item:{id:"minecraft:snowball",Count:1b,Damage:0s},PickupDelay:32767s,Age:-32767s}
  60. /execute @a[score_usemagic_min=1,score_magic1_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ /tellraw @a ["",{"text":"<","color":"aqua"},{"selector":"@p","color":"aqua","bold":true},{"text":"> Wingardium Leviosa!","color":"aqua","bold":false}]
  61. /give @a[score_usemagic_min=1,score_magic1_min=1] minecraft:snowball 1 0 {display:{Name:"魔法-漂浮咒",Lore:["Wingardium Leviosa"]}}
  62. /scoreboard players remove @a[score_usemagic_min=1,score_magic1_min=1,score_havewand_min=1,score_magic_min=1] magic 100
  63. /execute @e[type=snowball,tag=M1] ~ ~ ~ tp @e[type=item,tag=Ma1,c=1] @e[type=snowball,tag=M1,c=1]
  64. /scoreboard players add @e[type=item,tag=Ma1] mtimer 1
  65. /execute @e[type=snowball,tag=M1] ~ ~ ~ scoreboard players set @e[type=item,c=1,tag=Ma1] mtimer 0
  66. /execute @e[type=snowball,tag=M1] ~ ~ ~ particle endRod ~ ~ ~ 0 0 0 0.1 1 force @a
  67. /execute @e[type=item,tag=Ma1,score_mtimer_min=2] ~ ~ ~ effect @e[r=2,tag=!Ma1,c=1] levitation 8 0
  68. /execute @e[type=item,tag=Ma1,score_mtimer_min=2] ~ ~ ~ particle endRod ~ ~ ~ 0 0 0 0.1 50 force @a
  69. /kill @e[type=item,tag=Ma1,score_mtimer_min=2]
  70. rcb:/scoreboard players set @a magic2 2 {SelectedItem:{id:"minecraft:snowball",Damage:0s,tag:{display:{Name:"魔法-锁腿咒",Lore:["Locomotor Mortis"]}}}}
  71. /scoreboard players remove @a[score_magic2_min=1] magic2 1
  72. /execute @a[score_usemagic_min=1,score_magic2_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ scoreboard players tag @e[c=1,type=snowball] add M2
  73. /execute @a[score_usemagic_min=1,score_magic2_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ summon minecraft:item ~ ~1 ~ {CustomName:"Ma2",CustomNameVisible:0,Tags:["Ma2"],Item:{id:"minecraft:nether_star",Count:1b,Damage:0s},PickupDelay:32767s,Age:-32767s}
  74. /execute @a[score_usemagic_min=1,score_magic2_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ /tellraw @a ["",{"text":"<","color":"aqua"},{"selector":"@p","color":"aqua","bold":true},{"text":"> Locomotor Mortis!","color":"aqua","bold":false}]
  75. /give @a[score_usemagic_min=1,score_magic2_min=1] minecraft:snowball 1 0 {display:{Name:"魔法-锁腿咒",Lore:["Locomotor Mortis"]}}
  76. /scoreboard players remove @a[score_usemagic_min=1,score_magic2_min=1,score_havewand_min=1,score_magic_min=1] magic 200
  77. /execute @e[type=snowball,tag=M2] ~ ~ ~ tp @e[type=item,tag=Ma2,c=1] @e[type=snowball,tag=M2,c=1]
  78. /scoreboard players add @e[type=item,tag=Ma2] mtimer 1
  79. /execute @e[type=snowball,tag=M2] ~ ~ ~ scoreboard players set @e[type=item,c=1,tag=Ma2] mtimer 0
  80. /execute @e[type=snowball,tag=M2] ~ ~ ~ particle crit ~ ~ ~ 0 0 0 0.1 1 force @a
  81. /execute @e[type=item,tag=Ma2,score_mtimer_min=2] ~ ~ ~ effect @e[r=2,tag=!Ma2,c=1] slowness 20 3
  82. /execute @e[type=item,tag=Ma2,score_mtimer_min=2] ~ ~ ~ particle magicCrit ~ ~ ~ 0 0 0 0.1 50 force @a
  83. /kill @e[type=item,tag=Ma2,score_mtimer_min=2]
  84. /scoreboard players set @a magic3 2 {SelectedItem:{id:"minecraft:snowball",Damage:0s,tag:{display:{Name:"魔法-咒立停",Lore:["Finite Incantatem"]}}}}
  85. /scoreboard players remove @a[score_magic3_min=1] magic3 1
  86. /execute @a[score_usemagic_min=1,score_magic3_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ scoreboard players tag @e[c=1,type=snowball] add M3
  87. /execute @a[score_usemagic_min=1,score_magic3_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ summon minecraft:item ~ ~1 ~ {CustomName:"Ma3",CustomNameVisible:0,Tags:["Ma3"],Item:{id:"minecraft:snowball",Count:1b,Damage:0s},PickupDelay:32767s,Age:-32767s}
  88. /execute @a[score_usemagic_min=1,score_magic3_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ /tellraw @a ["",{"text":"<","color":"aqua"},{"selector":"@p","color":"aqua","bold":true},{"text":"> Finite Incantatem!","color":"aqua","bold":false}]
  89. /give @a[score_usemagic_min=1,score_magic3_min=1] minecraft:snowball 1 0 {display:{Name:"魔法-咒立停",Lore:["Finite Incantatem"]}}
  90. /scoreboard players remove @a[score_usemagic_min=1,score_magic3_min=1,score_havewand_min=1,score_magic_min=1] magic 400
  91. /execute @e[type=snowball,tag=M3] ~ ~ ~ tp @e[type=item,tag=Ma3,c=1] @e[type=snowball,tag=M3,c=1]
  92. /scoreboard players add @e[type=item,tag=Ma3] mtimer 1
  93. /execute @e[type=snowball,tag=M3] ~ ~ ~ scoreboard players set @e[type=item,c=1,tag=Ma3] mtimer 0
  94. /execute @e[type=snowball,tag=M3] ~ ~ ~ particle smoke ~ ~ ~ 0 0 0 0.1 1 force @a
  95. /execute @e[type=item,tag=Ma3,score_mtimer_min=2] ~ ~ ~ effect @e[r=2,tag=!Ma3,c=1] clear
  96. /execute @e[type=item,tag=Ma3,score_mtimer_min=2] ~ ~ ~ particle largesmoke ~ ~ ~ 0 0 0 0.1 50 force @a
  97. /kill @e[type=item,tag=Ma3,score_mtimer_min=2]
  98. /scoreboard players set @a magic4 2 {SelectedItem:{id:"minecraft:snowball",Damage:0s,tag:{display:{Name:"魔法-昏迷咒",Lore:["Stupefy"]}}}}
  99. /scoreboard players remove @a[score_magic4_min=1] magic4 1
  100. /execute @a[score_usemagic_min=1,score_magic4_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ scoreboard players tag @e[c=1,type=snowball] add M4
  101. /execute @a[score_usemagic_min=1,score_magic4_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ summon minecraft:item ~ ~1 ~ {CustomName:"Ma4",CustomNameVisible:0,Tags:["Ma4"],Item:{id:"minecraft:redstone",Count:1b,Damage:0s},PickupDelay:32767s,Age:-32767s}
  102. /execute @a[score_usemagic_min=1,score_magic4_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ /tellraw @a ["",{"text":"<","color":"aqua"},{"selector":"@p","color":"aqua","bold":true},{"text":"> Stupefy!","color":"aqua","bold":false}]
  103. /give @a[score_usemagic_min=1,score_magic4_min=1] minecraft:snowball 1 0 {display:{Name:"魔法-昏迷咒",Lore:["Stupefy"]}}
  104. /scoreboard players remove @a[score_usemagic_min=1,score_magic4_min=1,score_havewand_min=1,score_magic_min=1] magic 600
  105. /execute @e[type=snowball,tag=M4] ~ ~ ~ tp @e[type=item,tag=Ma4,c=1] @e[type=snowball,tag=M4,c=1]
  106. /scoreboard players add @e[type=item,tag=Ma4] mtimer 1
  107. /execute @e[type=snowball,tag=M4] ~ ~ ~ scoreboard players set @e[type=item,c=1,tag=Ma4] mtimer 0
  108. /execute @e[type=snowball,tag=M4] ~ ~ ~ particle lava ~ ~ ~ 0 0 0 0.1 1 force @a
  109. /execute @e[type=item,tag=Ma4,score_mtimer_min=2] ~ ~ ~ effect @e[r=2,tag=!Ma4,c=1] slowness 120 10
  110. /execute @e[type=item,tag=Ma4,score_mtimer_min=2] ~ ~ ~ effect @e[r=2,tag=!Ma4,c=1] mining_fatigue 120 10
  111. /execute @e[type=item,tag=Ma4,score_mtimer_min=2] ~ ~ ~ effect @e[r=2,tag=!Ma4,c=1] weakness 120 10
  112. /execute @e[type=item,tag=Ma4,score_mtimer_min=2] ~ ~ ~ effect @e[r=2,tag=!Ma4,c=1] blindness 120 10
  113. /execute @e[type=item,tag=Ma4,score_mtimer_min=2] ~ ~ ~ particle dripLava ~ ~ ~ 0 0 0 0.1 50 force @a
  114. /kill @e[type=item,tag=Ma4,score_mtimer_min=2]
  115. /scoreboard players set @a magic5 2 {SelectedItem:{id:"minecraft:snowball",Damage:0s,tag:{display:{Name:"魔法-死咒",Lore:["Avada Kedavra"]}}}}
  116. /scoreboard players remove @a[score_magic5_min=1] magic5 1
  117. /execute @a[score_usemagic_min=1,score_magic5_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ scoreboard players tag @e[c=1,type=snowball] add M5
  118. /execute @a[score_usemagic_min=1,score_magic5_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ summon minecraft:item ~ ~1 ~ {CustomName:"Ma5",CustomNameVisible:0,Tags:["Ma5"],Item:{id:"minecraft:emerald",Count:1b,Damage:0s},PickupDelay:32767s,Age:-32767s}
  119. /execute @a[score_usemagic_min=1,score_magic5_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ /tellraw @a ["",{"text":"<","color":"aqua"},{"selector":"@p","color":"aqua","bold":true},{"text":"> Avada Kedavra!","color":"aqua","bold":false}]
  120. /give @a[score_usemagic_min=1,score_magic5_min=1] minecraft:snowball 1 0 {display:{Name:"魔法-死咒",Lore:["Avada Kedavra"]}}
  121. /scoreboard players remove @a[score_usemagic_min=1,score_magic5_min=1,score_havewand_min=1,score_magic_min=1] magic 1200
  122. /execute @e[type=snowball,tag=M5] ~ ~ ~ tp @e[type=item,tag=Ma5,c=1] @e[type=snowball,tag=M5,c=1]
  123. /scoreboard players add @e[type=item,tag=Ma5] mtimer 1
  124. /execute @e[type=snowball,tag=M5] ~ ~ ~ scoreboard players set @e[type=item,c=1,tag=Ma5] mtimer 0
  125. /execute @e[type=snowball,tag=M5] ~ ~ ~ particle happyVillager ~ ~ ~ 0 0 0 0.1 1 force @a
  126. /execute @e[type=item,tag=Ma5,score_mtimer_min=2] ~ ~ ~ kill @e[r=2,tag=!Ma5,c=1]
  127. /execute @e[type=item,tag=Ma5,score_mtimer_min=2] ~ ~ ~ particle happyVillager ~ ~ ~ 0 0 0 0.1 50 force @a
  128. /kill @e[type=item,tag=Ma5,score_mtimer_min=2]
  129. rcb:
  130. /scoreboard players set @a magic6 2 {SelectedItem:{id:"minecraft:snowball",Damage:0s,tag:{display:{Name:"魔法-火焰咒",Lore:["Incendio"]}}}}
  131. /scoreboard players remove @a[score_magic6_min=1] magic6 1
  132. /execute @a[score_usemagic_min=1,score_magic6_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ scoreboard players tag @e[c=1,type=snowball] add M6
  133. /execute @a[score_usemagic_min=1,score_magic6_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ summon minecraft:item ~ ~1 ~ {CustomName:"Ma6",CustomNameVisible:0,Tags:["Ma6"],Item:{id:"minecraft:snowball",Count:1b,Damage:0s},PickupDelay:32767s,Age:-32767s}
  134. /execute @a[score_usemagic_min=1,score_magic6_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ /tellraw @a ["",{"text":"<","color":"aqua"},{"selector":"@p","color":"aqua","bold":true},{"text":"> Incendio!","color":"aqua","bold":false}]
  135. /give @a[score_usemagic_min=1,score_magic6_min=1] minecraft:snowball 1 0 {display:{Name:"魔法-火焰咒",Lore:["Incendio"]}}
  136. /scoreboard players remove @a[score_usemagic_min=1,score_magic6_min=1,score_havewand_min=1,score_magic_min=1] magic 600
  137. /execute @e[type=snowball,tag=M6] ~ ~ ~ tp @e[type=item,tag=Ma6,c=1] @e[type=snowball,tag=M6,c=1]
  138. /scoreboard players add @e[type=item,tag=Ma6] mtimer 1
  139. /execute @e[type=snowball,tag=M6] ~ ~ ~ scoreboard players set @e[type=item,c=1,tag=Ma6] mtimer 0
  140. /execute @e[type=snowball,tag=M6] ~ ~ ~ particle flame ~ ~ ~ 0 0 0 0.1 1 force @a
  141. /execute @e[type=item,tag=Ma6,score_mtimer_min=2] ~ ~ ~ /fill ~3 ~1 ~3 ~-3 ~-1 ~-3 fire 0 replace air
  142. /execute @e[type=item,tag=Ma6,score_mtimer_min=2] ~ ~ ~ particle flame ~ ~ ~ 0 0 0 0.1 50 force @a
  143. /kill @e[type=item,tag=Ma6,score_mtimer_min=2]
  144. /scoreboard players set @a magic7 2 {SelectedItem:{id:"minecraft:snowball",Damage:0s,tag:{display:{Name:"魔法-复苏咒",Lore:["Episkey"]}}}}
  145. /scoreboard players remove @a[score_magic7_min=1] magic7 1
  146. /execute @a[score_usemagic_min=1,score_magic7_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ scoreboard players tag @e[c=1,type=snowball] add M7
  147. /execute @a[score_usemagic_min=1,score_magic7_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ summon minecraft:item ~ ~1 ~ {CustomName:"Ma7",CustomNameVisible:0,Tags:["Ma7"],Item:{id:"minecraft:snowball",Count:1b,Damage:0s},PickupDelay:32767s,Age:-32767s}
  148. /execute @a[score_usemagic_min=1,score_magic7_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ /tellraw @a ["",{"text":"<","color":"aqua"},{"selector":"@p","color":"aqua","bold":true},{"text":"> Episkey!","color":"aqua","bold":false}]
  149. /give @a[score_usemagic_min=1,score_magic7_min=1] minecraft:snowball 1 0 {display:{Name:"魔法-复苏咒",Lore:["Episkey"]}}
  150. /scoreboard players remove @a[score_usemagic_min=1,score_magic7_min=1,score_havewand_min=1,score_magic_min=1] magic 400
  151. /execute @e[type=snowball,tag=M7] ~ ~ ~ tp @e[type=item,tag=Ma7,c=1] @e[type=snowball,tag=M7,c=1]
  152. /scoreboard players add @e[type=item,tag=Ma7] mtimer 1
  153. /execute @e[type=snowball,tag=M7] ~ ~ ~ scoreboard players set @e[type=item,c=1,tag=Ma7] mtimer 0
  154. /execute @e[type=snowball,tag=M7] ~ ~ ~ particle witchMagic ~ ~ ~ 0 0 0 0.1 1 force @a
  155. /execute @e[type=item,tag=Ma7,score_mtimer_min=2] ~ ~ ~ effect @e[r=2,tag=!Ma7,c=1] instant_health 1 1
  156. /execute @e[type=item,tag=Ma7,score_mtimer_min=2] ~ ~ ~ effect @e[r=2,tag=!Ma7,c=1] regeneration 20 1
  157. /execute @e[type=item,tag=Ma7,score_mtimer_min=2] ~ ~ ~ particle witchMagic ~ ~ ~ 0 0 0 0.1 50 force @a
  158. /kill @e[type=item,tag=Ma7,score_mtimer_min=2]
  159. /scoreboard players set @a magic8 2 {SelectedItem:{id:"minecraft:snowball",Damage:0s,tag:{display:{Name:"魔法-流水咒",Lore:["Aguamenti"]}}}}
  160. /scoreboard players remove @a[score_magic8_min=1] magic8 1
  161. /execute @a[score_usemagic_min=1,score_magic8_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ scoreboard players tag @e[c=1,type=snowball] add M8
  162. /execute @a[score_usemagic_min=1,score_magic8_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ summon minecraft:item ~ ~1 ~ {CustomName:"Ma8",CustomNameVisible:0,Tags:["Ma8"],Item:{id:"minecraft:snowball",Count:1b,Damage:0s},PickupDelay:32767s,Age:-32767s}
  163. /execute @a[score_usemagic_min=1,score_magic8_min=1,score_havewand_min=1,score_magic_min=1] ~ ~ ~ /tellraw @a ["",{"text":"<","color":"aqua"},{"selector":"@p","color":"aqua","bold":true},{"text":"> Aguamenti!","color":"aqua","bold":false}]
  164. /give @a[score_usemagic_min=1,score_magic8_min=1] minecraft:snowball 1 0 {display:{Name:"魔法-流水咒",Lore:["Aguamenti"]}}
  165. /scoreboard players remove @a[score_usemagic_min=1,score_magic8_min=1,score_havewand_min=1,score_magic_min=1] magic 400
  166. /execute @e[type=snowball,tag=M8] ~ ~ ~ tp @e[type=item,tag=Ma8,c=1] @e[type=snowball,tag=M8,c=1]
  167. /scoreboard players add @e[type=item,tag=Ma8] mtimer 1
  168. /execute @e[type=snowball,tag=M8] ~ ~ ~ scoreboard players set @e[type=item,c=1,tag=Ma8] mtimer 0
  169. /execute @e[type=snowball,tag=M8] ~ ~ ~ particle dripWater ~ ~ ~ 0 0 0 0.1 1 force @a
  170. /execute @e[type=item,tag=Ma8,score_mtimer_min=2] ~ ~ ~ /fill ~1 ~ ~1 ~-1 ~ ~-1 water 0 replace air
  171. /execute @e[type=item,tag=Ma8,score_mtimer_min=2] ~ ~ ~ particle splash ~ ~ ~ 0 0 0 0.1 50 force @a
  172. /kill @e[type=item,tag=Ma8,score_mtimer_min=2]
  173. /scoreboard players set @a[score_usemagic_min=1] usemagic 0
  174. /give @a[tag=!havemanual] written_book 1 0 {pages:["{"text":"\\u6b22\\u8fce\\u6765\\u5230minecraft\\u4e0e\\u9b54\\u6cd5\\u4e16\\u754c\\uff01\\n\\u9b54\\u6cd5\\u4e16\\u754c\\u4ee5\\u53ca\\u54c8\\u5229\\u6ce2\\u7279\\u7684\\u4e00\\u5207\\u7248\\u6743\\u5f52J.K.\\u7f57\\u7433\\u6240\\u6709\\u3002\\n\\u76ee\\u5f55\\uff1a\\n1-\\u76ee\\u5f55\\n2-\\u9b54\\u529b\\n3-\\u9b54\\u6756\\n4-\\u6f02\\u6d6e\\u5492,\\u9501\\u817f\\u5492\\n5-\\u5492\\u7acb\\u505c,\\u590d\\u82cf\\u5492\\n6-\\u660f\\u8ff7\\u5492,\\u706b\\u7130\\u5492\\n7-\\u6d41\\u6c34\\u5492\\n\\u200b8-\\u6b7b\\u5492"}","{"text":"\\u200b\\u9b54\\u529b\\uff1a\\u8fd9\\u662f\\u4e00\\u5207\\u9b54\\u6cd5\\u4f7f\\u7528\\u7684\\u80fd\\u91cf\\u3002\\u8fd9\\u79cd\\u80fd\\u91cf\\u4f1a\\u4ee520\\u70b9/\\u79d2\\u7684\\u901f\\u5ea6\\u81ea\\u7136\\u56de\\u590d\\u3002\\u5f53\\u7136\\uff0c\\u9b54\\u529b\\u662f\\u6709\\u4e0a\\u9650\\u7684\\uff0c\\u4e0a\\u9650\\u4e3a3000\\u70b9\\u3002\\u867d\\u7136\\u8fd9\\u4e9b\\u6570\\u5b57\\u770b\\u8d77\\u6765\\u5f88\\u591a\\uff0c\\u4f46\\u662f\\u4e00\\u822c\\u7684\\u9b54\\u5492\\u4f7f\\u7528\\u7684\\u9b54\\u529b\\u90fd\\u662f\\u4ee5100\\u4e3a\\u5355\\u4f4d\\u7684\\u3002\\u5f53\\u9b54\\u529b<0\\u65f6\\uff0c\\u4f60\\u5c31\\u8fdb\\u5165\\u4e86\\u201c\\u9b54\\u529b\\u8d85\\u652f\\u201d\\u72b6\\u6001\\u3002\\u8be5\\u72b6\\u6001\\u4e0b\\uff0c\\u4f60\\u4f1a\\u83b7\\u5f97\\u5927\\u91cf\\u7684debuff\\u4e14\\u53ea\\u80fd\\u4f7f\\u7528\\u5f31\\u9b54\\u5492\\uff08\\u4e0d\\u4f1a\\u6709\\u4f24\\u5bb3\\u548c\\u7279\\u6548\\uff09"}","{"text":"\\u9b54\\u6756\\u662f\\u4f7f\\u7528\\u4e00\\u5207\\u9b54\\u6cd5\\u7684\\u9014\\u5f84\\u3002\\u6ca1\\u6709\\u5b83\\uff0c\\u4f60\\u53ea\\u80fd\\u65bd\\u653e\\u5f31\\u9b54\\u5492\\u3002\\u9b54\\u6756\\u9700\\u8981\\u4e00\\u4e2a\\u6728\\u68cd\\u548c\\u4e00\\u4e2a\\u6756\\u82af\\u3002\\u6756\\u82af\\u6709\\u4e09\\u79cd\\u6750\\u8d28\\uff1a\\u7fbd\\u6bdb\\uff0c\\u9aa8\\u5934\\u548c\\u86db\\u4e1d\\u3002\\u5c06\\u6728\\u68cd\\u548c\\u6756\\u82af\\u6254\\u5728\\u5730\\u4e0a\\u5408\\u6210\\u3002\\u653e\\u5728\\u526f\\u624b\\u4e0a\\u4f60\\u5c31\\u53ef\\u4ee5\\u4f7f\\u7528\\u5492\\u8bed\\u4e86\\u3002\\u6ce8\\uff1a\\u5492\\u8bed\\u4ec5\\u5728\\u6253\\u4e2d\\u79bb\\u76ee\\u6807\\u8db3\\u591f\\u8fd1\\u65b9\\u5757/\\u6253\\u4e2d\\u751f\\u7269\\u7684\\u817f\\u90e8\\u5206\\u65f6\\u6709\\u6548\\u200b"}","{"text":"\\n\\u6f02\\u6d6e\\u5492\\u662f\\u4e00\\u4e2a\\u53ef\\u4ee5\\u8ba9\\u4f60\\u628a\\u751f\\u7269\\u6d6e\\u8d77\\u7684\\u9b54\\u5492\\u3002\\u5b83\\u9700\\u8981\\u4e00\\u4e2a\\u7fbd\\u6bdb\\u548c\\u4e00\\u672c\\u4e66\\u6765\\u5b66\\u4e60\\u3002\\u5c06\\u5b83\\u4eec\\u6254\\u5728\\u5730\\u4e0a\\u5408\\u6210\\u3002\\u53f3\\u952e\\u53ef\\u4ee5\\u4f7f\\u7528\\uff08\\u524d\\u63d0\\u662f\\u6709\\u9b54\\u6756\\uff09\\n\\u5b83\\u9700\\u8981100\\u70b9\\u9b54\\u529b\\u3002\\n\\u9501\\u817f\\u5492\\u662f\\u4e00\\u4e2a\\u53ef\\u4ee5\\u8ba9\\u4f60\\u5c06\\u751f\\u7269\\u51cf\\u901f\\u7684\\u9b54\\u5492\\u3002\\u5b83\\u9700\\u8981\\u4e00\\u4e2a\\u8150\\u8089\\u548c\\u4e00\\u672c\\u4e66\\u6765\\u5b66\\u4e60\\u3002\\u5c06\\u5b83\\u4eec\\u6254\\u5728\\u5730\\u4e0a\\u5408\\u6210\\u3002\\u53f3\\u952e\\u53ef\\u4ee5\\u4f7f\\u7528\\uff08\\u524d\\u63d0\\u662f\\u6709\\u9b54\\u6756\\uff09\\n\\u200b\\u5b83\\u9700\\u8981200\\u70b9\\u9b54\\u529b\\u3002"}","{"text":"\\n\\u5492\\u7acb\\u505c\\u53ef\\u4ee5\\u6d88\\u9664\\u4e00\\u5207\\u8fd8\\u5728\\u4f5c\\u7528\\u7684\\u9b54\\u5492\\u548c\\u539f\\u7248\\u7684\\u836f\\u6c34\\u6548\\u679c\\u3002\\u5b83\\u9700\\u8981\\u4e00\\u4e2a\\u94c1\\u952d\\u548c\\u4e00\\u672c\\u4e66\\u6765\\u5b66\\u4e60\\u3002\\u5c06\\u5b83\\u4eec\\u6254\\u5728\\u5730\\u4e0a\\u5408\\u6210\\u3002\\u53f3\\u952e\\u53ef\\u4ee5\\u4f7f\\u7528\\uff08\\u524d\\u63d0\\u662f\\u6709\\u9b54\\u6756\\uff09\\n\\u5b83\\u9700\\u8981400\\u70b9\\u9b54\\u529b\\u3002\\n\\u590d\\u82cf\\u5492\\u53ef\\u4ee5\\u8ba9\\u4f60\\u6cbb\\u7597\\u975e\\u4ea1\\u7075\\u751f\\u7269\\u548c\\u4f24\\u5bb3\\u4ea1\\u7075\\u3002\\u5b83\\u9700\\u8981\\u4e00\\u4e2a\\u91d1\\u952d\\u548c\\u4e00\\u672c\\u4e66\\u6765\\u5b66\\u4e60\\u3002\\u5c06\\u5b83\\u4eec\\u6254\\u5728\\u5730\\u4e0a\\u5408\\u6210\\u3002\\u53f3\\u952e\\u53ef\\u4ee5\\u4f7f\\u7528\\uff08\\u524d\\u63d0\\u662f\\u6709\\u9b54\\u6756\\uff09\\n\\u200b\\u5b83\\u9700\\u8981400\\u70b9\\u9b54\\u529b\\u3002"}","{"text":"\\u660f\\u8ff7\\u5492\\u53ef\\u4ee5\\u8ba9\\u4e00\\u4e2a\\u751f\\u7269\\u9677\\u5165\\u201c\\u660f\\u8ff7\\u201d\\u72b6\\u6001\\u3002\\u5b83\\u9700\\u8981\\u4e00\\u4e2a\\u94bb\\u77f3\\u548c\\u4e00\\u672c\\u4e66\\u6765\\u5b66\\u4e60\\u3002\\u5c06\\u5b83\\u4eec\\u6254\\u5728\\u5730\\u4e0a\\u5408\\u6210\\u3002\\u53f3\\u952e\\u53ef\\u4ee5\\u4f7f\\u7528\\uff08\\u524d\\u63d0\\u662f\\u6709\\u9b54\\u6756\\uff09\\n\\u5b83\\u9700\\u8981600\\u70b9\\u9b54\\u529b\\u3002\\n\\u706b\\u7130\\u5492\\u53ef\\u4ee5\\u8ba9\\u4f60\\u65bd\\u653e\\u706b\\u7130\\u3002\\u5b83\\u9700\\u8981\\u4e00\\u4e2a\\u70c8\\u7130\\u7c89\\u548c\\u4e00\\u672c\\u4e66\\u6765\\u5b66\\u4e60\\u3002\\u5c06\\u5b83\\u4eec\\u6254\\u5728\\u5730\\u4e0a\\u5408\\u6210\\u3002\\u53f3\\u952e\\u53ef\\u4ee5\\u4f7f\\u7528\\uff08\\u524d\\u63d0\\u662f\\u6709\\u9b54\\u6756\\uff09\\n\\u200b\\u5b83\\u9700\\u8981600\\u70b9\\u9b54\\u529b\\u3002\\u200b"}","{"text":"\\u6d41\\u6c34\\u5492\\u53ef\\u4ee5\\u8ba9\\u4f60\\u653e\\u6c34(x)\\u3002\\u5b83\\u9700\\u8981\\u4e00\\u4e2a\\u9752\\u91d1\\u77f3\\u5757\\u548c\\u4e00\\u672c\\u4e66\\u6765\\u5b66\\u4e60\\u3002\\u5c06\\u5b83\\u4eec\\u6254\\u5728\\u5730\\u4e0a\\u5408\\u6210\\u3002\\u53f3\\u952e\\u53ef\\u4ee5\\u4f7f\\u7528\\uff08\\u524d\\u63d0\\u662f\\u6709\\u9b54\\u6756\\uff09\\n\\u200b\\u5b83\\u9700\\u8981600\\u70b9\\u9b54\\u529b\\u3002"}","{"text":"\\u6b7b\\u5492\\u662f\\u6700\\u90aa\\u6076\\u7684\\u5492\\u8bed\\u3002\\u5b83\\u53ea\\u6709\\u5728\\u4f60\\u51fb\\u8d25\\u6b7b\\u4ea1\\u7684\\u5316\\u8eab\\u65f6\\uff0c\\u6b7b\\u4ea1\\u624d\\u4f1a\\u81ea\\u613f\\u6210\\u4e3a\\u4f60\\u7684\\u4ec6\\u4ece\\u3002\\u4ec5\\u6709\\u5c06\\u4e00\\u5207\\u90aa\\u6076\\u548c\\u6b7b\\u4ea1\\u7684\\u5316\\u8eab-\\u51cb\\u96f6\\u51fb\\u8d25\\u5e76\\u628a\\u5b83\\u6389\\u843d\\u7684\\u4e0b\\u754c\\u4e4b\\u661f-\\u6b7b\\u4ea1\\u7684\\u7ed3\\u6676-\\u540c\\u4e00\\u672c\\u4e66\\u5408\\u6210\\u3002\\u8fd9\\u6837\\uff0c\\u4f60\\u624d\\u80fd\\u5b66\\u4e60\\u6700\\u90aa\\u6076\\u7684\\u5492\\u8bed-\\u963f\\u74e6\\u8fbe\\u7d22\\u547d\\u3002\\n\\u200b\\u5b83\\u9700\\u89811200\\u70b9\\u9b54\\u6cd5-\\u4f46\\u8fd9\\u4e0d\\u662f\\u5173\\u952e\\u3002\\u5b83\\u53ef\\u4ee5\\u6740\\u6b7b\\u6240\\u6709\\u4e1c\\u897f\\u3002\\u751a\\u81f3\\u5305\\u62ec\\u521b\\u9020\\u6a21\\u5f0f\\u7684\\u73a9\\u5bb6\\u3002\\u5b83\\u76f4\\u63a5\\u653b\\u51fb\\u7075\\u9b42\\u3002\\u5b83\\u662f\\u6700\\u53ef\\u6015\\u7684\\u5492\\u8bed\\u3002"}"],title:"魔法手册",author:"流浪者",display:{Lore:["一切魔法的介绍"]}}
  175. /scoreboard players tag @a[tag=!havemanual] add havemanual
复制代码

71

主题

685

帖子

249

积分

Lv.5 农牧专家

UID
5188282
小麦
1
金锭
956
下界之星
0
 楼主| 发表于 2019-1-18 15:20:01 | 显示全部楼层
magic.txt (27.16 KB, 下载次数: 0)

3

主题

233

帖子

55

积分

Lv.3 矿物能手

UID
4068601
小麦
-7
金锭
190
下界之星
0
发表于 2019-1-20 21:42:40 | 显示全部楼层
好酷啊

3

主题

233

帖子

55

积分

Lv.3 矿物能手

UID
4068601
小麦
-7
金锭
190
下界之星
0
发表于 2019-1-22 13:04:01 | 显示全部楼层
你这个要版权吗

3

主题

233

帖子

55

积分

Lv.3 矿物能手

UID
4068601
小麦
-7
金锭
190
下界之星
0
发表于 2019-1-22 13:04:26 | 显示全部楼层
不要的话我能做个魔法游戏吗

0

主题

3

帖子

1

积分

Lv.1 新手木匠

UID
659654
小麦
0
金锭
52
下界之星
0
发表于 2019-1-22 18:47:15 来自手机 | 显示全部楼层
头像赞

1

主题

10

帖子

4

积分

Lv.1 新手木匠

UID
81117
小麦
0
金锭
95
下界之星
0
发表于 2019-1-24 12:10:52 来自手机 | 显示全部楼层
命令方块太多 太卡

3

主题

68

帖子

6

积分

Lv.1 新手木匠

UID
164363
小麦
-14
金锭
81
下界之星
0
发表于 2019-1-27 13:25:07 来自手机 | 显示全部楼层
不错
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

返回顶部