java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraft.world.item.crafting.RecipeInput>
com.simibubi.create.content.kinetics.crusher.AbstractCrushingRecipe
com.simibubi.create.content.kinetics.millstone.MillingRecipe
com.petrolpark.compat.create.core.recipe.firsttimelucky.FTLMillingRecipe
All Implemented Interfaces:
IFTLProcessingRecipe<com.simibubi.create.content.kinetics.millstone.MillingRecipe>, net.minecraft.world.item.crafting.Recipe<net.minecraft.world.item.crafting.RecipeInput>

public class FTLMillingRecipe extends com.simibubi.create.content.kinetics.millstone.MillingRecipe implements IFTLProcessingRecipe<com.simibubi.create.content.kinetics.millstone.MillingRecipe>
Milling recipes which guarantee all chance outputs the first time they are done.
  • Field Summary

    Fields inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe

    fluidIngredients, fluidResults, id, ingredients, processingDuration, requiredHeat, results

    Fields inherited from interface net.minecraft.world.item.crafting.Recipe

    CODEC, CONDITIONAL_CODEC, STREAM_CODEC
  • Constructor Summary

    Constructors
    Constructor
    Description
    FTLMillingRecipe(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder.ProcessingRecipeParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.simibubi.create.content.kinetics.millstone.MillingRecipe
    Give a way for IFTLProcessingRecipe to convert to the proper class for this Recipe.
    void
    setLuckyFirstTime(boolean lucky)
    Recipe-specific.
    boolean
    Recipe-specific.

    Methods inherited from class com.simibubi.create.content.kinetics.millstone.MillingRecipe

    getMaxOutputCount, matches

    Methods inherited from class com.simibubi.create.content.kinetics.crusher.AbstractCrushingRecipe

    canSpecifyDuration, getMaxInputCount

    Methods inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe

    assemble, canCraftInDimensions, canRequireHeat, enforceNextResult, getFluidIngredients, getFluidResults, getGroup, getIngredients, getMaxFluidInputCount, getMaxFluidOutputCount, getProcessingDuration, getRecipeType, getRequiredHeat, getResultItem, getRollableResults, getRollableResultsAsItemStacks, getSerializer, getType, getTypeInfo, isSpecial, readAdditional, rollResults, rollResults, writeAdditional

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.petrolpark.compat.create.core.recipe.firsttimelucky.IFTLProcessingRecipe

    rollLuckyResults

    Methods inherited from interface net.minecraft.world.item.crafting.Recipe

    getRemainingItems, getToastSymbol, isIncomplete, showNotification
  • Constructor Details

    • FTLMillingRecipe

      public FTLMillingRecipe(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder.ProcessingRecipeParams params)
  • Method Details

    • getAsRecipe

      public com.simibubi.create.content.kinetics.millstone.MillingRecipe getAsRecipe()
      Description copied from interface: IFTLProcessingRecipe
      Give a way for IFTLProcessingRecipe to convert to the proper class for this Recipe.
      Specified by:
      getAsRecipe in interface IFTLProcessingRecipe<com.simibubi.create.content.kinetics.millstone.MillingRecipe>
      Returns:
      Should almost always be just this
    • shouldBeLuckyFirstTime

      public boolean shouldBeLuckyFirstTime()
      Description copied from interface: IFTLProcessingRecipe
      Recipe-specific. Should this recipe in particular guarantee chance rewards the first time?
      Specified by:
      shouldBeLuckyFirstTime in interface IFTLProcessingRecipe<com.simibubi.create.content.kinetics.millstone.MillingRecipe>
    • setLuckyFirstTime

      public void setLuckyFirstTime(boolean lucky)
      Description copied from interface: IFTLProcessingRecipe
      Recipe-specific. This is called by the recipe deserializer when it wants to mark this recipe as giving chance outputs the first time.
      Specified by:
      setLuckyFirstTime in interface IFTLProcessingRecipe<com.simibubi.create.content.kinetics.millstone.MillingRecipe>