- Basic types can now be converted to the "any" type

- Changed OreDict 'contains' to respond to the 'in' operator
This commit is contained in:
Stan Hebben committed 2014-07-20 21:30:40 +02:00
1 parent 52f92dcfd4
commit 1b72abb2b4
59 files changed
+3595 -976

No files matched your search

@@ -8,9 +8,11 @@ package minetweaker.api.oredict;
import minetweaker.api.item.IIngredient;
import minetweaker.api.item.IItemStack;
import stanhebben.zenscript.annotations.OperatorType;
import stanhebben.zenscript.annotations.ZenClass;
import stanhebben.zenscript.annotations.ZenGetter;
import stanhebben.zenscript.annotations.ZenMethod;
import stanhebben.zenscript.annotations.ZenOperator;
/**
*
@@ -33,7 +35,7 @@ public interface IOreDictEntry extends IIngredient {
@ZenMethod
public void remove(IItemStack item);
@ZenMethod
@ZenOperator(OperatorType.CONTAINS)
public boolean contains(IItemStack item);
@ZenMethod