How would I make an entity stay frozen on the spot, mid air (no AI)?

I have been trying to make falling sand that stays in the air instead of fall down, I have tried spawning it with
- No AI
and
- teleporting it with 40 pulses per second and a location of ~ ~ ~
but neither have worked. How can I get it to stay put?
Best Answer
So there are two ways to achieve this:
- MCEdit, or
- 20hz /entitydata.
For MCEdit:
- Go into your world, and place the sand with blocks underneath them.
- Open MCEdit, and find your world's
level.dat
. - Delete the blocks under the sand.
- Save, quit, don't block update the sand.
For commands:
- Create a fill clock.
- Attach the following command to the clock:
entitydata @e[type=FallingSand] {Motion:[0.0,0.04,0.0]}
- Spawn the FallingSand.
Disclaimer:
I don't have screenshots for any of this, nor have I tested it, but it seems as though it should work.
Pictures about "How would I make an entity stay frozen on the spot, mid air (no AI)?"



How do you freeze entity in Minecraft?
There are multiple ways of freezing someone: - Teleport them every tick to a location, so that they can't walk. - Give them a big slowdown potion. - Cancel a EntityMoveEvent (which you have to create yourself).Is there a freeze command in Minecraft?
The command would be as follows: /freeze <seconds> or forever <thing to freeze> or all. An example would be: /freeze 20000 rain, cropGrowth, mobSpawn, textures.How do you make an entity not fall in Minecraft?
Important - do not break the lily pads! Because the lily pads are "touching" the sand blocks, interacting with them directly will cause the sand blocks to fall. Instead, place a solid block beneath each lily pad. Clear out your "scaffolding" (the blocks you placed to contain the water) and voila!Minecraft: How to summon mobs with no AI [Quick Tutorial]
More answers regarding how would I make an entity stay frozen on the spot, mid air (no AI)?
Answer 2
Teleport your falling sand constantly to an Armor Stand which has {Invisible:1b}
and {NoGravity:1b}
.
In Vanilla, you can put a barrier under it.
Answer 3
There are multiple ways of doing this without commands, by using "transparent blocks" (like lily pads for example).
- Place a body of still water 2 blocks below the desired height of your sand block.
- Place a lily pad beneath each desired spot for your sand blocks
- Place down the sand on each lily pad. You will notice the sand blocks "float" one block above each lily pad.
- Important - do not break the lily pads! Because the lily pads are "touching" the sand blocks, interacting with them directly will cause the sand blocks to fall. Instead, place a solid block beneath each lily pad.
- Clear out your "scaffolding" (the blocks you placed to contain the water) and voila!
This can also be done with vines.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Maksim Romashkin, Maksim Romashkin, Street Donkey, PhotoMIX Company