Class FirstTimeLuckyMillingRecipe
java.lang.Object
com.simibubi.create.content.processing.recipe.ProcessingRecipe<net.minecraftforge.items.wrapper.RecipeWrapper>
com.simibubi.create.content.kinetics.crusher.AbstractCrushingRecipe
com.simibubi.create.content.kinetics.millstone.MillingRecipe
com.petrolpark.recipe.advancedprocessing.firsttimelucky.FirstTimeLuckyMillingRecipe
- All Implemented Interfaces:
IFirstTimeLuckyRecipe<com.simibubi.create.content.kinetics.millstone.MillingRecipe>,net.minecraft.world.item.crafting.Recipe<net.minecraftforge.items.wrapper.RecipeWrapper>
public class FirstTimeLuckyMillingRecipe
extends com.simibubi.create.content.kinetics.millstone.MillingRecipe
implements IFirstTimeLuckyRecipe<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 -
Constructor Summary
ConstructorsConstructorDescriptionFirstTimeLuckyMillingRecipe(com.simibubi.create.content.processing.recipe.ProcessingRecipeBuilder.ProcessingRecipeParams params) -
Method Summary
Modifier and TypeMethodDescriptioncom.simibubi.create.content.kinetics.millstone.MillingRecipeGive a way forIFirstTimeLuckyRecipeto convert to the proper class for this Recipe.voidsetLuckyFirstTime(boolean lucky) Recipe-specific.booleanRecipe-specific.Methods inherited from class com.simibubi.create.content.kinetics.millstone.MillingRecipe
getMaxOutputCount, matchesMethods inherited from class com.simibubi.create.content.kinetics.crusher.AbstractCrushingRecipe
canSpecifyDuration, getMaxInputCountMethods inherited from class com.simibubi.create.content.processing.recipe.ProcessingRecipe
assemble, canCraftInDimensions, canRequireHeat, enforceNextResult, getFluidIngredients, getFluidResults, getGroup, getId, getIngredients, getMaxFluidInputCount, getMaxFluidOutputCount, getProcessingDuration, getRequiredHeat, getResultItem, getRollableResults, getRollableResultsAsItemStacks, getSerializer, getType, getTypeInfo, isSpecial, readAdditional, readAdditional, rollResults, rollResults, writeAdditional, writeAdditionalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.petrolpark.recipe.advancedprocessing.firsttimelucky.IFirstTimeLuckyRecipe
rollLuckyResultsMethods inherited from interface net.minecraft.world.item.crafting.Recipe
getRemainingItems, getToastSymbol, isIncomplete, showNotification
-
Constructor Details
-
FirstTimeLuckyMillingRecipe
public FirstTimeLuckyMillingRecipe(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:IFirstTimeLuckyRecipeGive a way forIFirstTimeLuckyRecipeto convert to the proper class for this Recipe.- Specified by:
getAsRecipein interfaceIFirstTimeLuckyRecipe<com.simibubi.create.content.kinetics.millstone.MillingRecipe>- Returns:
- Should almost always be just
this
-
shouldBeLuckyFirstTime
public boolean shouldBeLuckyFirstTime()Description copied from interface:IFirstTimeLuckyRecipeRecipe-specific. Should this recipe in particular guarantee chance rewards the first time?- Specified by:
shouldBeLuckyFirstTimein interfaceIFirstTimeLuckyRecipe<com.simibubi.create.content.kinetics.millstone.MillingRecipe>
-
setLuckyFirstTime
public void setLuckyFirstTime(boolean lucky) Description copied from interface:IFirstTimeLuckyRecipeRecipe-specific. This is called by the recipe deserializer when it wants to mark this recipe as giving chance outputs the first time.- Specified by:
setLuckyFirstTimein interfaceIFirstTimeLuckyRecipe<com.simibubi.create.content.kinetics.millstone.MillingRecipe>
-