|Custom Stuff 1
Information presented below this line is outdated syntax or information used for Custom Stuff 1. It will not work with Custom Stuff 2.
The collision attribute allows you to make blocks that are visible, but do not have hard boundaries. That is, they allow entities (such as the player) to move through them. By default, this attribute is always set to 'true'. To change it, add the following line to your .block file:
Movebypiston and Collision
When collision is set to false, the block will be harvested when a piston pushes it, just like a vanilla flower or sugar cane. When it is harvested in this way, it will drop whatever items or blocks are set for the dropped attributes. It does not, however, activate the destroyed event, meaning any extra code kept in the destroyed event is ignored. Also, the movebypiston attribute being set to false does not stop the block from being harvested.