mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-20 03:59:38 +00:00
47 lines
1.1 KiB
Java
47 lines
1.1 KiB
Java
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
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;
|
|
|
|
/**
|
|
*
|
|
* @author Stan
|
|
*/
|
|
@ZenClass("minetweaker.oredict.IOreDictEntry")
|
|
public interface IOreDictEntry extends IIngredient {
|
|
@ZenGetter("name")
|
|
public String getName();
|
|
|
|
@ZenGetter("empty")
|
|
public boolean isEmpty();
|
|
|
|
@ZenGetter("firstItem")
|
|
public IItemStack getFirstItem();
|
|
|
|
@ZenMethod
|
|
public void add(IItemStack item);
|
|
|
|
@ZenMethod
|
|
public void addAll(IOreDictEntry entry);
|
|
|
|
@ZenMethod
|
|
public void remove(IItemStack item);
|
|
|
|
@ZenOperator(OperatorType.CONTAINS)
|
|
public boolean contains(IItemStack item);
|
|
|
|
@ZenMethod
|
|
public void mirror(IOreDictEntry other);
|
|
}
|