Skip to main content

Toaster (Heating)

The Toaster is block that allows a player to heat/cook an item. It can cook up to two items at a time. The toaster will cook for the duration of the item with the maximum cook time, regardless if the other takes a shorter amount of time. The toaster requires electrical power and is activated by sneaking and interacting (right click).

Recipe Managerโ€‹

<recipetype:refurbished_furniture:toaster_heating>

Custom Functionsโ€‹

addRecipe(name, ingredient, result[, time])โ€‹

Adds a new heating recipe to the toaster

ParamaterTypeRequiredDescription
namestringYesThe name of the recipe, must be unique.
ingredientIIngredientYesThe ingredient to freeze
resultIItemStackYesThe resulting item from heating the ingredient, can have an amount.
timeintNoThe duration in ticks to heat the item. Default 200

Exampleโ€‹

%gamedir%/scripts/example.zs
<recipetype:refurbished_furniture:toaster_heating>.addRecipe(
"heating/easy_diamonds",
<item:minecraft:apple>,
<item:minecraft:diamond> * 64,
350
);

Learn Moreโ€‹

See Recipe Managers on the CraftTweaker documentation for all inbuilt functions.