Spice of Life: Raspberry Pie Edition
Choosable diet bonuses on top of Spice of Life: Apple Pie Edition. Raspberry Pie turns food variety into a bonus ladder: extra hearts, armor toughness, knockback resistance, always-on effects, effect slots you fill yourself, and one-time effect unlocks. Eating many different and high value foods climbs the ladder; repeating the same and low value food does not. Drinks are kept out of the food diet and have their own book, the Liquid Diet Log. It works with only Minecraft Forge and its own jar: Apple Pie and Spice of Life: Carrot Edition come bundled inside it.

How it works, in four steps:
- Eat different foods. Apple Pie scores how varied your last 32 meals are: your food diversity.
- Climb the ladder. Each diversity threshold gives a bonus: hearts, toughness, knockback resistance, an always-on effect, an effect slot or a one-time unlock.
- Fill your slots. Each effect slot holds one unlocked effect of your choice. Filling a slot and changing its level are free.
- Pay to change your mind. Changing a slot to another effect, or dropping it, ages your oldest foods out of the diet, which lowers your diversity.
Every feature below works in a standalone install. The ladder, the settings and the effect pool are plain files you can edit. A line that names a mod in brackets only applies when that mod is installed. The screenshots are from a modpack that renames some effects (Fire Resistance shows as Fire Immunity) and adds other mods' icons and inventory tabs.
Food diversity
What your diversity is, which foods count, and the Diet Log where you read it.
How diversity is scored
- Apple Pie does the scoring: Each food has a diversity value ("Full meal"). A meal counts less the more recently you ate the same food, and a food stops counting once it falls out of the last 32 meals (Apple Pie's
endDecay, 32 by default). Your diversity is the sum. Raspberry Pie reads that score and applies every bonus at its threshold. - Shown rounded down: Diversity is printed with two decimals and rounded down everywhere, so 4.97 does not count as 5.
- Food tooltips: Every food that counts shows "Diversity: X", or "Diversity: X (contributes Y)" while it is in your last 32 meals, with Apple Pie's "Last eaten: N meals ago" line under it.

- Current and highest: Raspberry Pie also keeps the highest diversity you have ever reached. Current diversity drives every bonus except one-time unlocks, which follow the highest.
The Overview page
- Last 32 Meals: The Diet Log's first page shows your last 32 meals as an icon grid, newest first, repeats included, with your current diversity under it. A meal leaves the grid when its food leaves the window, so a slot change or drop closes the gap.

- Hover a meal: "N. Name", "Full meal: X diversity" (the food's base value) and "This meal: Y diversity" (what that meal adds). When you ate the food more than once, a "Food total" line shows what the food adds in all and the single meal's line is struck through.

- Diversity icon: The food beside the number is the eaten food closest to the average value of your recent meals, so it changes as your diet improves. While nothing is eaten it is a fallback item (seeds by default).
What counts
- Unique-food gate: Below Apple Pie's
minFoodsToActivateno bonus is active, and the Overview page shows "N more unique foods to activate diet". By default (uniqueFoodsToActivate = true) the count is of different foods eaten since the counter last reset, so eating one food over and over never opens the gate. Apple Pie's own default forminFoodsToActivateis 0, which opens the gate at once. - Drinks stay out of the diet: A drink has no diversity, does not age your other foods, does not count toward the gate and does not appear in the Diet Log. Drinks go to the Liquid Diet Log instead (below).
- Food values from any mod: Food mods and packs can set each food's diversity value (see Food diversity tables below). Without a table, Apple Pie's own values stand.
The Diet Log
- Where it all shows: Apple Pie's Food Book is renamed Diet Log and gains pages: the Overview (page 1), the Diet Ladder (page 2) and the Milestones (page 3 on). A Diet Bonuses button under the book opens the effect screen. The mouse wheel flips pages.
- Crafting: Shapeless, a book and any food. In a standalone install "food" is any item that can be eaten except drinks and carrots (a book and a carrot make the Food Dictionary). Packs can add to the exclusion tag
#solraspberrypie:diet_log_excluded. Apple Pie's own recipe for the book is removed. - Starting books: A new player gets the Diet Log and the Liquid Diet Log once on first join (
giveBooksOnFirstJoin). - Size: The book is drawn larger than Apple Pie's and wider, and shrinks to fit a small window (client settings
bookScaleandextraWidth).
The diet ladder
The bonuses diversity gives, how to read them in the Diet Log, and what happens when your diet slips.
Climbing the ladder
- Diet Ladder page: The Diet Log's second page shows diversity now and highest ever, and a bar of five milestone values: from 0 at the start, then the last one reached and the next four. The green fill is your current diversity; the icons above each point are the bonuses there. Reached one-time unlocks leave the bar. A key under the bar names the six kinds of bonus.

