public class MCRecipeShaped extends MCRecipeBase implements net.minecraftforge.common.crafting.IShapedRecipe
hidden, ingredientList, output, outputStack, recipeAction, recipeFunction, recipeNameLocation| Constructor and Description |
|---|
MCRecipeShaped(crafttweaker.api.item.IIngredient[][] ingredients,
crafttweaker.api.item.IItemStack output,
crafttweaker.api.recipes.IRecipeFunction recipeFunction,
crafttweaker.api.recipes.IRecipeAction recipeAction,
boolean isMirrored,
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) |
crafttweaker.api.item.IIngredient[][] |
getIIngredients() |
crafttweaker.api.item.IIngredient[] |
getIngredients1D() |
crafttweaker.api.item.IIngredient[][] |
getIngredients2D() |
int |
getRecipeHeight() |
net.minecraft.item.ItemStack |
getRecipeOutput() |
int |
getRecipeWidth() |
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getRemainingItems(net.minecraft.inventory.InventoryCrafting inv) |
boolean |
hasTransformers() |
boolean |
isShaped() |
boolean |
matches(net.minecraft.inventory.InventoryCrafting inv,
net.minecraft.world.World worldIn) |
java.lang.String |
toCommandString() |
MCRecipeShaped |
update() |
applyTransformers, getCraftingResult, getFullResourceName, getGroup, getIngredients, getName, getOutput, getRecipeAction, getRegistryName, getRegistryType, getResourceDomain, hasRecipeAction, hasRecipeFunction, isDynamic, isHidden, isVisible, matches, setRegistryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic MCRecipeShaped(crafttweaker.api.item.IIngredient[][] ingredients,
crafttweaker.api.item.IItemStack output,
crafttweaker.api.recipes.IRecipeFunction recipeFunction,
crafttweaker.api.recipes.IRecipeAction recipeAction,
boolean isMirrored,
boolean isHidden)
public boolean matches(net.minecraft.inventory.InventoryCrafting inv,
net.minecraft.world.World worldIn)
matches in interface net.minecraft.item.crafting.IRecipepublic net.minecraft.item.ItemStack getCraftingResult(net.minecraft.inventory.InventoryCrafting inv)
getCraftingResult in interface net.minecraft.item.crafting.IRecipepublic boolean canFit(int width,
int height)
canFit in interface net.minecraft.item.crafting.IRecipepublic net.minecraft.item.ItemStack getRecipeOutput()
getRecipeOutput in interface net.minecraft.item.crafting.IRecipegetRecipeOutput in class MCRecipeBasepublic void applyTransformers(net.minecraft.inventory.InventoryCrafting inventory,
crafttweaker.api.player.IPlayer byPlayer)
applyTransformers in class MCRecipeBasepublic MCRecipeShaped update()
update in class MCRecipeBasepublic net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getRemainingItems(net.minecraft.inventory.InventoryCrafting inv)
getRemainingItems in interface net.minecraft.item.crafting.IRecipepublic crafttweaker.api.item.IIngredient[][] getIIngredients()
public java.lang.String toCommandString()
toCommandString in interface crafttweaker.api.recipes.ICraftingRecipepublic boolean hasTransformers()
hasTransformers in interface crafttweaker.api.recipes.ICraftingRecipepublic crafttweaker.api.item.IIngredient[] getIngredients1D()
getIngredients1D in interface crafttweaker.api.recipes.ICraftingRecipepublic crafttweaker.api.item.IIngredient[][] getIngredients2D()
getIngredients2D in interface crafttweaker.api.recipes.ICraftingRecipepublic boolean isShaped()
isShaped in interface crafttweaker.api.recipes.ICraftingRecipepublic int getRecipeWidth()
getRecipeWidth in interface net.minecraftforge.common.crafting.IShapedRecipepublic int getRecipeHeight()
getRecipeHeight in interface net.minecraftforge.common.crafting.IShapedRecipe