Skip to content
cech12 edited this page Jul 7, 2024 · 13 revisions

This is a Minecraft Forge mod which adds a Solar Cooker to the game.

Solar Cooker

Dependencies

The Fabric / Quilt version needs the following mods:

Features

  • The Solar Cooker acts like a furnace but needs sunlight instead of fuel.
    • no block between the Solar Cooker and the sky
    • daytime without rain
  • In default configuration all smoking recipes are working in the Solar Cooker and they need 4 times more time than in a vanilla Smoker.
  • Vanilla recipes can be disabled or blacklisted for the Solar Cooker.
  • Additional recipes only for the Solar Cooker can be added with data packs.
  • The Solar Cooker has a better game performance (less lags), because it uses the mechanisms of FastFurnace mod.

Crafting

Collecting a Chest unlocks the recipe in vanilla recipe book.

Since 1.21-4.0.0.0

Crafting recipe

To craft the Solar Cooker you need six Reflectors ("solarcooker:solar_cooker_reflector"), two Iron Ingots ("c:ingots/iron" or "forge:ingots/iron") and one Chest ("c:chests/wooden" or "forge:chests/wooden").

Before 1.21-4.0.0.0

Crafting recipe

To craft the Solar Cooker you need four Iron Ingots ("forge:ingots/iron"), four Glass Panes ("forge:glass_panes") and one Chest ("forge:chests/wooden").

Interface

The interface of the Solar Cooker looks like the interface of a furnace. But instead of having a fuel slot, there is a sun symbol. The Solar Cooker needs sunlight to work. If there is no block between the Solar Cooker and the sky, daytime and no rain the sun symbole is colored. If this is not the case, the symbol is gray and no cooking progress can be done.

Since 1.21-4.0.0.0

Since 1.21-4.0.0.0 you can place up to 2 reflectors to the additional slots on the right side.

Interface

Before 1.21-4.0.0.0

Interface

Reflectors

Since 1.21-4.0.0.0

Reflectors 1.21

Up to two Reflectors can be placed into a Solar Cooker to improve the incidence of light and reduce cooking time. (see Interface)

Reflector Crafting 1.21

To craft a Reflector you need a Glass Pane ("c:glass_panes" or "forge:glass_panes"), an Iron Ingot ("c:ingots/iron" or "forge:ingots/iron") and a Wooden Slab ("minecraft:wooden_slabs").

Before 1.21-4.0.0.0

Reflectors

Up to four Reflectors can be placed to the left and right side of a Solar Cooker to improve the incidence of light and reduce cooking time.

Reflector Crafting

To craft a Reflector you need three Glass Panes ("forge:glass_panes"), three Iron Ingots ("forge:ingots/iron") and three Wooden Slabs ("minecraft:wooden_slabs").

Shining Block of Diamond

Shining Block of Diamond

A Shining Block of Diamond (added in 0.4.0) can be placed above a Solar Cooker to use it independently of the sun.

To craft a Shining Block of Diamond you need to place a Block of Diamond into a Solar Cooker and cook it for 3000 ticks (150 seconds).

Shining Block of Diamond

It must be placed between 2 and 6 blocks above the Solar Cooker to work like intended. No blocks or only translucent blocks may be placed in between.

Tags

This mod contains tags for some functionality configuration.

solar_cooker_shining

The block tag solarcooker:solar_cooker_shining (added in 0.4.0) contains all blocks that can shine the Solar Cooker.

The tag contains only the Shining Block of Diamond per default:

{
  "replace": false,
  "values": [
    "solarcooker:shining_diamond_block"
  ]
}

solar_cooker_reflector

The item tag solarcooker:solar_cooker_reflector (added in 1.21-4.0.0.0) contains all items that can be placed and used as reflecors in a Solar Cooker.

The tag contains only the Reflector item per default:

{
  "replace": false,
  "values": [
    "solarcooker:reflector"
  ]
}

Config

vanillaRecipeType

This config defines which vanilla recipe type is used by the Solar Cooker.

Possible values:

  • "smoking" (default value before 1.21-4.0.0.0)
  • "smelting" (default value since 1.21-4.0.0.0)
  • "blasting"
  • "campfire_cooking"

vanillaRecipesEnabled

With the config value vanillaRecipesEnabled you can enable/disable the usage of the vanilla recipe type defined in vanillaRecipeType. (default: enabled)

recipeBlacklist

This config value is a comma seperated list of recipe ids which should not be used by the Solar Cooker.

Examples:

  • "" - no recipe is blacklisted (default value)
  • "baked_potato" - only Baked Potato recipe (of Furnace) is disabled inside of the Solar Cooker.
  • "baked_potato_from_smoking,othermod:other_baked_food" - Baked Potato recipes of Smoker is disabled inside of the Solar Cooker as well as the other_baked_food recipe of the othermod mod.

Has only an effect if vanillaRecipesEnabled is enabled.

cookTimeFactor

You can set a cook time factor with the config option cookTimeFactor.

Examples:

  • 1.0 - same time as the vanilla recipe
  • 0.5 - half the time
  • 2.0 - twice the time
  • 4.0 - fourth the time (default value)

This factor influences only the recipe types "smelting", "blasting", "smoking", "campfire_cooking" inside of the Solar Cooker.

Has only an effect if vanillaRecipesEnabled is enabled.

maxReflectorSpeedFactor

You can set the maximum speed factor of the reflectors with the config option maxReflectorSpeedFactor. This factor is fully multiplied by the cooking time when all 2 reflectors (4 before 1.21-4.0.0.0) are set up. If fewer reflectors are installed, this factor is calculated proportionally.

Examples:

  • 1.0 - same time (reflectors have no effect)
  • 0.5 - half the time (default value since 1.21-4.0.0.0)
  • 0.25 - a quarter of the time (default value before 1.21-4.0.0.0)

Datapack Recipes

It is possible to add special recipes for the Solar Cooker with data packs. All recipes have the same structure as the vanilla smelting recipes.

The only difference is the type value.

Example:

{
  "type": "solarcooker:solarcooking",
  "ingredient": {
    "item": "minecraft:iron_ore"
  },
  "result": "minecraft:iron_nugget",
  "experience": 0.3,
  "cookingtime": 600
}