From 00110495948fba215de2245c51b720dc410d4c97 Mon Sep 17 00:00:00 2001 From: orbea Date: Fri, 10 Apr 2020 09:37:18 -0700 Subject: [PATCH] docs: Update for default.get_furnace_formspec(). --- game_api.txt | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/game_api.txt b/game_api.txt index 6d8b08f7..1bbe2ce2 100644 --- a/game_api.txt +++ b/game_api.txt @@ -863,15 +863,20 @@ GUI and formspecs * Entire formspec for the survival inventory +`default.get_furnace_formspec(fuel_percent, item_percent)` + + * Get the furnace formspec using the defined GUI elements + * fuel_percent: Percent of how much the fuel is used + * Note: Defines the inactive furnace formspec when nil. + * item_percent: Percent of how much the item is cooked + `default.get_furnace_active_formspec(fuel_percent, item_percent)` - * Get the active furnace formspec using the defined GUI elements - * fuel_percent: Percent of how much the fuel is used - * item_percent: Percent of how much the item is cooked + * Deprecated, remove from mods. `default.get_furnace_inactive_formspec()` - * Get the inactive furnace formspec using the defined GUI elements + * Deprecated, remove from mods. Leafdecay