mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-23 13:39:51 +00:00
20 lines
460 B
Java
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();
|
|
|
|
}
|