stormtrooper28
New Member
Creating Mobs V Players (Concept from B v Z)
Posts: 14
|
Velocity
Sept 9, 2013 2:36:16 GMT
via mobile
Post by stormtrooper28 on Sept 9, 2013 2:36:16 GMT
Could you give me an example of velocity w/ XYZ, with command block at origin?
|
|
|
Post by dragnoz on Sept 11, 2013 8:09:49 GMT
do you mean in 13w36 snapshot? /summon Fireball ~ ~2 ~ {ExplosionPower:5,direction: [5.0,0.5,0.0] }
|
|
stormtrooper28
New Member
Creating Mobs V Players (Concept from B v Z)
Posts: 14
|
Velocity
Sept 13, 2013 1:20:19 GMT
via mobile
Post by stormtrooper28 on Sept 13, 2013 1:20:19 GMT
I understand the coordinates,basically, but how would I set the speed,(Ex: infinite dispenser, dispensing arrows at 3x the speed of fully drawn bow)?
|
|
|
Post by dragnoz on Sept 13, 2013 10:01:43 GMT
in 1.7 you dont need dispensers you could do something like: /summon Arrow ~ ~2 ~ {ExplosionPower:5,direction: [30.0,0.0,0.0] }
that means it will spawn at the co ords and have a x velocity of 30, you will need to play with the velocity / direction settings to get the right amount
|
|
stormtrooper28
New Member
Creating Mobs V Players (Concept from B v Z)
Posts: 14
|
Post by stormtrooper28 on Sept 14, 2013 17:13:20 GMT
thank you, that was the command I was looking for.
|
|
|
Post by HappyHands on Sept 15, 2013 6:43:15 GMT
For the command; /summon Arrow ~ ~2 ~ {ExplosionPower:5,direction: [30.0,0.0,0.0] }
What exactly are they for?(colored portion)and would it also be possible for a player to right-click with an item and then a arrow could shoot from them without having to re-write the cords again?(not a bow -.- )
|
|
stormtrooper28
New Member
Creating Mobs V Players (Concept from B v Z)
Posts: 14
|
Post by stormtrooper28 on Sept 22, 2013 20:24:19 GMT
I didn't understand it at first, either.
/summon Arrow ~ ~2 ~ {ExplosionPower:5,direction: [30.0,0.0,0.0] }
(summon) (Entity)
(Origin of arrow, tilde{~}means relative to command block)
(Dragnoz, please explain? exploding arrows? power of arrow propelled by 5 explosions? 5 times normal arrow full draw speed? or 5blocks/meters per tick)
(speed of 30 in X direction, please explain this speed)
|
|