VanillaCookingFuel

Allows the item to act as a normal vanilla fuel.

For example, by default, a 'magic coal' item which has a material of coal cannot be burnt in furnaces. However, if your magic coal item implements this interface, it will be treated the same as a normal piece of coal when burnt as fuel.

Functions

Link copied to clipboard
abstract fun onBurntAsFuel(event: FurnaceBurnEvent)

Called when the item is burnt as fuel in a furnace, smoker, or blast furnace.