Class CentrifugationRecipe

java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,AdvancedProcessingRecipeParams>
com.petrolpark.compat.create.core.recipe.AdvancedProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
com.petrolpark.compat.create.common.processing.centrifuge.CentrifugationRecipe
All Implemented Interfaces:
ICentrifugationRecipe, IFTLProcessingRecipe<AdvancedProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>>, IBookRequiredRecipe, IBiomeSpecificRecipe, INamedRecipe, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>

public class CentrifugationRecipe extends AdvancedProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput> implements ICentrifugationRecipe
  • Constructor Details

  • Method Details

    • matches

      public boolean matches(@Nonnull net.minecraft.world.item.crafting.RecipeInput input, @Nonnull net.minecraft.world.level.Level level)
      Specified by:
      matches in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • canSpecifyDuration

      protected boolean canSpecifyDuration()
      Overrides:
      canSpecifyDuration in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,AdvancedProcessingRecipeParams>
    • getMaxInputCount

      protected int getMaxInputCount()
      Specified by:
      getMaxInputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,AdvancedProcessingRecipeParams>
    • getMaxFluidInputCount

      protected int getMaxFluidInputCount()
      Overrides:
      getMaxFluidInputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,AdvancedProcessingRecipeParams>
    • getMaxOutputCount

      protected int getMaxOutputCount()
      Specified by:
      getMaxOutputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,AdvancedProcessingRecipeParams>
    • getMaxFluidOutputCount

      protected int getMaxFluidOutputCount()
      Overrides:
      getMaxFluidOutputCount in class com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput,AdvancedProcessingRecipeParams>
    • getRemainingItems

      public net.minecraft.core.NonNullList<net.minecraft.world.item.ItemStack> getRemainingItems(@Nonnull net.minecraft.world.item.crafting.RecipeInput input)
      Specified by:
      getRemainingItems in interface ICentrifugationRecipe
      Specified by:
      getRemainingItems in interface net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>
    • getCentrifugationIngredients

      public net.minecraft.core.NonNullList<net.minecraft.world.item.crafting.Ingredient> getCentrifugationIngredients()
      Specified by:
      getCentrifugationIngredients in interface ICentrifugationRecipe
    • rollLuckyResults

      public List<net.minecraft.world.item.ItemStack> rollLuckyResults(com.simibubi.create.foundation.blockEntity.SmartBlockEntity blockEntity, net.minecraft.util.RandomSource random)
      Specified by:
      rollLuckyResults in interface ICentrifugationRecipe
      Specified by:
      rollLuckyResults in interface IFTLProcessingRecipe<AdvancedProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>>
    • getDenseOutputFluid

      public net.neoforged.neoforge.fluids.FluidStack getDenseOutputFluid()
      Specified by:
      getDenseOutputFluid in interface ICentrifugationRecipe
    • getLightOutputFluid

      public net.neoforged.neoforge.fluids.FluidStack getLightOutputFluid()
      Specified by:
      getLightOutputFluid in interface ICentrifugationRecipe
    • builder

      public static final AdvancedProcessingRecipe.Builder<CentrifugationRecipe> builder(net.minecraft.resources.ResourceLocation id)