Class RefineryRecipeImpl

All Implemented Interfaces:
net.minecraft.world.item.crafting.Recipe<PneumaticCraftRecipe.DummyIInventory>

public class RefineryRecipeImpl extends RefineryRecipe
  • Field Details

    • input

      public final FluidIngredient input
    • outputs

      public final List<net.minecraftforge.fluids.FluidStack> outputs
  • Constructor Details

    • RefineryRecipeImpl

      public RefineryRecipeImpl(net.minecraft.resources.ResourceLocation id, FluidIngredient input, TemperatureRange operatingTemp, net.minecraftforge.fluids.FluidStack... outputs)
  • Method Details

    • getInput

      public FluidIngredient getInput()
      Description copied from class: RefineryRecipe
      Get the input fluid ingredient for this recipe
      Specified by:
      getInput in class RefineryRecipe
      Returns:
      the input fluid
    • getOutputs

      public List<net.minecraftforge.fluids.FluidStack> getOutputs()
      Description copied from class: RefineryRecipe
      Get a list of fluid outputs for this recipe
      Specified by:
      getOutputs in class RefineryRecipe
      Returns:
      a list of output fluidstacks
    • getOperatingTemp

      public TemperatureRange getOperatingTemp()
      Description copied from class: RefineryRecipe
      Get the valid operating temperature range for this recipe
      Specified by:
      getOperatingTemp in class RefineryRecipe
      Returns:
      the operating temperature range
    • write

      public void write(net.minecraft.network.FriendlyByteBuf buffer)
      Description copied from class: PneumaticCraftRecipe
      Writes this recipe to a PacketBuffer.
      Specified by:
      write in class PneumaticCraftRecipe
      Parameters:
      buffer - The buffer to write to.
    • getSerializer

      public net.minecraft.world.item.crafting.RecipeSerializer<?> getSerializer()
    • getType

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

      public String getGroup()
    • getToastSymbol

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