Fuel
Checks whether the item stack is considered as fuel.
Type ID: eggolib:fuel
Note
If the comparison
or compare_to
fields are not present, this item condition type will check if the item stack is considered as fuel.
Fields
Field | Type | Default | Description |
---|---|---|---|
comparison |
Comparison | optional | Determines how to compare the fuel time of the item stack to the specified value. |
compare_to |
Integer | optional | The value to compare the fuel time of the item stack to. |
Examples
This example will check if the item stack is considered as fuel.