Class MechanicalCraftingRecipe

java.lang.Object
net.minecraft.world.item.crafting.ShapedRecipe
com.simibubi.create.content.kinetics.crafter.MechanicalCraftingRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.CraftingRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.CraftingInput>

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

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

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

    pattern

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

    CODEC, CONDITIONAL_CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    MechanicalCraftingRecipe(String groupIn, net.minecraft.world.item.crafting.CraftingBookCategory category, net.minecraft.world.item.crafting.ShapedRecipePattern pattern, net.minecraft.world.item.ItemStack recipeOutputIn, boolean acceptMirrored)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    @NotNull net.minecraft.world.item.crafting.RecipeSerializer<?>
     
    net.minecraft.world.item.crafting.RecipeType<?>
     
    boolean
     
    boolean
    matches(net.minecraft.world.item.crafting.CraftingInput input, net.minecraft.world.level.Level worldIn)
     

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

    assemble, canCraftInDimensions, category, getGroup, getHeight, getIngredients, getResultItem, getWidth, isIncomplete, showNotification

    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(String groupIn, net.minecraft.world.item.crafting.CraftingBookCategory category, net.minecraft.world.item.crafting.ShapedRecipePattern pattern, net.minecraft.world.item.ItemStack recipeOutputIn, boolean acceptMirrored)
  • Method Details

    • matches

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

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

      public boolean isSpecial()
    • getSerializer

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

      public boolean acceptsMirrored()