Fandom

Minecraft Mod Custom Stuff Wiki

Collision

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 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:

collision=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.