Class SequencedAssemblyRecipe

java.lang.Object
com.simibubi.create.content.contraptions.itemAssembly.SequencedAssemblyRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>

public class SequencedAssemblyRecipe extends Object implements net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
  • Field Details

  • Constructor Details

  • Method Details

    • getRecipe

      public static <C extends net.minecraft.world.Container, R extends ProcessingRecipe<C>> Optional<R> getRecipe(net.minecraft.world.level.Level world, C inv, net.minecraft.world.item.crafting.RecipeType<R> type, Class<R> recipeClass)
    • getRecipe

      public static <R extends ProcessingRecipe<?>> Optional<R> getRecipe(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack item, net.minecraft.world.item.crafting.RecipeType<R> type, Class<R> recipeClass)
    • getRecipes

      public static <R extends ProcessingRecipe<?>> Stream<R> getRecipes(net.minecraft.world.level.Level world, net.minecraft.world.item.ItemStack item, net.minecraft.world.item.crafting.RecipeType<R> type, Class<R> recipeClass)
    • getLoops

      public int getLoops()
    • addAdditionalIngredientsAndMachines

      public void addAdditionalIngredientsAndMachines(List<net.minecraft.world.item.crafting.Ingredient> list)
    • addAdditionalFluidIngredients

      public void addAdditionalFluidIngredients(List<FluidIngredient> list)
    • matches

      public boolean matches(net.minecraftforge.items.wrapper.RecipeWrapper inv, net.minecraft.world.level.Level p_77569_2_)
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • assemble

      public net.minecraft.world.item.ItemStack assemble(net.minecraftforge.items.wrapper.RecipeWrapper p_77572_1_)
      Specified by:
      assemble in interface net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • canCraftInDimensions

      public boolean canCraftInDimensions(int p_194133_1_, int p_194133_2_)
      Specified by:
      canCraftInDimensions in interface net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • getResultItem

      public net.minecraft.world.item.ItemStack getResultItem()
      Specified by:
      getResultItem in interface net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • getOutputChance

      public float getOutputChance()
    • getId

      public net.minecraft.resources.ResourceLocation getId()
      Specified by:
      getId in interface net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
      Specified by:
      getSerializer in interface net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • isSpecial

      public boolean isSpecial()
      Specified by:
      isSpecial in interface net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • getType

      public net.minecraft.world.item.crafting.RecipeType<?> getType()
      Specified by:
      getType in interface net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • addToTooltip

      public static void addToTooltip(List<net.minecraft.network.chat.Component> toolTip, net.minecraft.world.item.ItemStack stack)
    • getIngredient

      public net.minecraft.world.item.crafting.Ingredient getIngredient()
    • getSequence

      public List<SequencedRecipe<?>> getSequence()
    • getTransitionalItem

      public net.minecraft.world.item.ItemStack getTransitionalItem()