public interface IMovableRegistry
| Modifier and Type | Method and Description |
|---|---|
void |
addHandler(IMovableHandler handler)
add a new handler movable handler.
|
boolean |
askToMove(net.minecraft.tileentity.TileEntity te) |
void |
blacklistBlock(net.minecraft.block.Block blk)
Black list a block from movement, please only use this to prevent exploits.
|
void |
doneMoving(net.minecraft.tileentity.TileEntity te)
tells the tile you are done moving it.
|
IMovableHandler |
getDefaultHandler() |
IMovableHandler |
getHandler(net.minecraft.tileentity.TileEntity te)
handlers are used to perform movement, this allows you to override AE's internal version.
|
boolean |
isBlacklisted(net.minecraft.block.Block blk) |
void |
whiteListTileEntity(java.lang.Class<? extends net.minecraft.tileentity.TileEntity> c)
White list your tile entity with the registry.
|
void blacklistBlock(net.minecraft.block.Block blk)
blk - blockvoid whiteListTileEntity(java.lang.Class<? extends net.minecraft.tileentity.TileEntity> c)
boolean askToMove(net.minecraft.tileentity.TileEntity te)
te - to be moved tile entityvoid doneMoving(net.minecraft.tileentity.TileEntity te)
te - moved tile entityvoid addHandler(IMovableHandler handler)
handler - moving handlerIMovableHandler getHandler(net.minecraft.tileentity.TileEntity te)
te - tile entityIMovableHandler getDefaultHandler()
boolean isBlacklisted(net.minecraft.block.Block blk)
blk - block