CMatter

interface CMatter

This interface's implementing types can be used as materials for CRecipe.

Since

5.0.0

Parameters

name

Name of this matter

candidate

Material candidate of this matter

amount

Amount of this matter requires

mass

Always requires 1 item on input

predicates

List of lambda functions what runs on search process

See also

Inheritors

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

returns this CMatter has some predicates or not.

Link copied to clipboard

Returns this CMatter is a valid or not.

Link copied to clipboard

Returns a merged result of all predicates run.