1

Command block help

mah0003's Avatar mah00037/13/14 2:15 am
1 emeralds 172 2
7/13/2014 2:38 am
freddy7887's Avatar freddy7887
So I wanted to make a little mini-game where throwing down a blaze rod would teleport a fire-ball towards you that you could shoot at something. I got the basics to work, but I cannot think of a way to teleport the fireball to you. I know ~ ~ ~ teleports it to you if you use the command yourself, but in a command block it teleports to the command block. It's nothing desperate, but would be interesting to know.

P.s: If this is not the right place to post this could you please tell me/redirect it to where it needs to be.
Posted by mah0003's Avatar
mah0003
Level 21 : Expert Dragon
0

Create an account or sign in to comment.

2

1
07/13/2014 2:38 am
Level 18 : Journeyman Toast
freddy7887
freddy7887's Avatar
1.8 only!
I'm not sure how to do it relative to where you're standing, but you can do /execute @a [type=Item(put id for blaze rod and stuff)] summon Fireball ~ ~2 ~ {direction:[1.0,0.0,0.0]} (this is to fly in the positive x direction).
Maybe you could have 4 different blaze rods for each direction?
http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571585-1-7-using-summon-give-datatags-in-map-making
1
07/13/2014 2:29 am
Level 12 : Journeyman Miner
KJP12
KJP12's Avatar
For the teleporting, you could use: /execute @a[(Not sure how to do the scoreboard thing)] ~ ~ ~ summon Fireball ~ ~ ~ {direction:[0.0]} if you are making it for 1.8. Also here is the wiki page for the commands.
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome