mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-21 12:32:29 +00:00
Does not mean the added functions are implemented in the prior versions, but it means they all compile against the same API and ZS version
23 lines
551 B
Java
23 lines
551 B
Java
package minetweaker.api.recipes;
|
|
|
|
import minetweaker.api.item.IItemStack;
|
|
import minetweaker.api.player.IPlayer;
|
|
import stanhebben.zenscript.annotations.ZenClass;
|
|
|
|
/**
|
|
* @author Stan
|
|
*/
|
|
@ZenClass("minetweaker.recipes.ICraftingRecipe")
|
|
public interface ICraftingRecipe {
|
|
|
|
boolean matches(ICraftingInventory inventory);
|
|
|
|
IItemStack getCraftingResult(ICraftingInventory inventory);
|
|
|
|
boolean hasTransformers();
|
|
|
|
void applyTransformers(ICraftingInventory inventory, IPlayer byPlayer);
|
|
|
|
String toCommandString();
|
|
}
|