ActuallyAdditions/src/main/java/de/ellpeck/actuallyadditions/api/tile/IEnergyDisplay.java

27 lines
713 B
Java
Raw Normal View History

/*
* This file ("IEnergyDisplay.java") is part of the Actually Additions Mod for Minecraft.
* It is created and owned by Ellpeck and distributed
* under the Actually Additions License to be found at
2016-01-03 16:05:51 +01:00
* http://ellpeck.de/actaddlicense/
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
*
2016-01-03 16:05:51 +01:00
* © 2016 Ellpeck
*/
2016-01-05 04:47:35 +01:00
package de.ellpeck.actuallyadditions.api.tile;
2015-12-21 22:22:02 +01:00
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
2016-01-05 04:47:35 +01:00
/**
* Extending this will cause a block to show "getEnergy()/maxEnergy() RF" when hovering over it in-world
*/
public interface IEnergyDisplay{
2015-12-21 22:22:02 +01:00
@SideOnly(Side.CLIENT)
int getEnergy();
2015-12-21 22:22:02 +01:00
@SideOnly(Side.CLIENT)
int getMaxEnergy();
}