IngredientCalculation

data class IngredientCalculation(val inputs: List<FluidOrItem>, val byproducts: List<FluidOrItem>)(source)

Stores the result of an ingredient breakdown.

In the case of items, the resulting amount is stored in the ItemStack's amount. This may lead to illegal stack sizes, so before putting the items into an inventory, make sure to split them into valid stack sizes, otherwise they will be reset.

Constructors

Link copied to clipboard
constructor(inputs: List<FluidOrItem>, byproducts: List<FluidOrItem>)

Properties

Link copied to clipboard
Link copied to clipboard