Removed superfluous imc handling

This commit is contained in:
yueh
2020-06-07 16:06:46 +02:00
parent 61d0781099
commit 2bed72bb79
5 changed files with 2 additions and 150 deletions
-2
View File
@@ -31,8 +31,6 @@ import appeng.api.exceptions.CoreInaccessibleException;
/**
* Entry point for api.
*
* Available IMCs:
*/
public enum AEApi
{
@@ -33,12 +33,10 @@ import net.minecraft.tileentity.TileEntity;
*
* 1. The Tile or its super classes have been white listed with whiteListTileEntity.
*
* 2. The Tile has been register with the IMC ( which basically calls whiteListTileEntity. )
* 2. The Tile implements IMovableTile
*
* 3. The Tile implements IMovableTile 4. A IMovableHandler is register that returns canHandle = true for the Tile
* Entity Class
* 3. A IMovableHandler is register that returns canHandle = true for the {@link TileEntity} subclass
*
* IMC Example: FMLInterModComms.sendMessage( "appliedenergistics2", "movabletile", "appeng.common.AppEngTile" );
*
* The movement process is as follows,
*
@@ -61,9 +59,6 @@ public interface IMovableRegistry
/**
* Black list a block from movement, please only use this to prevent exploits.
*
* You can also use the IMC, FMLInterModComms.sendMessage( "appliedenergistics2", "whitelist-spatial",
* "appeng.common.AppEngTile" );
*
* @param blk block
*/
void blacklistBlock( Block blk );
@@ -71,9 +66,6 @@ public interface IMovableRegistry
/**
* White list your tile entity with the registry.
*
* You can also use the IMC, FMLInterModComms.sendMessage( "appliedenergistics2", "blacklist-block-spatial", new
* ItemStack(...) );
*
* If you tile is handled with IMovableHandler or IMovableTile you do not need to white list it.
*/
void whiteListTileEntity( Class<? extends TileEntity> c );