1
[COMMAND BLOCK PROBLEM] Can you apply motion to players?
Hey, I was wondering whether you can use entitydata to apply motion to players. If you can't, is there another way to?
Cheers,
Radiant
Cheers,
Radiant
8
If I remember correctly snowballs don't do damage, however they do leave a pretty large particle effect when they hit something. That and for some reason I had trouble with making snowballs actually knock me back, that's something I'd have to look into.
Arrows on the other hand don't leave particles, but they do deal damage and stick in the player. The damage issue can be solved by giving the player a resistance effect for a short time, but as far as I'm aware there's nothing that can really be done about arrows stuck in the player (unless the kill command still works on them there).
In the end it's going to depend on the situation and what works out best for you, and what we can figure out first.
Arrows on the other hand don't leave particles, but they do deal damage and stick in the player. The damage issue can be solved by giving the player a resistance effect for a short time, but as far as I'm aware there's nothing that can really be done about arrows stuck in the player (unless the kill command still works on them there).
In the end it's going to depend on the situation and what works out best for you, and what we can figure out first.
For some reason I can't get ANYTHING to get summoned under me and actually hit me :/
Well first things first, what direction are you trying to push the player, and what command are you using? Just copy/paste from the command block. You can't select the command with the mouse though, just hit ctrl+a to select it all.
I just want the player to be pushed up.
The entitydata command actually doesn't work on players at all. You may be able to use teleports like ean521 said, or you could try summoning arrows or snowballs near players if you just want to knock them around a bit.
I do not believe that you can, but there is thing called the tp command that can be used repetitively in small increments to simulate such movement. Have you experimented with entitydata to see if it can do what you need? What is the context (why do you need such motion)?
Jmal116The entitydata command actually doesn't work on players at all. You may be able to use teleports like ean521 said, or you could try summoning arrows or snowballs near players if you just want to knock them around a bit.
Okay, I've experimented with stuff a bit, and entitydata completely dosen't work on players. Using the TP command doesn't really give that smooth linear motion effect, and just ends up really glitchy. But I really like Jmal116's idea of summoning entities to apply motion, but then again I can't think of anything that won't do damage. I pretty sure either eggs or snowballs don't actually do damage(I don't remember which). Any other ideas?
bump
