This repository was archived by the owner on Jun 17, 2025. It is now read-only.
Description Have you asked for help on discord?
NO
Minecraft Version/s
1.21.4
Modloader
Fabric
Modloader Version
0.16.10
Operating System
Linux
List of all other installed mods
N/A
Describe the problem
Unlike suspicious stew, the hotbar slot isn't autofilled when consuming beetroot soup, mushroom stew or rabbit stew.
The AutoRefillHandler has a case for stews:
} else if (storedItem.itemType.isStew && currentItem.itemType.item == Items .BOWL ) {
true
But itemType.isStew is only returning true for items with suspicious stew effects, which the other stews do not have.
inline val ItemType .isStew: Boolean
get() = this .`(isFood)` && vanillaStack.components[DataComponentTypes .SUSPICIOUS_STEW_EFFECTS ] != null
Older versions handled this different, which probably worked for the other stews.
inline val ItemType .isStew: Boolean
get() = this .`(isFood)` && vanillaStack.components[DataComponentTypes .FOOD ]?.`(convertsToBawl)` ? : false
Steps to reproduce
Put rabbit stew in hotbar.
Put more rabbit stew in inventory.
Drink the rabbit stew from the hotbar.
Observe that the slot isn't refilled, now having an empty bowl in the hotbar.
I have tried to reproduce the problem with only or without "Inventory Profiles Next" and its dependencies installed.
Reactions are currently unavailable
Have you asked for help on discord?
NO
Minecraft Version/s
1.21.4
Modloader
Fabric
Modloader Version
0.16.10
Operating System
Linux
List of all other installed mods
N/A
Describe the problem
Unlike suspicious stew, the hotbar slot isn't autofilled when consuming beetroot soup, mushroom stew or rabbit stew.
The AutoRefillHandler has a case for stews:
Inventory-Profiles/platforms/shared-1.20.5+/src/main/java/org/anti_ad/mc/ipnext/event/autorefill/AutoRefillHandler.kt
Lines 387 to 388 in 019bca0
But
itemType.isStewis only returningtruefor items with suspicious stew effects, which the other stews do not have.Inventory-Profiles/platforms/fabric-1.21.4/src/main/java/org/anti_ad/mc/ipnext/item/ItemTypeExtensions.kt
Lines 406 to 407 in 019bca0
Older versions handled this different, which probably worked for the other stews.
Inventory-Profiles/platforms/fabric-1.21/src/main/java/org/anti_ad/mc/ipnext/item/ItemTypeExtensions.kt
Lines 414 to 415 in 019bca0
Steps to reproduce
I have tried to reproduce the problem with only or without "Inventory Profiles Next" and its dependencies installed.