CMatter

Properties

Link copied to clipboard
abstract val amount: Int
Link copied to clipboard
abstract val candidate: Set<Material>
Link copied to clipboard
abstract val mass: Boolean
Link copied to clipboard
abstract val name: String
Link copied to clipboard

Functions

Link copied to clipboard
abstract fun asOne(): CMatter

returns a matter what is applied amount = 1.

Link copied to clipboard

returns this CMatter has some predicates or not.

Link copied to clipboard
open fun predicatesResult(self: ItemStack, mapped: Map<CoordinateComponent, ItemStack>, recipe: CRecipe, crafterID: UUID): Boolean

returns a merged result of all predicates run.