Fandom

Minecraft Mod Custom Stuff Wiki

Movebypiston

175pages on
this wiki
Add New Page
Comments0 Share
CS1 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 movebypiston attribute determines if a block can be moved by a piston. This attribute cannot be used for chests though. The default value for the movedbypiston attribute is true. This means that you only have to use this attribute when the block should not be moved by a piston. You can't use this attribute for damage values, but if the value is set, it will affect all blocks with the same id value.

Examples:

movebypiston=true;
movebypiston=false;

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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.