Files
EnderIO/common/appeng/api/movable/IMovableTile.java
T
2014-02-13 14:01:40 +08:00

20 lines
460 B
Java

package appeng.api.movable;
/**
* You can implement this, or use the IMovableRegistry o white list your tile, please see the registry for more information.
*/
public interface IMovableTile {
/**
* notification that your block will be moved, called instead of invalidate, return false to prevent movement.
* @return
*/
boolean prepareToMove();
/**
* notification that your block was moved, called after validate.
*/
void doneMoving();
}