Class DeployerApplicationRecipe

java.lang.Object
com.simibubi.create.content.contraptions.processing.ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
com.simibubi.create.content.contraptions.components.deployer.DeployerApplicationRecipe
All Implemented Interfaces:
IAssemblyRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>

public class DeployerApplicationRecipe extends ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper> implements IAssemblyRecipe
  • Constructor Details

  • Method Details

    • 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>
    • getMaxInputCount

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

      protected int getMaxOutputCount()
      Specified by:
      getMaxOutputCount in class ProcessingRecipe<net.minecraftforge.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()
    • convert

      public static DeployerApplicationRecipe convert(net.minecraft.world.item.crafting.Recipe<?> sandpaperRecipe)
    • addAssemblyIngredients

      public void addAssemblyIngredients(List<net.minecraft.world.item.crafting.Ingredient> list)
      Specified by:
      addAssemblyIngredients in interface IAssemblyRecipe
    • readAdditional

      public void readAdditional(com.google.gson.JsonObject json)
      Overrides:
      readAdditional in class ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • writeAdditional

      public void writeAdditional(com.google.gson.JsonObject json)
      Overrides:
      writeAdditional in class ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
    • readAdditional

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

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

      public net.minecraft.network.chat.Component getDescriptionForAssembly()
      Specified by:
      getDescriptionForAssembly in interface IAssemblyRecipe
    • addRequiredMachines

      public void addRequiredMachines(Set<net.minecraft.world.level.ItemLike> list)
      Specified by:
      addRequiredMachines in interface IAssemblyRecipe
    • getJEISubCategory

      public Supplier<Supplier<SequencedAssemblySubCategory>> getJEISubCategory()
      Specified by:
      getJEISubCategory in interface IAssemblyRecipe