Difference between revisions of "Nutrition"

From Pandorabox
Jump to navigation Jump to search
(more information, formatted table, removed items not available on pandorabox)
Line 1: Line 1:
=== Full List of Foods and their Stamina Points ===
+
=== About nutrition and stamina ===
  
The numbers are stamina points (max 20).
+
Nutrition refers to how much a food can feed or poison a player, and stamina refers to the value stored in the player, as displayed on the HUD. These terms can also be known as hunger points, food points, stamina points, hunger, or bread.
The Hunger HUD (row of bread icons) displays 20 half-loafs of bread -> 10 loafs.
 
This makes some foods appear to provide inconsistent nutrition (there are rounding errors from this scaling).
 
  
To calculate how many 'bread' are filled up in HUD when eating an item, divide the number in this list by 2.
+
A positive nutrition value feeds the player, while a negative value poisons the player. The maximum usable nutrition is 20, and the minimum is -20 (poison), anything outside of this range is wasted (for example, Date-nut cake will only give a maximum of 20 stamina, even though it has 32 nutrition).
  
Some items are not available on pandorabox, they are in parenthesis.
+
The stamina HUD (row of bread icons) displays 20 half-loaves of bread (10 full loafs). To calculate how many bread icons are filled up on the HUD when eating an item, divide the nutrition by 2.
  
<syntaxhighlight lang="txt">
+
=== Full list of foods ===
  32 - Date-Nut Cake
 
  
  30 - Marinated Tomatoes
