public class MCRecipeShapeless extends MCRecipeBase implements net.minecraft.item.crafting.IRecipe
ingredientList, output, outputStack, recipeAction, recipeFunction, recipeNameLocation
Constructor and Description |
---|
MCRecipeShapeless(crafttweaker.api.item.IIngredient[] ingredients,
crafttweaker.api.item.IItemStack output,
crafttweaker.api.recipes.IRecipeFunction recipeFunction,
crafttweaker.api.recipes.IRecipeAction recipeAction,
boolean isHidden) |
Modifier and Type | Method and Description |
---|---|
void |
applyTransformers(net.minecraft.inventory.InventoryCrafting inventory,
crafttweaker.api.player.IPlayer byPlayer) |
boolean |
canFit(int width,
int height) |
net.minecraft.item.ItemStack |
getCraftingResult(net.minecraft.inventory.InventoryCrafting inv) |
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getRemainingItems(net.minecraft.inventory.InventoryCrafting inv) |
boolean |
hasTransformers() |
boolean |
matches(net.minecraft.inventory.InventoryCrafting inv,
net.minecraft.world.World worldIn) |
java.lang.String |
toCommandString() |
MCRecipeShapeless |
update() |
applyTransformers, getCraftingResult, getGroup, getIngredients, getName, getOutput, getRecipeAction, getRecipeOutput, getRegistryName, getRegistryType, hasRecipeAction, isHidden, isVisible, matches, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public MCRecipeShapeless(crafttweaker.api.item.IIngredient[] ingredients, crafttweaker.api.item.IItemStack output, crafttweaker.api.recipes.IRecipeFunction recipeFunction, crafttweaker.api.recipes.IRecipeAction recipeAction, boolean isHidden)
public boolean matches(net.minecraft.inventory.InventoryCrafting inv, net.minecraft.world.World worldIn)
matches
in interface net.minecraft.item.crafting.IRecipe
public net.minecraft.item.ItemStack getCraftingResult(net.minecraft.inventory.InventoryCrafting inv)
getCraftingResult
in interface net.minecraft.item.crafting.IRecipe
public boolean canFit(int width, int height)
canFit
in interface net.minecraft.item.crafting.IRecipe
public net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getRemainingItems(net.minecraft.inventory.InventoryCrafting inv)
getRemainingItems
in interface net.minecraft.item.crafting.IRecipe
public java.lang.String toCommandString()
toCommandString
in interface crafttweaker.api.recipes.ICraftingRecipe
public boolean hasTransformers()
hasTransformers
in interface crafttweaker.api.recipes.ICraftingRecipe
public void applyTransformers(net.minecraft.inventory.InventoryCrafting inventory, crafttweaker.api.player.IPlayer byPlayer)
applyTransformers
in class MCRecipeBase
public MCRecipeShapeless update()
update
in class MCRecipeBase