Stub in a method in the API for returning a list of ItemStacks (may change to Objects) that have an Energy Value between the two parameters

This commit is contained in:
Pahimar 2014-07-14 14:39:23 -04:00
parent 1221fc1163
commit 3b938c4622

View file

@ -2,6 +2,9 @@ package com.pahimar.ee3.api;
import com.pahimar.ee3.EquivalentExchange3;
import cpw.mods.fml.common.Mod;
import net.minecraft.item.ItemStack;
import java.util.List;
public final class EnergyValueRegistryProxy
{
@ -90,6 +93,22 @@ public final class EnergyValueRegistryProxy
return EE3Wrapper.ee3mod.getEnergyValueRegistry().getEnergyValue(object, strict);
}
public List<ItemStack> getStacksInRange(int start, int finish)
{
return getStacksInRange(new EnergyValue(start), new EnergyValue(finish));
}
public List<ItemStack> getStacksInRange(float start, float finish)
{
return getStacksInRange(new EnergyValue(start), new EnergyValue(finish));
}
public List<ItemStack> getStacksInRange(EnergyValue start, EnergyValue finish)
{
// TODO Finish
return null;
}
private static void init()
{
if (ee3Mod != null)