- 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

@@ -1,6 +1,7 @@
package minetweaker.api.item;
import java.util.List;
import minetweaker.api.liquid.ILiquidStack;
import minetweaker.api.player.IPlayer;
import minetweaker.util.ArrayUtil;
@@ -30,6 +31,11 @@ public class IngredientAny implements IIngredient {
public List<IItemStack> getItems() {
return null;
}
@Override
public List<ILiquidStack> getLiquids() {
return null;
}
@Override
public IIngredient amount(int amount) {
@@ -60,6 +66,11 @@ public class IngredientAny implements IIngredient {
public boolean matches(IItemStack item) {
return true;
}
@Override
public boolean matches(ILiquidStack liquid) {
return true;
}
@Override
public boolean contains(IIngredient ingredient) {