Interface IFTLProcessingRecipe<T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?,?>>
- All Known Implementing Classes:
AdvancedBasinRecipe,AdvancedProcessingRecipe,BlendingRecipe,BoilingRecipe,CentrifugationRecipe,FTLMillingRecipe,JuicingRecipe,LiddedBasinRecipe
public interface IFTLProcessingRecipe<T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?,?>>
-
Method Summary
Modifier and TypeMethodDescriptionGive a way forIFTLProcessingRecipeto convert to the proper class for this Recipe.Optional<net.minecraft.resources.ResourceLocation> default List<net.minecraft.world.item.ItemStack> rollLuckyResults(com.simibubi.create.foundation.blockEntity.SmartBlockEntity blockEntity, net.minecraft.util.RandomSource random) default List<net.minecraft.world.item.ItemStack> rollLuckyResults(net.minecraft.world.entity.player.Player player, net.minecraft.util.RandomSource random)
-
Method Details
-
getAsRecipe
T getAsRecipe()Give a way forIFTLProcessingRecipeto convert to the proper class for this Recipe.- Returns:
- Should almost always be just
this
-
getFirstTimeLuckyKey
Optional<net.minecraft.resources.ResourceLocation> getFirstTimeLuckyKey() -
rollLuckyResults
default List<net.minecraft.world.item.ItemStack> rollLuckyResults(net.minecraft.world.entity.player.Player player, net.minecraft.util.RandomSource random) -
rollLuckyResults
default List<net.minecraft.world.item.ItemStack> rollLuckyResults(com.simibubi.create.foundation.blockEntity.SmartBlockEntity blockEntity, net.minecraft.util.RandomSource random)
-