Список изменений
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 vanillaChestMenu+SimpleContainer(no food validation) while the server usedFoodChestMenu+FoodContainer+FoodSlot(with food validation). This client-server mismatch led to slot synchronization failures during item placement. Registered a customMenuTypevia Architectury'sMenuRegistry.ofExtended()so both client and server useFoodChestMenuwith consistentFoodSlot+FoodContainervalidation. - Added
canPlaceItem()override toFoodContaineras an additional safety net for food-only validation at the container level (defense-in-depth alongsideFoodSlot.mayPlace()).
Файлы
spiceoflife_classic-fabric-2.11.jar(896.81 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
2.11
Загрузчики
Fabric
Версии игры
1.20.1
Загрузок
46
Дата публикации
1 нед. назад
![Spice of Life: Classic Edition [1.20.1]](https://cdn.modrinth.com/data/Utos7Mlk/95249280928eafc70f176368f1684632a61b7900.png)
