mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-18 03:15:23 +00:00
991 files modified. GG ME. Still not done though
This is the first commit of the rewrite. A lot has been done, but it's not over.
This commit is contained in:
1 parent
621fb17840
commit
766aa180ae
569 files changed
+4065
-6321
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package ic2.api.info;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IEnergyValueProvider {
|
||||
/**
|
||||
* Determine the energy value for a single item in the supplied stack.
|
||||
* The value is used by most machines in the discharge slot.
|
||||
*
|
||||
* This only applies to basic single use items, others are to be queried
|
||||
* through e.g. ElectricItem.manager.getCharge().
|
||||
*
|
||||
* @param itemStack ItemStack containing the item to evaluate.
|
||||
* @return energy in EU
|
||||
*/
|
||||
double getEnergyValue(ItemStack itemStack);
|
||||
}
|
||||
Reference in new issue
Block a user