TransWikia.com

How to avoid sand/gravel blocks to break when using in Minecraft mechanisms?

Arqade Asked by Dmitry Selitskiy on February 27, 2021

When making mechanisms such as elevators based on sand/gravel blocks (and their property of being affected by gravity) how one can avoid those blocks from breaking?

I understand that if blocks bounce there’s a higher chance of them breaking. So possibly another take at the question would be: what are the conditions for sand/gravel blocks to break into an item?

5 Answers

I believe I have determined the algorithm for sand and gravel falling; I previously wrote it up on Minecraft Wiki. I will use "sand" to refer to sand or gravel.

When sand is falling, it is an entity, just like all other freely moving objects. This entity falls under the influence of gravity until it hits something solid on its bottom. This causes an attempt to place a solid block at the cube-grid location containing the bottom-center point of the falling sand. Then, if that cube is occupied by a block (such as a slab or torch), the sand turns into a resource entity (the rotating cube you can pick up) instead.

So, just as conclusions from the above description, some other ways sand can break besides falling on torches:

  • A piston head was moving upward through the cube when the sand landed.
  • Another sand block landed in that cube while the sand was entering it.
  • A piston pushed a block into the cube the sand already partly occupied. (This is what happens in your tower-of-sand example.)

In order to avoid breaking sand with piston mechanisms, don't push blocks into space sand is currently falling into.

Correct answer by Kevin Reid on February 27, 2021

If it lands on a torch or other non-solid block, it will break.

Simply do not use non-solid blocks, or in other words; do not let them land on torches, steps, half steps, or the like.

Answered by The Communist Duck on February 27, 2021

A sand/gravel block will break when falling if the block below is not solid. While moving, the blocks are not considered exactly 'solid', so if the falling block tries to enter a block where there is a moving piston (or block moved by piston), it will likely break.

Answered by KCats on February 27, 2021

I think the sand/gravel falling is slightly slower then the piston so you get something like this: The first three pushes of the piston doesn't break the sand, till the forth one which will break the sand. If something like this happens you might need to tweak around with the timing of the clock or use a older version of Minecraft

Answered by Codebek on February 27, 2021

I think you just need to put a slime block underneath the piston headband that makes it bounce, causing it to keep bouncing till it rests

Answered by user259888 on February 27, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP