public class ShapedRecipeCustom extends net.minecraftforge.oredict.ShapedOreRecipe implements IDescriptiveRecipe
| Constructor and Description |
|---|
ShapedRecipeCustom(net.minecraft.item.ItemStack result,
java.lang.Object... recipe) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkMatch(net.minecraft.inventory.InventoryCrafting inv,
int startX,
int startY,
boolean mirror) |
static ShapedRecipeCustom |
createShapedRecipe(net.minecraft.item.ItemStack product,
java.lang.Object... materials) |
int |
getHeight() |
net.minecraft.util.NonNullList<java.lang.String> |
getOreDicts() |
net.minecraft.item.ItemStack |
getOutput()
Must not be named the same as
IRecipe.getRecipeOutput() to avoid obfuscation for recipes that implement both. |
net.minecraft.util.NonNullList<net.minecraft.util.NonNullList<net.minecraft.item.ItemStack>> |
getRawIngredients() |
int |
getWidth() |
boolean |
isDynamic() |
boolean |
matches(net.minecraft.inventory.InventoryCrafting inv,
net.minecraft.world.World world) |
canFit, factory, getCraftingResult, getGroup, getIngredients, getRecipeHeight, getRecipeOutput, getRecipeWidth, setMirroredgetRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryNamepublic ShapedRecipeCustom(net.minecraft.item.ItemStack result,
java.lang.Object... recipe)
public int getWidth()
getWidth in interface IDescriptiveRecipegetWidth in class net.minecraftforge.oredict.ShapedOreRecipepublic int getHeight()
getHeight in interface IDescriptiveRecipegetHeight in class net.minecraftforge.oredict.ShapedOreRecipepublic net.minecraft.util.NonNullList<net.minecraft.util.NonNullList<net.minecraft.item.ItemStack>> getRawIngredients()
getRawIngredients in interface IDescriptiveRecipepublic net.minecraft.util.NonNullList<java.lang.String> getOreDicts()
getOreDicts in interface IDescriptiveRecipepublic net.minecraft.item.ItemStack getOutput()
IDescriptiveRecipeIRecipe.getRecipeOutput() to avoid obfuscation for recipes that implement both.getOutput in interface IDescriptiveRecipepublic boolean matches(net.minecraft.inventory.InventoryCrafting inv,
net.minecraft.world.World world)
matches in interface net.minecraft.item.crafting.IRecipematches in class net.minecraftforge.oredict.ShapedOreRecipepublic boolean isDynamic()
isDynamic in interface net.minecraft.item.crafting.IRecipepublic boolean checkMatch(net.minecraft.inventory.InventoryCrafting inv,
int startX,
int startY,
boolean mirror)
checkMatch in class net.minecraftforge.oredict.ShapedOreRecipepublic static ShapedRecipeCustom createShapedRecipe(net.minecraft.item.ItemStack product, java.lang.Object... materials)