You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
overrideval eatOnHunger by c.setting("Eat On Hunger", true, "Whether to eat when hungry").group(baseGroup).index()
37
36
overrideval minFoodLevel by c.setting("Minimum Food Level", 6, 0..20, 1, "The minimum food level to eat food", " food level") { eatOnHunger }.group(baseGroup).index()
38
37
overrideval saturated by c.setting("Saturated", EatConfig.Saturation.EatSmart, "When to stop eating") { eatOnHunger }.group(baseGroup).index()
39
-
overrideval nutritiousFood by c.setting<Item>("Nutritious Food", nutritiousFoodDefaults, nutritiousFoodDefaults, "Items that are be considered nutritious", ItemCodec) { eatOnHunger }.group(baseGroup).index()
38
+
overrideval nutritiousFood by c.setting("Nutritious Food", nutritiousFoodDefaults, description ="Items that are be considered nutritious") { eatOnHunger }.group(baseGroup).index()
40
39
overrideval selectionPriority by c.setting("Selection Priority", EatConfig.SelectionPriority.MostNutritious, "The priority for selecting food items") { eatOnHunger }.group(baseGroup).index()
41
40
overrideval eatOnFire by c.setting("Eat On Fire", true, "Whether to eat when on fire").group(baseGroup).index()
42
-
overrideval resistanceFood by c.setting<Item>("Resistance Food", resistanceFoodDefaults, resistanceFoodDefaults, "Items that give Fire Resistance", ItemCodec) { eatOnFire }.group(baseGroup).index()
41
+
overrideval resistanceFood by c.setting("Resistance Food", resistanceFoodDefaults, description ="Items that give Fire Resistance") { eatOnFire }.group(baseGroup).index()
43
42
overrideval eatOnDamage by c.setting("Eat On Damage", true, "Whether to eat when damaged").group(baseGroup).index()
44
43
overrideval minDamage by c.setting("Minimum Damage", 10, 0..20, 1, "The minimum damage threshold to trigger eating") { eatOnDamage }.group(baseGroup).index()
45
-
overrideval regenerationFood by c.setting<Item>("Regeneration Food", regenerationFoodDefaults, regenerationFoodDefaults, "Items that give Regeneration", ItemCodec) { eatOnDamage }.group(baseGroup).index()
44
+
overrideval regenerationFood by c.setting("Regeneration Food", regenerationFoodDefaults, description ="Items that give Regeneration") { eatOnDamage }.group(baseGroup).index()
46
45
overrideval ignoreBadFood by c.setting("Ignore Bad Food", true, "Whether to eat when the food is bad").group(baseGroup).index()
47
-
overrideval badFood by c.setting<Item>("Bad Food", negativeFoodDefaults, negativeFoodDefaults, "Items that are considered bad food", ItemCodec) { ignoreBadFood }.group(baseGroup).index()
46
+
overrideval badFood by c.setting("Bad Food", negativeFoodDefaults, description ="Items that are considered bad food") { ignoreBadFood }.group(baseGroup).index()
Copy file name to clipboardExpand all lines: src/main/kotlin/com/lambda/config/groups/InventorySettings.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ class InventorySettings(
36
36
37
37
overrideval actionsPerSecond by c.setting("Actions Per Second", 100, 0..100, 1, "How many inventory actions can be performed per tick").group(baseGroup, Group.General).index()
38
38
overrideval tickStageMask by c.setting("Inventory Stage Mask", setOf(TickEvent.Pre, TickEvent.Input.Pre, TickEvent.Input.Post, TickEvent.Player.Post), description ="The sub-tick timing at which inventory actions are performed").group(baseGroup, Group.General).index()
39
-
overrideval disposables by c.setting("Disposables", ItemUtils.defaultDisposables, ItemUtils.defaultDisposables,"Items that will be ignored when checking for a free slot").group(baseGroup, Group.Container).index()
39
+
overrideval disposables by c.setting("Disposables", ItemUtils.defaultDisposables, description ="Items that will be ignored when checking for a free slot").group(baseGroup, Group.Container).index()
40
40
overrideval swapWithDisposables by c.setting("Swap With Disposables", true, "Swap items with disposable ones").group(baseGroup, Group.Container).index()
41
41
overrideval providerPriority by c.setting("Provider Priority", InventoryConfig.Priority.WithMinItems, "What container to prefer when retrieving the item from").group(baseGroup, Group.Container).index()
42
42
overrideval storePriority by c.setting("Store Priority", InventoryConfig.Priority.WithMinItems, "What container to prefer when storing the item to").group(baseGroup, Group.Container).index()
0 commit comments