+
{| class="wikitable sortable"
  30 - Pickled Carrot Sticks
+
|-
  30 - Pickles
+
! style="text-align:left;" | Nutrition
 +
! style="text-align:left;" | Name
 +
! style="text-align:left;" | Itemstring
 +
! style="text-align:left;" | Comment
 +
|-
 +
| 32 || Date-nut cake || moretrees:date_nut_cake ||
 +
|-
 +
| 30 || Marinated tomatoes || canned_food:canned_tomato_plus ||
 +
|-
 +
| 30 || Pickled carrot sticks || canned_food:canned_carrot_plus ||
 +
|-
 +
| 30 || Pickles || canned_food:canned_cucumber_plus ||
 +
|-
 +
| 21 || A jar of honey || canned_food:honey_jar ||
 +
|-
 +
| 20 || Meat Block || mobs:meatblock ||
 +
|-
 +
| 20 || Super Apple || maptools:superapple || Not obtainable (/giveme only)
 +
|-
 +
| 16 || Burger || farming:burger ||
 +
|-
 +
| 15 || Canned carrots || canned_food:canned_carrot ||
 +
|-
 +
| 15 || Canned cucumbers || canned_food:canned_cucumber ||
 +
|-
 +
| 15 || Canned tomatoes || canned_food:canned_tomato ||
 +
|-
 +
| 15 || Wild blueberry jam || canned_food:wild_blueberry_jam ||
 +
|-
 +
| 14 || Pickled chili pepper || canned_food:canned_chili_pepper_plus ||
 +
|-
 +
| 12 || Mexican pickled potatoes || canned_food:canned_potato_plus ||
 +
|-
 +
| 12 || Pickled beetroot || canned_food:canned_beetroot_plus ||
 +
|-
 +
| 12 || Salted mushrooms || canned_food:canned_mushrooms_plus ||
 +
|-
 +
| 11 || Canned corn || canned_food:canned_corn ||
 +
|-
 +
| 11 || Grape jam || canned_food:grape_jam ||
 +
|-
 +
| 10 || Canned peas || canned_food:canned_peas ||
 +
|-
 +
| 10 || Cucumber and Potato Salad || farming:potato_salad ||
 +
|-
 +
| 10 || Golden Carrot || farming:carrot_gold ||
 +
|-
 +
| 10 || Pickled garlic cloves || canned_food:canned_garlic_cloves_plus ||
 +
|-
 +
| 10 || Pickled onions || canned_food:canned_onion_plus ||
 +
|-
 +
| 8 || Bibimbap || farming:bibimbap ||
 +
|-
 +
| 8 || Blackberry jam || canned_food:blackberry_jam ||
 +
|-
 +
| 8 || Blueberry jam || canned_food:blueberry_jam ||
 +
|-
 +
| 8 || Bowl of Chili || farming:chili_bowl ||
 +
|-
 +
| 8 || Bucket of Milk || mobs:bucket_milk ||
 +
|-
 +
| 8 || Cooked Porkchop || mobs:pork_cooked ||
 +
|-
 +
| 8 || Meat || mobs:meat ||
 +
|-
 +
| 8 || Melon jam || canned_food:melon_jam ||
 +
|-
 +
| 8 || Pumpkin Bread || farming:pumpkin_bread ||
 +
|-
 +
| 8 || Raspberry jam || canned_food:raspberry_jam ||
 +
|-
 +
| 8 || Rhubarb jam || canned_food:rhubarb_jam ||
 +
|-
 +
| 8 || Salad || farming:salad ||
 +
|-
 +
| 8 || Spaghetti || farming:spaghetti ||
 +
|-
 +
| 7 || Apple jam || canned_food:apple_jam ||
 +
|-
 +
| 7 || Canned beans || canned_food:canned_beans ||
 +
|-
 +
| 7 || Canned chili pepper || canned_food:canned_chili_pepper ||
 +
|-
 +
| 7 || Canned pumpkin puree || canned_food:canned_pumpkin ||
 +
|-
 +
| 7 || Multigrain Bread || farming:bread_multigrain ||
 +
|-
 +
| 6 || Apple Donut || farming:donut_apple ||
 +
|-
 +
| 6 || Apple Pie || farming:apple_pie ||
 +
|-
 +
| 6 || Baked Potato || farming:baked_potato ||
 +
|-
 +
| 6 || Beetroot Soup || farming:beetroot_soup ||
 +
|-
 +
| 6 || Blueberry Pie || farming:blueberry_pie ||
 +
|-
 +
| 6 || Canned beetroot || canned_food:canned_beetroot ||
 +
|-
 +
| 6 || Canned mushrooms || canned_food:canned_mushrooms ||
 +
|-
 +
| 6 || Canned pineapple rings || canned_food:canned_pineapple ||
 +
|-
 +
| 6 || Canned potatoes || canned_food:canned_potato ||
 +
|-
 +
| 6 || Chocolate Donut || farming:donut_chocolate ||
 +
|-
 +
| 6 || Cooked Chicken || mobs:chicken_cooked ||
 +
|-
 +
| 6 || Cooked Mutton || mobs:mutton_cooked ||
 +
|-
 +
| 6 || Cooked Tofu || farming:tofu_cooked ||
 +
|-
 +
| 6 || Dandelion jam || canned_food:dandelion_jam ||
 +
|-
 +
| 6 || Jaffa Cake || farming:jaffa_cake || Requires rare food to craft (Orange)
 +
|-
 +
| 6 || Onion Soup || farming:onion_soup ||
 +
|-
 +
| 6 || Porridge || farming:porridge ||
 +
|-
 +
| 6 || Rhubarb Pie || farming:rhubarb_pie ||
 +
|-
 +
| 6 || Rose petal jam || canned_food:rose_jam ||
 +
|-
 +
| 6 || Triple Berry Smoothie || farming:smoothie_berry || Requires rare food to craft (Strawberry and Banana)
 +
|-
 +
| 5 || Bread || farming:bread ||
 +
|-
 +
| 5 || Canned garlic cloves || canned_food:canned_garlic_cloves ||
 +
|-
 +
| 5 || Canned onions || canned_food:canned_onion ||
 +
|-
 +
| 5 || Cooked Rabbit || mobs:rabbit_cooked ||
 +
|-
 +
| 5 || Corn on the Cob || farming:corn_cob ||
 +
|-
 +
| 5 || Rice Bread || farming:rice_bread ||
 +
|-
 +
| 4 || Acorn Muffin || moretrees:acorn_muffin ||
 +
|-
 +
| 4 || Carrot Juice || farming:carrot_juice ||
 +
|-
 +
| 4 || Carrot || farming:carrot ||
 +
|-
 +
| 4 || Cheese || mobs:cheese ||
 +
|-
 +
| 4 || Cucumber || farming:cucumber ||
 +
|-
 +
| 4 || Date & nut snack || moretrees:date_nut_snack ||
 +
|-
 +
| 4 || Date-nut energy bar || moretrees:date_nut_bar ||
 +
|-
 +
| 4 || Donut || farming:donut ||
 +
|-
 +
| 4 || Glass of Champagne || wine:glass_champagne ||
 +
|-
 +
| 4 || Glass of Honey-Mead || wine:glass_mead ||
 +
|-
 +
| 4 || Glass of Mint Julep || wine:glass_mint ||
 +
|-
 +
| 4 || Honey || mobs:honey ||
 +
|-
 +
| 4 || Orange || ethereal:orange || Rare food (obtainable from dungeons)
 +
|-
 +
| 4 || Pea Soup || farming:pea_soup ||
 +
|-
 +
| 4 || Pineapple Juice || farming:pineapple_juice ||
 +
|-
 +
| 4 || Raw Coconut || moretrees:raw_coconut ||
 +
|-
 +
| 4 || Raw Porkchop || mobs:pork_raw ||
 +
|-
 +
| 4 || Red Pepper || farming:pepper_red ||
 +
|-
 +
| 4 || Toast Sandwich || farming:toast_sandwich ||
 +
|-
 +
| 4 || Tomato || farming:tomato ||
 +
|-
 +
| 3 || Bar of Dark Chocolate || farming:chocolate_dark ||
 +
|-
 +
| 3 || Cooked Rat || mobs:rat_cooked ||
 +
|-
 +
| 3 || Corn || farming:corn ||
 +
|-
 +
| 3 || Glass of Brandy || wine:glass_brandy ||
 +
|-
 +
| 3 || Glass of Coffee Liquor || wine:glass_coffee_liquor ||
 +
|-
 +
| 3 || Raw Meat || mobs:meat_raw ||
 +
|-
 +
| 3 || Raw Rabbit || mobs:rabbit_raw ||
 +
|-
 +
| 3 || Tofu || farming:tofu ||
 +
|-
 +
| 3 || Yellow Pepper || farming:pepper_yellow ||
 +
|-
 +
| 2 || Apple || default:apple ||
 +
|-
 +
| 2 || Bamboo Sprout || bamboo:sprout ||
 +
|-
 +
| 2 || Banana || ethereal:banana || Rare food (obtainable from Christmas presents)
 +
|-
 +
| 2 || Blue Agave || wine:blue_agave ||
 +
|-
 +
| 2 || Blueberries || default:blueberries || Not to be confused with `farming:blueberries`
 +
|-
 +
| 2 || Blueberry Muffin || farming:muffin_blueberry ||
 +
|-
 +
| 2 || Cactus Juice || farming:cactus_juice || 4/5 chance (1/5 chance to poison)
 +
|-
 +
| 2 || Cherries || cherrytree:cherries ||
 +
|-
 +
| 2 || Chili Pepper || farming:chili_pepper ||
 +
|-
 +
| 2 || Coconut Milk || moretrees:coconut_milk ||
 +
|-
 +
| 2 || Cookie || farming:cookie ||
 +
|-
 +
| 2 || Cup of Coffee || farming:coffee_cup ||
 +
|-
 +
| 2 || Fried Egg || mobs:chicken_egg_fried ||
 +
|-
 +
| 2 || Garlic Bread || farming:garlic_bread ||
 +
|-
 +
| 2 || Glass of Beer || wine:glass_beer ||
 +
|-
 +
| 2 || Glass of Bourbon || wine:glass_bourbon ||
 +
|-
 +
| 2 || Glass of Cider || wine:glass_cider ||
 +
|-
 +
| 2 || Glass of Milk || mobs:glass_milk ||
 +
|-
 +
| 2 || Glass of Rum || wine:glass_rum ||
 +
|-
 +
| 2 || Glass of Sake || wine:glass_sake ||
 +
|-
 +
| 2 || Glass of Tequila || wine:glass_tequila ||
 +
|-
 +
| 2 || Glass of Vodka || wine:glass_vodka ||
 +
|-
 +
| 2 || Glass of Wheat Beer || wine:glass_wheat_beer ||
 +
|-
 +
| 2 || Glass of Wine || wine:glass_wine ||
 +
|-
 +
| 2 || Grapes || farming:grapes ||
 +
|-
 +
| 2 || Green Pepper || farming:pepper ||
 +
|-
 +
| 2 || Lettuce || farming:lettuce ||
 +
|-
 +
| 2 || Melon Slice || farming:melon_slice ||
 +
|-
 +
| 2 || Mint Tea || farming:mint_tea ||
 +
|-
 +
| 2 || Pumpkin Slice || farming:pumpkin_slice ||
 +
|-
 +
| 2 || Raspberry Smoothie || farming:smoothie_raspberry ||
 +
|-
 +
| 2 || Raw Chicken || mobs:chicken_raw ||
 +
|-
 +
| 2 || Raw Mutton || mobs:mutton_raw ||
 +
|-
 +
| 2 || Soda Can || homedecor:soda_can ||
 +
|-
 +
| 2 || Soy Milk || farming:soy_milk ||
 +
|-
 +
| 2 || Turkish Delight || farming:turkish_delight ||
 +
|-
 +
| 1 || Beetroot || farming:beetroot ||
 +
|-
 +
| 1 || Blackberries || farming:blackberry ||
 +
|-
 +
| 1 || Blueberries || farming:blueberries || Not to be confused with `default:blueberries`
 +
|-
 +
| 1 || Brown Mushroom || flowers:mushroom_brown ||
 +
|-
 +
| 1 || Butter || mobs:butter ||
 +
|-
 +
| 1 || Cabbage || farming:cabbage ||
 +
|-
 +
| 1 || Date || moretrees:date ||
 +
|-
 +
| 1 || Garlic || farming:garlic ||
 +
|-
 +
| 1 || Green Beans || farming:beans ||
 +
|-
 +
| 1 || Onion || farming:onion ||
 +
|-
 +
| 1 || Peas || farming:peas ||
 +
|-
 +
| 1 || Pineapple Ring || farming:pineapple_ring ||
 +
|-
 +
| 1 || Potato || farming:potato || 2/3 chance (1/3 chance to poison)
 +
|-
 +
| 1 || Raspberries || farming:raspberries ||
 +
|-
 +
| 1 || Rhubarb || farming:rhubarb ||
 +
|-
 +
| 1 || Roasted Cedar Cone Nuts || moretrees:cedar_nuts ||
 +
|-
 +
| 1 || Roasted Fir Cone Nuts || moretrees:fir_nuts ||
 +
|-
 +
| 1 || Roasted Spruce Cone Nuts || moretrees:spruce_nuts ||
 +
|-
 +
| 1 || Sliced Bread || farming:bread_slice ||
 +
|-
 +
| 1 || Soy Beans || farming:soy_beans ||
 +
|-
 +
| 1 || Strawberry || ethereal:strawberry || Rare food (obtainable from dungeons)
 +
|-
 +
| 1 || Toast || farming:toast ||
 +
|-
 +
| 1 || Vanilla || farming:vanilla ||
 +
|-
 +
| -1 || Cactus Juice || farming:cactus_juice || 1/5 chance (4/5 chance to not poison)
 +
|-
 +
| -1 || Potato || farming:potato || 1/3 chance (2/3 chance to not poison)
 +
|-
 +
| -5 || Red Mushroom || flowers:mushroom_red ||
 +
|-
 +
|}
  
  21 - A Jar of Honey
