- Mod integration can now specify a required version prefix

- Ingredients can now also be liquids
- Added some checks that should fix #87
- Temporarily disabled BuildCraft support for BC 6.1 (BC 6.0 still has support)
- Started work on BC 6.1 support (not yet functional and currently disabled)
This commit is contained in:
Stan Hebben committed 2014-11-09 18:29:00 +01:00
1 parent cd322e04a7
commit 6500f03cda
37 files changed
+1153 -15

No files matched your search

@@ -8,6 +8,7 @@ package minetweaker.api.item;
import java.util.Collections;
import java.util.List;
import minetweaker.api.liquid.ILiquidStack;
import minetweaker.api.player.IPlayer;
/**
@@ -42,6 +43,12 @@ public class IngredientUnknown implements IIngredient
{
return Collections.emptyList();
}
@Override
public List<ILiquidStack> getLiquids()
{
return Collections.emptyList();
}
@Override
public IIngredient amount(int amount)
@@ -78,6 +85,12 @@ public class IngredientUnknown implements IIngredient
{
return false;
}
@Override
public boolean matches(ILiquidStack liquid)
{
return false;
}
@Override
public boolean contains(IIngredient ingredient)