use of ic2.api.energy.tile.IEnergyTile in project Binnie by ForestryMC.
the class ComponentPowerReceptor method do_addToEnergyNet.
@Optional.Method(modid = "ic2")
private void do_addToEnergyNet() {
MinecraftForge.EVENT_BUS.post(new EnergyTileLoadEvent((IEnergyTile) this.getMachine().getTileEntity()));
this.registeredToIC2EnergyNet = true;
}
use of ic2.api.energy.tile.IEnergyTile in project Binnie by ForestryMC.
the class ComponentPowerReceptor method do_removeFromEnergyNet.
@Optional.Method(modid = "ic2")
private void do_removeFromEnergyNet() {
MinecraftForge.EVENT_BUS.post(new EnergyTileUnloadEvent((IEnergyTile) this.getMachine().getTileEntity()));
this.registeredToIC2EnergyNet = false;
}
Aggregations