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, setRegistryName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public 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.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.item.ItemStack getRecipeOutput()
getRecipeOutput
in interface net.minecraft.item.crafting.IRecipe
getRecipeOutput
in class MCRecipeBase
public void applyTransformers(net.minecraft.inventory.InventoryCrafting inventory, crafttweaker.api.player.IPlayer byPlayer)
applyTransformers
in class MCRecipeBase
public MCRecipeShaped update()
update
in class MCRecipeBase
public net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getRemainingItems(net.minecraft.inventory.InventoryCrafting inv)
getRemainingItems
in interface net.minecraft.item.crafting.IRecipe
public crafttweaker.api.item.IIngredient[][] getIIngredients()
public java.lang.String toCommandString()
toCommandString
in interface crafttweaker.api.recipes.ICraftingRecipe
public boolean hasTransformers()
hasTransformers
in interface crafttweaker.api.recipes.ICraftingRecipe
public crafttweaker.api.item.IIngredient[] getIngredients1D()
getIngredients1D
in interface crafttweaker.api.recipes.ICraftingRecipe
public crafttweaker.api.item.IIngredient[][] getIngredients2D()
getIngredients2D
in interface crafttweaker.api.recipes.ICraftingRecipe
public boolean isShaped()
isShaped
in interface crafttweaker.api.recipes.ICraftingRecipe
public int getRecipeWidth()
getRecipeWidth
in interface net.minecraftforge.common.crafting.IShapedRecipe
public int getRecipeHeight()
getRecipeHeight
in interface net.minecraftforge.common.crafting.IShapedRecipe