Skip to content

Commit

Permalink
Fix #118.
Browse files Browse the repository at this point in the history
  • Loading branch information
MerchantPug committed Dec 3, 2024
1 parent 911139a commit 72b8073
Showing 1 changed file with 40 additions and 39 deletions.
79 changes: 40 additions & 39 deletions src/main/java/vectorwing/farmersdelight/common/Configuration.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import io.github.fabricators_of_create.porting_lib.config.ModConfigSpec;

import java.util.List;
import java.util.function.Supplier;

public class Configuration
{
Expand All @@ -12,59 +13,59 @@ public class Configuration

// COMMON
public static final String CATEGORY_SETTINGS = "settings";
public static ModConfigSpec.BooleanValue ENABLE_VANILLA_CROP_CRATES;
public static ModConfigSpec.BooleanValue FARMERS_BUY_FD_CROPS;
public static ModConfigSpec.BooleanValue WANDERING_TRADER_SELLS_FD_ITEMS;
public static ModConfigSpec.DoubleValue RICH_SOIL_BOOST_CHANCE;
public static ModConfigSpec.DoubleValue CUTTING_BOARD_FORTUNE_BONUS;
public static ModConfigSpec.BooleanValue ENABLE_ROPE_REELING;
public static ModConfigSpec.ConfigValue<List<? extends String>> CANVAS_SIGN_DARK_BACKGROUND_LIST;
public static Supplier<Boolean> ENABLE_VANILLA_CROP_CRATES;
public static Supplier<Boolean> FARMERS_BUY_FD_CROPS;
public static Supplier<Boolean> WANDERING_TRADER_SELLS_FD_ITEMS;
public static Supplier<Double> RICH_SOIL_BOOST_CHANCE;
public static Supplier<Double> CUTTING_BOARD_FORTUNE_BONUS;
public static Supplier<Boolean> ENABLE_ROPE_REELING;
public static Supplier<List<? extends String>> CANVAS_SIGN_DARK_BACKGROUND_LIST;

public static final String CATEGORY_FARMING = "farming";
public static ModConfigSpec.ConfigValue<String> DEFAULT_TOMATO_VINE_ROPE;
public static ModConfigSpec.BooleanValue ENABLE_TOMATO_VINE_CLIMBING_TAGGED_ROPES;
public static Supplier<String> DEFAULT_TOMATO_VINE_ROPE;
public static Supplier<Boolean> ENABLE_TOMATO_VINE_CLIMBING_TAGGED_ROPES;

public static final String CATEGORY_RECIPE_BOOK = "recipe_book";
public static ModConfigSpec.BooleanValue ENABLE_RECIPE_BOOK_COOKING_POT;
public static Supplier<Boolean> ENABLE_RECIPE_BOOK_COOKING_POT;

public static final String CATEGORY_OVERRIDES = "overrides";
public static ModConfigSpec.BooleanValue VANILLA_SOUP_EXTRA_EFFECTS;
public static ModConfigSpec.BooleanValue RABBIT_STEW_BUFF;
public static ModConfigSpec.BooleanValue DISPENSER_TOOLS_CUTTING_BOARD;
public static Supplier<Boolean> VANILLA_SOUP_EXTRA_EFFECTS;
public static Supplier<Boolean> RABBIT_STEW_BUFF;
public static Supplier<Boolean> DISPENSER_TOOLS_CUTTING_BOARD;

public static final String CATEGORY_OVERRIDES_STACK_SIZE = "stack_size";
public static ModConfigSpec.BooleanValue ENABLE_STACKABLE_SOUP_ITEMS;
public static ModConfigSpec.ConfigValue<List<? extends String>> SOUP_ITEM_LIST;
public static Supplier<Boolean> ENABLE_STACKABLE_SOUP_ITEMS;
public static Supplier<List<? extends String>> SOUP_ITEM_LIST;

public static final String CATEGORY_WORLD = "world";
public static ModConfigSpec.BooleanValue GENERATE_FD_CHEST_LOOT;
public static ModConfigSpec.BooleanValue GENERATE_VILLAGE_COMPOST_HEAPS;
public static ModConfigSpec.BooleanValue GENERATE_VILLAGE_FARM_FD_CROPS;
public static ModConfigSpec.BooleanValue GENERATE_WILD_CABBAGES;
public static ModConfigSpec.IntValue CHANCE_WILD_CABBAGES;
public static ModConfigSpec.BooleanValue GENERATE_WILD_BEETROOTS;
public static ModConfigSpec.IntValue CHANCE_WILD_BEETROOTS;
public static ModConfigSpec.BooleanValue GENERATE_WILD_POTATOES;
public static ModConfigSpec.IntValue CHANCE_WILD_POTATOES;
public static ModConfigSpec.BooleanValue GENERATE_WILD_ONIONS;
public static ModConfigSpec.IntValue CHANCE_WILD_ONIONS;
public static ModConfigSpec.BooleanValue GENERATE_WILD_CARROTS;
public static ModConfigSpec.IntValue CHANCE_WILD_CARROTS;
public static ModConfigSpec.BooleanValue GENERATE_WILD_TOMATOES;
public static ModConfigSpec.IntValue CHANCE_WILD_TOMATOES;
public static ModConfigSpec.BooleanValue GENERATE_WILD_RICE;
public static ModConfigSpec.IntValue CHANCE_WILD_RICE;
public static ModConfigSpec.BooleanValue GENERATE_BROWN_MUSHROOM_COLONIES;
public static ModConfigSpec.IntValue CHANCE_BROWN_MUSHROOM_COLONIES;
public static ModConfigSpec.BooleanValue GENERATE_RED_MUSHROOM_COLONIES;
public static ModConfigSpec.IntValue CHANCE_RED_MUSHROOM_COLONIES;
public static Supplier<Boolean> GENERATE_FD_CHEST_LOOT;
public static Supplier<Boolean> GENERATE_VILLAGE_COMPOST_HEAPS;
public static Supplier<Boolean> GENERATE_VILLAGE_FARM_FD_CROPS;
public static Supplier<Boolean> GENERATE_WILD_CABBAGES;
public static Supplier<Integer> CHANCE_WILD_CABBAGES;
public static Supplier<Boolean> GENERATE_WILD_BEETROOTS;
public static Supplier<Integer> CHANCE_WILD_BEETROOTS;
public static Supplier<Boolean> GENERATE_WILD_POTATOES;
public static Supplier<Integer> CHANCE_WILD_POTATOES;
public static Supplier<Boolean> GENERATE_WILD_ONIONS;
public static Supplier<Integer> CHANCE_WILD_ONIONS;
public static Supplier<Boolean> GENERATE_WILD_CARROTS;
public static Supplier<Integer> CHANCE_WILD_CARROTS;
public static Supplier<Boolean> GENERATE_WILD_TOMATOES;
public static Supplier<Integer> CHANCE_WILD_TOMATOES;
public static Supplier<Boolean> GENERATE_WILD_RICE;
public static Supplier<Integer> CHANCE_WILD_RICE;
public static Supplier<Boolean> GENERATE_BROWN_MUSHROOM_COLONIES;
public static Supplier<Integer> CHANCE_BROWN_MUSHROOM_COLONIES;
public static Supplier<Boolean> GENERATE_RED_MUSHROOM_COLONIES;
public static Supplier<Integer> CHANCE_RED_MUSHROOM_COLONIES;

// CLIENT
public static final String CATEGORY_CLIENT = "client";

public static ModConfigSpec.BooleanValue NOURISHED_HUNGER_OVERLAY;
public static ModConfigSpec.BooleanValue COMFORT_HEALTH_OVERLAY;
public static ModConfigSpec.BooleanValue FOOD_EFFECT_TOOLTIP;
public static Supplier<Boolean> NOURISHED_HUNGER_OVERLAY;
public static Supplier<Boolean> COMFORT_HEALTH_OVERLAY;
public static Supplier<Boolean> FOOD_EFFECT_TOOLTIP;

static {
ModConfigSpec.Builder COMMON_BUILDER = new ModConfigSpec.Builder();
Expand Down

0 comments on commit 72b8073

Please sign in to comment.