Minecraft: Remove a mobs gravity
I need help removing the gravity of a mob. I am creating a puzzle where you teleport a chicken 1 block left/right/forward/backwards and I need to find a way for the chicken to jump.
I used a command to change the direction of the chicken to up but it dies when it touches the block on top of it.
Command:
/entitydata @e[score_gravity_min=1] {Motion:[0.0,1.0,0.0]}
Best Answer
As of 1.9, NoAI
no longer prevents gravity.
But as of 1.10, NoGravity
has been extended to all entities. You can use this to prevent mobs from falling due to gravity:
/summon Chicken ~ ~1 ~ {NoGravity:1b}
Pictures about "Minecraft: Remove a mobs gravity"
How do you make an entity have no gravity?
/gravity Command, use /gravity side "west, east, south, north, up, down" "@a/@p/@s/@e/username" will change which side gravity is pulling you, use /gravity strength 0-infinity including 0.5 and stuff, "@a/@p/@s/@e/username" to change how fast gravity pulls you, use /gravity set 0-infinity including 0.5 and stuff.What happens when you Remove ALL Gravity from Minecraft
More answers regarding minecraft: Remove a mobs gravity
Answer 2
Try using NoAI:1
in your NBT tags. Notice that the chicken doesn't do anything. He doesn't even look at players nearby.
For example, your command with the NBT tag would be:
/entitydata @e[score_gravity_min=1] {Motion:[0.0,1.0,0.0],NoAI:1}
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, Sarah Chai, Sora Shimazaki, Anna Shvets