Configure cauldron operations brewing consumption and feedback
This commit is contained in:
@@ -16,7 +16,10 @@ abstract class SoupStackMixin {
|
||||
var key = item.unwrapKey().orElse(null);
|
||||
if (key == null || !key.identifier().getNamespace().equals("minecraft")) return;
|
||||
switch (key.identifier().getPath()) {
|
||||
case "mushroom_stew", "rabbit_stew", "beetroot_soup", "suspicious_stew" -> components.set(DataComponents.MAX_STACK_SIZE, 16);
|
||||
case "mushroom_stew", "rabbit_stew", "beetroot_soup", "suspicious_stew" -> {
|
||||
var config = online.astradev.cauldron.AstraCauldron.config();
|
||||
if (config.normalizeVanillaSoups) components.set(DataComponents.MAX_STACK_SIZE, config.soupStackSize);
|
||||
}
|
||||
default -> { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user