Class ItemApplicationRecipe

java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
com.simibubi.create.content.kinetics.deployer.ItemApplicationRecipe
All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
Direct Known Subclasses:
DeployerApplicationRecipe, ManualApplicationRecipe

public class ItemApplicationRecipe extends ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
  • Constructor Details

  • Method Details

    • codec

      public static <T extends ProcessingRecipe<?>> com.mojang.serialization.MapCodec<T> codec(AllRecipeTypes recipeTypes)
    • matches

      public boolean matches(net.neoforged.neoforge.items.wrapper.RecipeWrapper inv, net.minecraft.world.level.Level p_77569_2_)
    • getMaxInputCount

      protected int getMaxInputCount()
      Specified by:
      getMaxInputCount in class ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
    • getMaxOutputCount

      protected int getMaxOutputCount()
      Specified by:
      getMaxOutputCount in class ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
    • shouldKeepHeldItem

      public boolean shouldKeepHeldItem()
    • getRequiredHeldItem

      public net.minecraft.world.item.crafting.Ingredient getRequiredHeldItem()
    • getProcessedItem

      public net.minecraft.world.item.crafting.Ingredient getProcessedItem()
    • readAdditional

      public void readAdditional(net.minecraft.network.FriendlyByteBuf buffer)
      Overrides:
      readAdditional in class ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>
    • writeAdditional

      public void writeAdditional(net.minecraft.network.FriendlyByteBuf buffer)
      Overrides:
      writeAdditional in class ProcessingRecipe<net.neoforged.neoforge.items.wrapper.RecipeWrapper>