mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-26 14:53:03 +00:00
44 lines
1.0 KiB
Java
44 lines
1.0 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();
|
|
|
|
@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);
|
|
}
|