First iteration of making integrations typesafe
This commit is contained in:
@@ -19,7 +19,28 @@
|
||||
package appeng.parts.p2p;
|
||||
|
||||
|
||||
//@InterfaceList( value = { @Interface( iface = "ic2.api.energy.tile.IEnergySink", iname = "IC2" ), @Interface( iface = "ic2.api.energy.tile.IEnergySource", iname = "IC2" ) } )
|
||||
//import java.util.LinkedList;
|
||||
//
|
||||
//import net.minecraft.init.Blocks;
|
||||
//import net.minecraft.item.ItemStack;
|
||||
//import net.minecraft.nbt.NBTTagCompound;
|
||||
//import net.minecraft.tileentity.TileEntity;
|
||||
//import net.minecraft.util.IIcon;
|
||||
//import net.minecraftforge.common.util.ForgeDirection;
|
||||
//
|
||||
//import cpw.mods.fml.relauncher.Side;
|
||||
//import cpw.mods.fml.relauncher.SideOnly;
|
||||
//
|
||||
//import appeng.api.config.PowerUnits;
|
||||
//import appeng.integration.IntegrationType;
|
||||
//import appeng.me.GridAccessException;
|
||||
//import appeng.me.cache.helpers.TunnelCollection;
|
||||
//import appeng.transformer.annotations.Integration.Interface;
|
||||
//import appeng.transformer.annotations.Integration.InterfaceList;
|
||||
//import appeng.util.Platform;
|
||||
//
|
||||
//
|
||||
//@InterfaceList( value = { @Interface( iface = "ic2.api.energy.tile.IEnergySink", iname = IntegrationType.IC2 ), @Interface( iface = "ic2.api.energy.tile.IEnergySource", iname = IntegrationType.IC2 ) } )
|
||||
//public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements ic2.api.energy.tile.IEnergySink, ic2.api.energy.tile.IEnergySource
|
||||
//{
|
||||
//
|
||||
@@ -37,7 +58,7 @@ package appeng.parts.p2p;
|
||||
//
|
||||
// @Override
|
||||
// @SideOnly( Side.CLIENT )
|
||||
// public TextureAtlasSprite getTypeTexture()
|
||||
// public IIcon getTypeTexture()
|
||||
// {
|
||||
// return Blocks.diamond_block.getBlockTextureFromSide( 0 );
|
||||
// }
|
||||
|
||||
Reference in New Issue
Block a user