mirror of
https://github.com/GTNewHorizons/Electro-Magic-Tools.git
synced 2026-11-18 03:15:23 +00:00
Some stuff
Api derpage apparently... Some new drills, and chainsaws. Started working on omnitools, but I got distracted. I NEED TEXTURES :(
This commit is contained in:
1 parent
f927d596d5
commit
104ecb66bb
196 files changed
+8231
-8092
No files matched your search
@@ -3,15 +3,15 @@ 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);
|
||||
/**
|
||||
* Determine the energy value for a single item in the supplied stack.
|
||||
* The value is used by most machines in the discharge slot.
|
||||
* <p/>
|
||||
* 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