Interface IFirstTimeLuckyRecipe<T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>>

All Known Implementing Classes:
FirstTimeLuckyMillingRecipe

public interface IFirstTimeLuckyRecipe<T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?>>
  • Method Details

    • getAsRecipe

      T getAsRecipe()
      Give a way for IFirstTimeLuckyRecipe to convert to the proper class for this Recipe.
      Returns:
      Should almost always be just this
    • shouldBeLuckyFirstTime

      boolean shouldBeLuckyFirstTime()
      Recipe-specific. Should this recipe in particular guarantee chance rewards the first time?
    • setLuckyFirstTime

      void setLuckyFirstTime(boolean lucky)
      Recipe-specific. This is called by the recipe deserializer when it wants to mark this recipe as giving chance outputs the first time.
    • rollLuckyResults

      default List<net.minecraft.world.item.ItemStack> rollLuckyResults(net.minecraft.world.entity.player.Player player)