Class MechanicalCraftingRecipe

java.lang.Object
net.minecraft.world.item.crafting.ShapedRecipe
com.simibubi.create.content.contraptions.components.crafter.MechanicalCraftingRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>, net.minecraftforge.common.crafting.IShapedRecipe<net.minecraft.world.inventory.CraftingContainer>

public class MechanicalCraftingRecipe extends net.minecraft.world.item.crafting.ShapedRecipe
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MechanicalCraftingRecipe(net.minecraft.resources.ResourceLocation idIn, String groupIn, int recipeWidthIn, int recipeHeightIn, net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> recipeItemsIn, net.minecraft.world.item.ItemStack recipeOutputIn, boolean acceptMirrored)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    net.minecraft.world.item.crafting.RecipeType<?>
     
    boolean
     
    boolean
    matches(net.minecraft.world.inventory.CraftingContainer inv, net.minecraft.world.level.Level worldIn)
     

    Methods inherited from class net.minecraft.world.item.crafting.ShapedRecipe

    assemble, canCraftInDimensions, getGroup, getHeight, getId, getIngredients, getRecipeHeight, getRecipeWidth, getResultItem, getWidth, isIncomplete, itemFromJson, itemStackFromJson, setCraftingSize

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getRemainingItems, getToastSymbol
  • Constructor Details

    • MechanicalCraftingRecipe

      public MechanicalCraftingRecipe(net.minecraft.resources.ResourceLocation idIn, String groupIn, int recipeWidthIn, int recipeHeightIn, net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> recipeItemsIn, net.minecraft.world.item.ItemStack recipeOutputIn, boolean acceptMirrored)
  • Method Details

    • matches

      public boolean matches(net.minecraft.world.inventory.CraftingContainer inv, net.minecraft.world.level.Level worldIn)
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>
      Overrides:
      matches in class net.minecraft.world.item.crafting.ShapedRecipe
    • getType

      public net.minecraft.world.item.crafting.RecipeType<?> getType()
    • isSpecial

      public boolean isSpecial()
    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.inventory.CraftingContainer>
      Overrides:
      getSerializer in class net.minecraft.world.item.crafting.ShapedRecipe
    • acceptsMirrored

      public boolean acceptsMirrored()