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:
parent
1221fc1163
commit
3b938c4622
1 changed files with 19 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue