Minecraft Maps / Redstone Device

Creating a spell [COMMAND BLOCKS] [VANILLA] [1.7.2]

  • 4,893 views, 2 today
  • 6
  • 3
  • 5
SimplisticZ's Avatar SimplisticZ
Level 40 : Master Dragonborn
14
SPELLS AND HOW TO GIVE THEM [map download coming soon] [comment if you want me to do another command block tutorial (can be any!)]

In a lot of adventure maps players will be given potion effects or potions that will give them an effect. But what about giving a player a spell which he can activitate whenever he wants instantly? That's my tutorial!

Creating teams

Add a group that you want to enable a certain spell for

Use the following command:
/scoreboard teams add #1
put the name of the group instead of the #1

Adding players to the group

Use the following command:
/scoreboard teams join #1 #2
put the name of the group instead of the #1
put the name of the player instead of the #2


Giving the 'spell'

Giving the player a spell item

Use the following command:
/give #1 395 1 0 {display:{Name:"#2",Lore:["b]#3[/b]"]}}
put the name of the player instead of #1
put the name of the spell instead of #2
put the description of the spell instead of #3

Giving the player a spell item that has enchantment effect
/give #1 395 1 0 {display:{Name:"#2",Lore:["b]#3[/b]"]},ench:{[id:b]#4[/b],lvl:#5]}}

put the name of the player instead of #1
put the name of the spell instead of #2
put the description of the spell instead of #3
put the enchantment id instead of #4 (can be found athttp://minecraft.gamepedia.com/Enchanting)
put the level of the enchantment instead of #5 (can be up to 127)


Creating a listener MAP DOWNLOAD BEING ADDED SOON
]
Building the listener

Make a timer that will send redstone signals into a command block RAPIDLY [as fast as possible]

Fill the following command into a command block:
/clear @a[team=b]#1[/b]] 395
Put the name of your team instead of #1

Next to a command block put a comparator pointing AWAY FROM the command block this will send a redstone signal if the player has right-clicked while holding a map in his/her hand



Creating a sender [MAP DOWNLOAD BEING ADDED SOON]
A sender will give the player the effects of the spell

Out of the comparator signal make it so that when the comparator is powered it will power command blocks

In the command blocks put the following commands:
/effect @a[team=b]#1[/b]]#2#3 #4
put the name of the team instead of#1
put the id of the effect instead of the#2[can be found aturl=minecraft.gamepedia.com/Status_effect]http://minecraft.gamepedia.com/Status_effect[/url]]
put the duration of the effect instead of the#3
put the strength of the effect instead of the#4

YOU CAN ADD AS MANY EFFECTS AS YOU WANT

Adding a message when using the spell

put the following command into a command block that is powered when the comparator turns on:
/tell @a[team=b]#1[/b]]#2
put the name of the team instead of the#1
put the message instead of the#2


How to use the spell
3. Hold the map and right click!


I hope you enjoyed this tutorial and comment if you see any mistakes, have suggestions or want another tutorial!

In the next update there will be added:
- Add pictures of sender/listener
- Add world download
- Add glinstering effect to maps
Progress100% complete
Tags

2 Update Logs

Update #2 : by SimplisticZ 04/13/2014 2:05:47 pmApr 13th, 2014

Making a wenpage dedicated to cb tutorials
LOAD MORE LOGS

Create an account or sign in to comment.

1
03/27/2014 2:07 am
Level 40 : Master Dragonborn
SimplisticZ
SimplisticZ's Avatar
Weird, ill try to make a video tutorial!
1
03/26/2014 8:47 pm
Level 28 : Expert Button Pusher
eab_
eab_'s Avatar
it hasn't worked, and I followed the instructions to the letter.
1
03/27/2014 2:07 am
Level 40 : Master Dragonborn
SimplisticZ
SimplisticZ's Avatar
I will make a video tutorial soon!
1
03/13/2014 2:37 am
Level 1 : New Ninja
abcent27
abcent27's Avatar
can you make a video on this? i dont really know what u want me to do, connect all the command blocks with redstone? or keep them seperate?
1
03/11/2014 3:49 pm
Level 27 : Expert Archer
Katekarin
Katekarin's Avatar
Please Add pictures,
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome