#2438: Implemented forge energy capabilities. Removed other disabled energy units for the time being.
This commit is contained in:
@@ -19,10 +19,13 @@
|
||||
package appeng.tile.networking;
|
||||
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.util.EnumFacing;
|
||||
import net.minecraftforge.common.capabilities.Capability;
|
||||
|
||||
import appeng.api.config.Actionable;
|
||||
import appeng.api.networking.energy.IEnergyGrid;
|
||||
@@ -118,4 +121,10 @@ public class TileEnergyAcceptor extends AENetworkPowerTile
|
||||
{
|
||||
return this.sides;
|
||||
}
|
||||
|
||||
@Override
|
||||
public <T> T getCapability( Capability<T> capability, @Nullable EnumFacing facing )
|
||||
{
|
||||
return super.getCapability( capability, facing );
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user