2015-12-21 22:18:33 +01:00
|
|
|
/*
|
|
|
|
* 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/
|
2015-12-21 22:18:33 +01:00
|
|
|
* View the source code at https://github.com/Ellpeck/ActuallyAdditions
|
|
|
|
*
|
2016-01-03 16:05:51 +01:00
|
|
|
* © 2016 Ellpeck
|
2015-12-21 22:18:33 +01:00
|
|
|
*/
|
|
|
|
|
2016-01-05 04:47:35 +01:00
|
|
|
package de.ellpeck.actuallyadditions.api.tile;
|
2015-12-21 22:18:33 +01:00
|
|
|
|
2016-01-07 18:20:59 +01:00
|
|
|
import net.minecraftforge.fml.relauncher.Side;
|
|
|
|
import net.minecraftforge.fml.relauncher.SideOnly;
|
2015-12-21 22:22:02 +01:00
|
|
|
|
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
|
|
|
|
*/
|
2015-12-21 22:18:33 +01:00
|
|
|
public interface IEnergyDisplay{
|
|
|
|
|
2015-12-21 22:22:02 +01:00
|
|
|
@SideOnly(Side.CLIENT)
|
2015-12-21 22:18:33 +01:00
|
|
|
int getEnergy();
|
|
|
|
|
2015-12-21 22:22:02 +01:00
|
|
|
@SideOnly(Side.CLIENT)
|
2015-12-21 22:18:33 +01:00
|
|
|
int getMaxEnergy();
|
|
|
|
}
|