promotional bannermobile promotional banner

Spice of Life: Classic Edition

Eating the same food will cause the recovery level to decrease.

File Details

SoL:Classic_v2.11 (Forge)

  • R
  • Mar 19, 2026
  • 112.23 KB
  • 23.2K
  • 1.20.1
  • Forge + 1

File Name

spiceoflife_classic-forge-2.11.jar

Supported Versions

  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:foodvariations-1109288:7779893")

NeoForge

implementation fg.deobf("curse.maven:foodvariations-1109288:7779893")
Curse Maven does not yet support mods that have disabled 3rd party sharing

Learn more about Curse Maven

Fixed

  • Fixed Wicker Basket / Lunch Basket slot desync bug where placing food items would cause other items to be displaced or lost after approximately 3 items. The root cause was using vanilla MenuType.GENERIC_9x1, which caused the client to create a vanilla ChestMenu + SimpleContainer (no food validation) while the server used FoodChestMenu + FoodContainer + FoodSlot (with food validation). This client-server mismatch led to slot synchronization failures during item placement. Registered a custom MenuType via Architectury's MenuRegistry.ofExtended() so both client and server use FoodChestMenu with consistent FoodSlot + FoodContainer validation.
  • Added canPlaceItem() override to FoodContainer as an additional safety net for food-only validation at the container level (defense-in-depth alongside FoodSlot.mayPlace()).