- Icons: A bonus not yet reached alternates its placeholder icon (awkward potion for an unlock, diamond for a permanent buff, item frame for a slot) with the effect; a reached one shows the effect in the color frame of its kind. The icons can be changed in the client config.
Milestones
- Milestones pages: From page 3 on, every bonus is listed in order with its threshold. Active bonuses are green; bonuses not reached are gray. A one-time unlock you have reached is struck through: black while your current diversity is at or above it, gray below.

- Single-level effects carry no numeral ("Night Vision", not "Night Vision I").
Kinds of bonus
- Hearts: extra maximum health, half a heart per rung by default.
- Attributes: armor toughness and knockback resistance.
- Permanent buffs: an effect that is always on while your diversity stays at its threshold, and is lost again if it drops. Shown at the top of the Diet Bonuses screen; hover one for its name and "Always on while your diversity stays high enough".
- Effect slots: a slot you fill with one unlocked effect (see Effect slots below).
- One-time unlocks: an effect you may put in a slot. Unlocks follow the highest diversity you ever reached, so they are never lost by a bad stretch of eating.
The default ladder
- Apple Pie's own ladder, rescaled: The built-in ladder is Apple Pie's default benefits (hearts, armor toughness, knockback resistance and always-on Speed, Haste, Strength, Regeneration and Luck) scaled to a top of 50; with Apple Pie's default settings a diet of vanilla foods reaches about 56 at most.
- Four effect slots at 5, 15, 27.5 and 40.
- Ten one-time unlocks: Regeneration I (5), Jump Boost I (8.8), Luck I (12.8), Night Vision (17.1), Water Breathing (21.5), Fire Resistance (26.3), Jump Boost II (31.4), Slow Falling (36.9), Jump Boost III (43) and Glowing (50). 44 bonuses in all.
- Fully editable: Every threshold, type and amount is in one JSON file per world,
serverconfig/solraspberrypie/ladder.json, copied from the mod's built-in default (or fromdefaultconfigs/solraspberrypie/ladder.jsonwhen a pack ships one). It is read at server start and sent to each player on login. The file also sets the pool of effects slots may hold and each one's highest level. - Ladder updates reach existing worlds: A world's ladder copy that you never edited is replaced when the mod ships a new default (the old copy is kept as a dated backup). An edited copy is kept, with one warning in the log.
Losing and keeping bonuses
- Diversity falls, bonuses go: Hearts, attributes, permanent buffs and slots switch off when your current diversity drops below their threshold, and come back when it rises again. A slot that switches off is grayed and keeps its choice; its effect returns on its own when the slot is reached again.
- Unlocks stay: Unlocked effects and levels stay available at any diversity. Below, a player at 13.09 who once reached 49.90 still has Jump Boost up to III in slot 1.

