Interface IFTLProcessingRecipe<T extends com.simibubi.create.content.processing.recipe.ProcessingRecipe<?,?>>
- All Known Implementing Classes:
AdvancedProcessingRecipe,FTLMillingRecipe
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) default List<net.minecraft.world.item.ItemStack> rollLuckyResults(net.minecraft.world.entity.player.Player player)
-
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) -
rollLuckyResults
default List<net.minecraft.world.item.ItemStack> rollLuckyResults(com.simibubi.create.foundation.blockEntity.SmartBlockEntity blockEntity)
-