mirror of
https://github.com/GTNewHorizons/CraftTweaker.git
synced 2026-11-24 22:04:23 +00:00
23 lines
531 B
Java
23 lines
531 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();
|
|
}
|