+
=== How this list was created ===
  
  20 - Meat Block
+
The information in the above list was gathered by adding a testing tool using the code below.
  20 - (Pickled Wild Onions)
+
The testing tool was then used in a world containing every mod that is used on Pandorabox, including the default mods in Minetest Game.
  20 - [Super Apple] (mapgen item)
 
  
  16 - Burger
+
For Cactus Juice and Potato, the data was extracted from the mod code manually.
  
  15 - Canned Carrots
+
<syntaxhighlight lang="Lua">
  15 - Canned Cucumbers
+
minetest.register_craftitem("test:food_test", {
  15 - Canned Tomatoes
+
description = "Food Nutrition Tester",
  15 - Wild Blueberry Jam
+
inventory_image = "default_gold_block.png",
 
+
on_use = function(itemstack, user, pointed_thing)
  14 - Pickled Chili Pepper
+
local items = {}
 
+
-- Override do_item_eat function
  12 - Mexican Pickled Potatoes
+
local old_do_eat = minetest.do_item_eat
  12 - Pickled Beetroot
+
minetest.do_item_eat = function(hp_change, replace_with_item, itemstack, player, pointed_thing)
  12 - Salted Mushrooms
+
local item = itemstack:get_name()
 
+
local desc = minetest.registered_items[item].description or ""
  11 - Canned Corn
+
if desc ~= "" then
  11 - Grape Jam
+
desc = minetest.get_translated_string("", desc) .. " "
 
+
end
  10 - (A Jar of Pine Nuts)
+
items[#items+1] = hp_change .. " " .. desc .. item
  10 - Canned Peas
+
end
  10 - (Canned Wild Onions)
+
-- Run on_use callback for all registered items
  10 - Cucumber and Potato Salad
+
for k,v in pairs(minetest.registered_items) do
  10 - Golden Carrot
+
if k ~= "test:food" and type(v.on_use) == "function" then
  10 - Pickled Garlic Cloves
+
v.on_use(ItemStack(k), user, pointed_thing)
  10 - Pickled Onions
+
end
 
+
end
  8 - Bibimbap
+
-- Sort items by nutrition value, then by name
  8 - Blackberry Jam
+
table.sort(items, function(a, b)
  8 - Blueberry Jam
+
local na = tonumber(a:split(" ")[1])
  8 - Bowl of Chili
+
local nb = tonumber(b:split(" ")[1])
  8 - Bucket of Milk
+
if na ~= nb then
  8 - Cooked Porkchop
+
return nb < na
  8 - Meat
+
end
  8 - Melon Jam
+
return a < b
  8 - (Orange Jam)
+
end)
  8 - Pumpkin Bread
+
-- Output results
  8 - Raspberry Jam
+
for _,v in ipairs(items) do
  8 - Rhubarb Jam
+
print(v)
  8 - Salad
+
end
  8 - Spaghetti
+
-- Undo override
 
+
minetest.do_item_eat = old_do_eat
  7 - Apple Jam
+
end
  7 - (Banana Jam)
+
})
  7 - Canned Beans
 
  7 - Canned Chili Pepper
 
  7 - Canned Pumpkin Puree
 
  7 - Multigrain Bread
 
  7 - (Strawberry jam)
 
 
 
  6 - Apple Donut
 
  6 - Apple Pie
 
  6 - Baked Potato
 
  6 - Beetroot Soup
 
  6 - Blueberry Pie
 
  6 - Canned Beetroot
 
  6 - (Canned Coconut)
 
  6 - Canned Mushrooms
 
  6 - Canned Pineapple Rings
 
  6 - Canned Potatoes
 
  6 - Chocolate Donut
 
  6 - Cooked Chicken
 
  6 - Cooked Mutton
 
  6 - Cooked Tofu
 
  6 - Dandelion Jam
 
  6 - Jaffa Cake
 
  6 - Onion Soup
 
  6 - Porridge
 
  6 - Rhubarb Pie
 
  6 - Rose Petal Jam
 
  6 - Triple Berry Smoothie
 
 
 
  5 - Bread
 
  5 - Canned Garlic Cloves
 
  5 - Canned Onions
 
  5 - Cooked Rabbit
 
  5 - Corn on the Cob
 
  5 - Rice Bread
 
 
 
  4 - Acorn Muffin
 
  4 - Carrot
 
  4 - Carrot Juice
 
  4 - Cheese
 
  4 - Cucumber
 
  4 - Date & Nut Snack
 
  4 - Date-Nut Energy Bar
 
  4 - Donut
 
  4 - Glass of Champagne
 
  4 - Glass of Honey-Mead
 
  4 - Glass of Mint Julep
 
  4 - Honey
 
  4 - Orange
 
  4 - Pea Soup
 
  4 - (Persimmon)
 
  4 - Pineapple Juice
 
  4 - Raw Coconut
 
  4 - Raw Porkchop
 
  4 - Red Pepper
 
  4 - Toast Sandwich
 
  4 - Tomato
 
 
 
  3 - Bar of Dark Chocolate
 
  3 - Cooked Rat
 
  3 - Corn
 
  3 - Glass of Brandy
 
  3 - Glass of Coffee Liquor
 
  3 - (Pomegranate Section)
 
  3 - Raw Meat
 
  3 - Raw Rabbit
 
  3 - Tofu
 
  3 - Yellow Pepper
 
 
 
  2 - Acorn
 
  2 - Apple
 
  2 - Bamboo Sprout
 
  2 - Banana
 
  2 - Beer Mug
 
  2 - Blue Agave
 
  2 - Blueberries [farming]
 
  2 - Blueberry Muffin
 
  2 - Cactus Juice (4/5 chance)
 
  2 - Cherries
 
  2 - (Chestnut)
 
  2 - (Chestnut Bur)
 
  2 - Chili Pepper
 
  2 - (Clementine)
 
  2 - Coconut Milk
 
  2 - Cookie
 
  2 - Cup of Coffee
 
  2 - Fried Egg
 
  2 - Garlic Bread
 
  2 - Glass of Beer
 
  2 - Glass of Bourbon
 
  2 - Glass of Cider
 
  2 - Glass of Milk
 
  2 - Glass of Rum
 
  2 - Glass of Sake
 
  2 - Glass of Tequila
 
  2 - Glass of Vodka
 
  2 - Glass of Wheat Beer
 
  2 - Glass of Wine
 
  2 - Grapes
 
  2 - Green Pepper
 
  2 - (Lemon)
 
  2 - Lettuce
 
  2 - Melon Slice
 
  2 - Mint Tea
 
  2 - (Pomegranate)
 
  2 - Pumpkin Slice
 
  2 - Raspberry Smoothie
 
  2 - Raw Chicken
 
  2 - Raw Mutton
 
  2 - Soda Can
 
  2 - Soy Milk
 
  2 - Turkish Delight
 
 
 
  1 - Beetroot
 
  1 - Blackberries
 
  1 - Brown Mushroom
 
  1 - Butter
 
  1 - Cabbage
 
  1 - (Coconut Slice)
 
  1 - Date
 
  1 - Garlic
 
  1 - Green Beans
 
  1 - Onion
 
  1 - Peas
 
  1 - Pineapple Ring
 
  1 - Potato (2/3 chance)
 
  1 - Raspberries
 
  1 - Rhubarb
 
  1 - Roasted Cedar Cone Nuts
 
  1 - Roasted Fir Cone Nuts
 
  1 - Roasted Spruce Cone Nuts
 
  1 - Sliced Bread
 
  1 - Soy Beans
 
  1 - Strawberry
 
  1 - Toast
 
  1 - Vanilla
 
  1 - Wild Blueberries [default]
 
 
 
These may seem edible but aren't without processing
 
  0 - Bottle of Hemp Oil
 
  0 - Cactus
 
  0 - Chocolate Block
 
  0 - Cocoa Beans
 
  0 - Garlic Clove
 
  0 - Pea Pod
 
  0 - Pineapple
 
  0 - Rat
 
  0 - Rose Water
 
  0 - Salt
 
  0 - Soy Pod
 
  0 - Sugar
 
 
 
These aren't healthy, at least not all the time.
 
  -1 - Cactus Juice (1/5 chance of poisoned)
 
  -1 - Potato (1/3 chance of poisoned)
 
 
 
  -5 - Red Mushroom
 
 
</syntaxhighlight>
 
</syntaxhighlight>
 
This list was compiled by running ``find . -name "*.lua" | xargs grep -i "item_eat("`` on the meta repo and on default game, mods folder.
 
Then the data was extracted manually. For [wine] and [canned_food] the provided tables were used to output formatted list of their items.
 
If you find the time to write an automated way, please post your solution here.
 
  
 
[[Category:Farming]]
 
[[Category:Farming]]

Revision as of 10:21, 30 December 2020

About nutrition and stamina

Nutrition refers to how much a food can feed or poison a player, and stamina refers to the value stored in the player, as displayed on the HUD. These terms can also be known as hunger points, food points, stamina points, hunger, or bread.

A positive nutrition value feeds the player, while a negative value poisons the player. The maximum usable nutrition is 20, and the minimum is -20 (poison), anything outside of this range is wasted (for example, Date-nut cake will only give a maximum of 20 stamina, even though it has 32 nutrition).

The stamina HUD (row of bread icons) displays 20 half-loaves of bread (10 full loafs). To calculate how many bread icons are filled up on the HUD when eating an item, divide the nutrition by 2.

Full list of foods

Nutrition Name Itemstring Comment
32 Date-nut cake moretrees:date_nut_cake
30 Marinated tomatoes canned_food:canned_tomato_plus
30 Pickled carrot sticks canned_food:canned_carrot_plus
30 Pickles canned_food:canned_cucumber_plus
21 A jar of honey canned_food:honey_jar
20 Meat Block mobs:meatblock
20 Super Apple maptools:superapple Not obtainable (/giveme only)
16 Burger farming:burger
15 Canned carrots canned_food:canned_carrot
15 Canned cucumbers canned_food:canned_cucumber
15 Canned tomatoes canned_food:canned_tomato
15 Wild blueberry jam canned_food:wild_blueberry_jam
14 Pickled chili pepper canned_food:canned_chili_pepper_plus
12 Mexican pickled potatoes canned_food:canned_potato_plus
12 Pickled beetroot canned_food:canned_beetroot_plus
12 Salted mushrooms canned_food:canned_mushrooms_plus
11 Canned corn canned_food:canned_corn
11 Grape jam canned_food:grape_jam
10 Canned peas canned_food:canned_peas
10 Cucumber and Potato Salad farming:potato_salad
10 Golden Carrot farming:carrot_gold
10 Pickled garlic cloves canned_food:canned_garlic_cloves_plus
10 Pickled onions canned_food:canned_onion_plus
8 Bibimbap farming:bibimbap
8 Blackberry jam canned_food:blackberry_jam
8 Blueberry jam canned_food:blueberry_jam
8 Bowl of Chili farming:chili_bowl
8 Bucket of Milk mobs:bucket_milk
8 Cooked Porkchop mobs:pork_cooked
8 Meat mobs:meat
8 Melon jam canned_food:melon_jam
8 Pumpkin Bread farming:pumpkin_bread
8 Raspberry jam canned_food:raspberry_jam
8 Rhubarb jam canned_food:rhubarb_jam
8 Salad farming:salad
8 Spaghetti farming:spaghetti
7 Apple jam canned_food:apple_jam
7 Canned beans canned_food:canned_beans
7 Canned chili pepper canned_food:canned_chili_pepper
7 Canned pumpkin puree canned_food:canned_pumpkin
7 Multigrain Bread farming:bread_multigrain
6 Apple Donut farming:donut_apple
6 Apple Pie farming:apple_pie
6 Baked Potato farming:baked_potato
6 Beetroot Soup farming:beetroot_soup
6 Blueberry Pie farming:blueberry_pie
6 Canned beetroot canned_food:canned_beetroot
6 Canned mushrooms canned_food:canned_mushrooms
6 Canned pineapple rings canned_food:canned_pineapple
6 Canned potatoes canned_food:canned_potato
6 Chocolate Donut farming:donut_chocolate
6 Cooked Chicken mobs:chicken_cooked
6 Cooked Mutton mobs:mutton_cooked
6 Cooked Tofu farming:tofu_cooked
6 Dandelion jam canned_food:dandelion_jam
6 Jaffa Cake farming:jaffa_cake Requires rare food to craft (Orange)
6 Onion Soup farming:onion_soup
6 Porridge farming:porridge
6 Rhubarb Pie farming:rhubarb_pie
6 Rose petal jam canned_food:rose_jam
6 Triple Berry Smoothie farming:smoothie_berry Requires rare food to craft (Strawberry and Banana)
5 Bread farming:bread
5 Canned garlic cloves canned_food:canned_garlic_cloves
5 Canned onions canned_food:canned_onion
5 Cooked Rabbit mobs:rabbit_cooked
5 Corn on the Cob farming:corn_cob
5 Rice Bread farming:rice_bread
4 Acorn Muffin moretrees:acorn_muffin
4 Carrot Juice farming:carrot_juice
4 Carrot farming:carrot
4 Cheese mobs:cheese
4 Cucumber farming:cucumber
4 Date & nut snack moretrees:date_nut_snack
4 Date-nut energy bar moretrees:date_nut_bar
4 Donut farming:donut
4 Glass of Champagne wine:glass_champagne
4 Glass of Honey-Mead wine:glass_mead
4 Glass of Mint Julep wine:glass_mint
4 Honey mobs:honey
4 Orange ethereal:orange Rare food (obtainable from dungeons)
4 Pea Soup farming:pea_soup
4 Pineapple Juice farming:pineapple_juice
4 Raw Coconut moretrees:raw_coconut
4 Raw Porkchop mobs:pork_raw
4 Red Pepper farming:pepper_red
4 Toast Sandwich farming:toast_sandwich
4 Tomato farming:tomato
3 Bar of Dark Chocolate farming:chocolate_dark
3 Cooked Rat mobs:rat_cooked
3 Corn farming:corn
3 Glass of Brandy wine:glass_brandy
3 Glass of Coffee Liquor wine:glass_coffee_liquor
3 Raw Meat mobs:meat_raw
3 Raw Rabbit mobs:rabbit_raw
3 Tofu farming:tofu
3 Yellow Pepper farming:pepper_yellow
2 Apple default:apple
2 Bamboo Sprout bamboo:sprout
2 Banana ethereal:banana Rare food (obtainable from Christmas presents)
2 Blue Agave wine:blue_agave
2 Blueberries default:blueberries Not to be confused with `farming:blueberries`
2 Blueberry Muffin farming:muffin_blueberry
2 Cactus Juice farming:cactus_juice 4/5 chance (1/5 chance to poison)
2 Cherries cherrytree:cherries
2 Chili Pepper farming:chili_pepper
2 Coconut Milk moretrees:coconut_milk
2 Cookie farming:cookie
2 Cup of Coffee farming:coffee_cup
2 Fried Egg mobs:chicken_egg_fried
2 Garlic Bread farming:garlic_bread
2 Glass of Beer wine:glass_beer
2 Glass of Bourbon wine:glass_bourbon
2 Glass of Cider wine:glass_cider
2 Glass of Milk mobs:glass_milk
2 Glass of Rum wine:glass_rum
2 Glass of Sake wine:glass_sake
2 Glass of Tequila wine:glass_tequila
2 Glass of Vodka wine:glass_vodka
2 Glass of Wheat Beer wine:glass_wheat_beer
2 Glass of Wine wine:glass_wine
2 Grapes farming:grapes
2 Green Pepper farming:pepper
2 Lettuce farming:lettuce
2 Melon Slice farming:melon_slice
2 Mint Tea farming:mint_tea
2 Pumpkin Slice farming:pumpkin_slice
2 Raspberry Smoothie farming:smoothie_raspberry
2 Raw Chicken mobs:chicken_raw
2 Raw Mutton mobs:mutton_raw
2 Soda Can homedecor:soda_can
2 Soy Milk farming:soy_milk
2 Turkish Delight farming:turkish_delight
1 Beetroot farming:beetroot
1 Blackberries farming:blackberry
1 Blueberries farming:blueberries Not to be confused with `default:blueberries`
1 Brown Mushroom flowers:mushroom_brown
1 Butter mobs:butter
1 Cabbage farming:cabbage
1 Date moretrees:date
1 Garlic farming:garlic
1 Green Beans farming:beans
1 Onion farming:onion
1 Peas farming:peas
1 Pineapple Ring farming:pineapple_ring
1 Potato farming:potato 2/3 chance (1/3 chance to poison)
1 Raspberries farming:raspberries
1 Rhubarb farming:rhubarb
1 Roasted Cedar Cone Nuts moretrees:cedar_nuts
1 Roasted Fir Cone Nuts moretrees:fir_nuts
1 Roasted Spruce Cone Nuts moretrees:spruce_nuts
1 Sliced Bread farming:bread_slice
1 Soy Beans farming:soy_beans
1 Strawberry ethereal:strawberry Rare food (obtainable from dungeons)
1 Toast farming:toast
1 Vanilla farming:vanilla
-1 Cactus Juice farming:cactus_juice 1/5 chance (4/5 chance to not poison)
-1 Potato farming:potato 1/3 chance (2/3 chance to not poison)
-5 Red Mushroom flowers:mushroom_red

How this list was created

The information in the above list was gathered by adding a testing tool using the code below. The testing tool was then used in a world containing every mod that is used on Pandorabox, including the default mods in Minetest Game.

For Cactus Juice and Potato, the data was extracted from the mod code manually.

minetest.register_craftitem("test:food_test", {
	description = "Food Nutrition Tester",
	inventory_image = "default_gold_block.png",
	on_use = function(itemstack, user, pointed_thing)
		local items = {}
		-- Override do_item_eat function
		local old_do_eat = minetest.do_item_eat
		minetest.do_item_eat = function(hp_change, replace_with_item, itemstack, player, pointed_thing)
			local item = itemstack:get_name()
			local desc = minetest.registered_items[item].description or ""
			if desc ~= "" then
				desc = minetest.get_translated_string("", desc) .. " "
			end
			items[#items+1] = hp_change .. " " .. desc .. item
		end
		-- Run on_use callback for all registered items
		for k,v in pairs(minetest.registered_items) do
			if k ~= "test:food" and type(v.on_use) == "function" then
				v.on_use(ItemStack(k), user, pointed_thing)
			end
		end
		-- Sort items by nutrition value, then by name
		table.sort(items, function(a, b)
			local na = tonumber(a:split(" ")[1])
			local nb = tonumber(b:split(" ")[1])
			if na ~= nb then
				return nb < na
			end
			return a < b
		end)
		-- Output results
		for _,v in ipairs(items) do
			print(v)
		end
		-- Undo override
		minetest.do_item_eat = old_do_eat
	end
})