mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
Tests for #21
This commit is contained in:
1 parent
33849588a7
commit
f92481a47d
9 files changed
+41
-11
No files matched your search
@@ -33,7 +33,7 @@ public interface IOreDictEntry extends IIngredient {
|
||||
public void add(IItemStack item);
|
||||
|
||||
@ZenMethod
|
||||
public void add(IItemStack... items);
|
||||
public void addItems(IItemStack[] items);
|
||||
|
||||
@ZenMethod
|
||||
public void addAll(IOreDictEntry entry);
|
||||
@@ -42,7 +42,7 @@ public interface IOreDictEntry extends IIngredient {
|
||||
public void remove(IItemStack item);
|
||||
|
||||
@ZenMethod
|
||||
public void remove(IItemStack... items);
|
||||
public void removeItems(IItemStack[] items);
|
||||
|
||||
|
||||
@ZenOperator(OperatorType.CONTAINS)
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
package minetweaker.api.trade;
|
||||
|
||||
/**
|
||||
* Created by Jared on 5/9/2016.
|
||||
*/
|
||||
public class ITradeManager {
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package minetweaker.api.vanilla;
|
||||
|
||||
import minetweaker.api.item.IIngredient;
|
||||
import minetweaker.api.item.WeightedItemStack;
|
||||
import stanhebben.zenscript.annotations.ZenGetter;
|
||||
import stanhebben.zenscript.annotations.ZenMethod;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by Jared on 5/9/2016.
|
||||
*/
|
||||
public interface IVillagerRegistry {
|
||||
|
||||
@ZenMethod
|
||||
public void addSeed(WeightedItemStack item);
|
||||
|
||||
@ZenMethod
|
||||
public void removeSeed(IIngredient item);
|
||||
|
||||
@ZenGetter("seeds")
|
||||
public List<WeightedItemStack> getSeeds();
|
||||
}
|
||||
Reference in new issue
Block a user