- Messages: Gained and lost bonuses, unlocks and covered slots show as action bar messages.
- Dying costs the window: Death ages your whole diet window out and resets the foods-eaten counter (Apple Pie's own reset on death is not used, because it would wipe the memory first). Unlocks and slot choices are kept.
Effect slots
The Diet Bonuses screen: choosing, leveling, changing and dropping the effects in your slots.
The Diet Bonuses screen
- Opening it: Press P, click the Diet Bonuses button under the Diet Log, or click the diet bar on the survival inventory.
- Layout: Diversity now and highest at the top, then your permanent buffs, then one cell per slot, and a bar under the slots that fills toward each slot's threshold (5, 15, 27.5 and 40 by default). Slots not reached are dark.

- Inventory diet bar: The survival inventory shows a bar of your active permanent buffs and slots; hover for details, click to open the screen. Shift+T unlocks it to drag it anywhere (it snaps to the inventory edges). It hides while the recipe book or the Curios panel is open, and Just Enough Items moves out of its way.
Filling a slot and changing its level
- Filling is free: Click Choose on an empty slot and pick an unlocked effect; the picker marks it Free. The effect goes into the lowest empty slot, so filled slots pack from slot 1 upward.

- Levels are free: The - and + buttons step the slot through every level you have unlocked for that effect; + is disabled at the highest one (see the Jump Boost shots above).
- Toggle effects: A ladder entry can be marked as a toggle: the player switches it on or off instead of choosing a level. The default ladder has none.
Changing or dropping a slot
- Changing the effect costs foods: Swapping a slot to a different effect ages out the 5 oldest foods in your diet window (
respecFoods). Aged-out foods leave Apple Pie's food memory and count for nothing until eaten again, so every choice has a real cost in diversity. Hovering Change shows how many foods age out, and the picker marks a paid effect "Costs diversity: your oldest foods age out". - Confirm panel: Every paid action opens a confirm panel first: diversity now and after, the foods that will age out, and the effects and slots that will be lost. Your highest diversity is not lowered. Below, changing slot 1 from Fire Resistance to Slow Falling: 49.90 to 48.11, five foods aged out, highest still 49.90.

- Dropping a slot: Drop ages out foods until your highest active slot is lost; the slots above the dropped one move down to close the gap.
- Lowered entries: A food lowered by
/solrp diversity setcounts in the confirm panel's list and is marked with a "-" and a "Lowered" tooltip line.
Covered and replaced slots
- No double dipping: An effect that is already a permanent buff is hidden from the picker, and a slot holding it is shown grayed as "Covered by a permanent buff"; changing it is free.
- Replacements: A ladder may mark one unlock as replacing another. Once the new one is unlocked, the old one leaves the picker and a slot holding it is grayed as "Replaced by X", not applied, and free to change.
Effects in play
- Refreshed on a timer: Diet effects are re-applied every 400 ticks with a duration of 800 ticks, so they never run out while you keep the bonus.
- Clean HUD: The effect icons in the inventory and the HUD can be replaced by the diet bar.
- Milk and totems: Milk, totems and
/effect clearremove diet effects, which return on the next tick. - Pause: Server operators can pause players with
/solrp pause: Raspberry Pie then applies nothing for them and refuses slot actions, but removes no effect by itself;/solrp resumeundoes it.
Liquid Diet Log: a record of your drinks
The Liquid Diet Log adds nothing. It gives no bonus, no health and no effect, and drinks never change your food diversity. It is only a book that lists the drinks you have had.
What it is
- View only: The book lists every different drink you have had, newest first, the last 256. Each drink is shown once however often you drink it, with a count at the top ("N different drinks").
- No bonus from drinks: Drinks keep their own effects (a potion still gives its effect), but Raspberry Pie gives nothing for them and the ladder never reads this book.
- No penalty either: A drink has no diversity, does not push your foods out of the last 32 meals, does not count toward the unique-food gate and does not appear in the Diet Log.
What counts as a drink
- Drinks: potions, milk buckets and every item in
#solraspberrypie:drinks, which includes#creativedelight:food_type/drink,#farmersdelight:drinks,#brewinandchewin:fermented_drinksand#forge:drinks. Packs can add to the tag. - Tooltip: A drink's tooltip shows no Diversity line.
Crafting and reading it
- Crafting: Shapeless, a book and any drink in
#solraspberrypie:drinks. New players also get one on first join. - Reading: Use the book to open it; the arrow buttons turn pages. It pauses the game in single player.
- Reset:
/solrp resetclears it with the rest of a player's diet.
Food Dictionary: a record of your foods
The Food Dictionary adds nothing. It comes from the bundled Spice of Life: Carrot Edition 1.14.0, gives no bonus and does not change your diversity. It is only a book that lists the foods you have eaten and those you have not, in the order you choose.
What it is
- View only: The Food Dictionary lists every food in the game, eaten ("Already Tasted") and not yet eaten. The ladder never reads it; your diversity comes only from your last 32 meals in the Diet Log.
- No Carrot Edition hearts: The ladder owns the hearts, so the bundled Carrot Edition defaults to no hearts per milestone (
heartsPerMilestone = 0) and one unreachable milestone (100000 foods), so no milestone message or particles show; its Overview page reads "0/0 Hearts Gained". Only the defaults change: asolcarrot-server.tomlthat sets other values keeps them.
- Name: Carrot Edition's Food Book is renamed Food Dictionary, to tell it apart from the Diet Log.
Sorting eaten foods
A button beside the eaten foods list cycles the order; hover it for the current one. The choice is saved in the client config.
| Button icon | Order | Sorts by |
|---|---|---|
| Golden carrot | Newest unlock first (default) | The food you tasted for the first time most recently |
| Clock | Latest eaten first | The food you ate most recently |
| Cooked beef | Highest food first | Hunger restored |
| Rabbit stew | Highest saturation first | Saturation restored |
| Suspicious stew | Highest diversity first | The food's base diversity value |
| Book and quill | Custom order | Your own list (below); skipped while the list is empty |

Sorting uneaten foods
Set in the client config ([foodDictionary] uneatenSort); ties in every eaten order fall back to this one.
- Mod and name (default): by mod, then A to Z.
- Name: A to Z.
- Easiest: lowest base diversity first, then hunger.
- Hardest: highest base diversity first, then hunger.
- Highest food, highest saturation, highest diversity: as for eaten foods.
- Custom order: your own list first, the rest after it.
Custom order and crafting
- Your own order: List item ids in the client setting
[foodDictionary] customOrder; listed foods come first in that order, the rest follow. - Crafting: Carrot Edition's own shapeless recipe, a book and a carrot.
- Version: The sorting works only with Carrot Edition 1.14.0 exactly; with another version the book keeps Carrot Edition's own order.
Packs, servers and other mods
Food values from any mod or pack, operator commands, and what changes with optional mods.
Food diversity tables
- Any mod or pack can set food values: Raspberry Pie loads every
solraspberrypie/diversity/*.jsonfound in a loaded mod's jar (datapacks are not read), so a food mod can say how much each of its foods is worth. Files merge by mod id then file name; a later file wins for an id both list. Ids of mods that are not installed are skipped with one summary line. - Safe on bad files: A file of the wrong shape is skipped with one error line, and a value that is not a finite number of 0 or more is skipped.
- Nothing shipped: Raspberry Pie includes no table of its own: without one, Apple Pie's own values stand.
- Synced: A dedicated server sends its table to each client on login and on
/reload, so tooltips and the Diet Log match the server.
Commands
All need permission level 2.
/solrp reset [players] [carrot]: resets a player's whole diet (no player: yourself): food memory and the foods-eaten counter, highest diversity and so every one-time unlock, slot choices, toggles and the Liquid Diet Log. Books and pause state are kept. Addcarrotafter the players to also clear their Carrot Edition food list./solrp diversity set [players] [value]: replaces the food window with one Adjustment entry worth that value, so current and highest diversity both become it; the entry ages out like a meal./solrp diversity get [player]: shows current and highest diversity./solrp ladder reset: replaces the world's ladder file with the current default (the old file is kept as a dated backup) and re-applies it to everyone online./solrp pause [players],/solrp pause listand/solrp resume [players]: stop and restore Raspberry Pie's effects and slot actions for those players.
Optional mods
None of these are required. Changes that alter another mod's code are tied to the versions given; with any other version they are turned off and one warning is logged, so an update never crashes the game.
- Just Enough Items (11 or newer): The overlay stays clear of the inventory diet bar; the internal marker item is hidden.
- AppleSkin (2.4.2): The saturation icons sit on the hunger row of food tooltips, or on their own line with
saturationOwnLine; the diversity line itself needs no AppleSkin. - Spice of Life: Carrot Edition (1.14.0 or newer): Already bundled; replacing or removing it never stops the game from starting. Its Food Dictionary gets the sorting above and is renamed; the sorting needs exactly 1.14.0.
- Creative Common: Diet effects count as permanent in its two-column inventory effect list. Not required.
Settings and defaults
Raspberry Pie writes no Apple Pie settings. It runs on whatever the world's solapplepie-server.toml says, Apple Pie's defaults included. It logs one boxed warning at server start for a setting it cannot work with, and an info line for settings that only change how it behaves. Its own files are serverconfig/solraspberrypie-server.toml (per world), config/solraspberrypie-client.toml (client) and serverconfig/solraspberrypie/ladder.json:
| Setting | Default | What it does |
|---|---|---|
[diet] uniqueFoodsToActivate (per world) | true | The gate counts different foods, not every meal |
[diet] respecFoods (per world) | 5 | Foods aged out when a slot changes to a different effect |
[diet] effectDuration (per world) | 800 ticks | Duration of every diet effect instance |
[diet] refreshInterval (per world) | 400 ticks | How often diet effects are re-applied; keep it well below the duration |
[diet] pauseEndsOnRelog (per world) | false | Whether /solrp pause ends when the player logs out |
[diet] giveBooksOnFirstJoin (per world) | true | Both books on a player's first join |
[dietLog] bookScale (client) | 1.4 | Diet Log size; shrinks to fit a small window |
[dietLog] extraWidth (client) | 48 pixels | Widens the Diet Log background; 0 is Apple Pie's own width |
[dietLog.pages.*] (client) | per page | Position and scale of each page's content |
[dietLog] diversityIconFallback (client) | vanilla seeds, rotten flesh, spider eye | Icon beside the diversity value while nothing has been eaten |
[foodDictionary] uneatenSort, eatenSort, customOrder (client) | mod and name; newest unlock; none | Food Dictionary order |
[icons] unlock, permanentBuff, slot (client) | awkward potion, diamond, item frame | Diet Log icons per bonus kind; first loaded item wins |
[tooltips] saturationOwnLine (client) | false | AppleSkin saturation icons on their own tooltip line |
[widget] enabled, locked, x, y (client) | true, true, 178, 0 | The diet bar on the survival inventory and its position |
Settings Raspberry Pie cannot work with (warning in the log), in Apple Pie's file: resetOnDeath = true (the memory is wiped before it can be aged out) and startDecay above endDecay. minContribution above 0 only logs an info line: foods past the decay window still count a little, but foods aged out by Raspberry Pie count nothing. Apple Pie's own benefit lists are kept off, because the ladder replaces them. Keys: P opens the effect screen, Shift+T locks or unlocks the bar; both can be rebound.
Requirements
| Version | |
|---|---|
| Minecraft | 1.19.2 |
| Forge | 43 or newer |
| Spice of Life: Apple Pie Edition | 2.2.0 exactly, bundled in the jar |
Spice of Life: Carrot Edition 1.14.0 is bundled too and optional. Both come nested unmodified inside the Raspberry Pie jar; do not install loose copies unless you want to replace the bundled ones. Raspberry Pie does not need Creative Common or KubeJS.
Optional: Just Enough Items 11 or newer, AppleSkin 2.4.2, Spice of Life: Carrot Edition 1.14.0 (bundled) and Creative Common; see "Optional mods" above.
Both client and server need it, and their versions must match.
Source, issues and license
- Source code and issue tracker: github.com/SaintAlfonzo/CreativeEngineering
- License: GNU GPL v3 for Raspberry Pie's own code. It is an add-on that mixes into Apple Pie at runtime and copies none of its code. The bundled Spice of Life: Apple Pie Edition by tarinoita (forked from Spice of Life: Potato Edition by Kevun1 and the Carrot Edition team) and Spice of Life: Carrot Edition by Cazsius, Talonos and juliand665 are unmodified and under LGPL v2.1; their source is attached to every release. The Liquid Diet Log texture is an unmodified copy of Apple Pie's Food Book texture. The full notices are in the jar.
- Logo: the graph is adapted from the logo of Spice of Life: Apple Pie Edition by tarinoita (LGPL v2.1; pie removed, colors changed). The pie is the Raspberry Pie texture from Hearth and Harvest by AlabasterLeking (MIT License, copyright AlabasterLeking), with an edited crust.
- Free to include in modpacks.