Skip to content

Commit

Permalink
properly mark cloth config as a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew6rant committed Feb 27, 2022
1 parent 6d6a2de commit c829309
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 12 deletions.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.11.6

# Mod Properties
mod_version = 2.1.2
mod_version = 2.1.3
maven_group = io.github.Andrew6rant
archives_base_name = stacker

# Dependencies
fabric_version=0.39.2+1.17
modmenu_version=2.0.6
cloth_config_version=5.0.34
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@
@Config(name = "stacker")
public class StackerConfig implements ConfigData {
public static StackerConfig CONFIG;
/*public enum itemCountScale {
VARIABLE(),
LARGE,
MEDIUM,
SMALL
}*/
//@ConfigEntry.Category("Stacker Config")
@ConfigEntry.Gui.PrefixText
@ConfigEntry.Gui.Tooltip
public int maxStacker = 64;
Expand All @@ -26,10 +19,8 @@ public class StackerConfig implements ConfigData {
public boolean variableOverride = true;

@ConfigEntry.Gui.Tooltip
//public ItemCountRenderEnum itemCountScale = ItemCountRenderEnum.VARIABLE;
@ConfigEntry.BoundedDiscrete(min = 0, max = 50)
public int itemCountScaleInt = 25;
//public enum itemCountScale = VARIABLE;

static {
AutoConfig.register(StackerConfig.class, GsonConfigSerializer::new);
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"schemaVersion": 1,
"id": "stacker",
"version": "2.1.2",
"version": "2.1.3",

"name": "Stacker",
"description": "Change the stack size of all items!",
Expand Down Expand Up @@ -37,7 +37,8 @@
"1.17.x",
"1.18.x"
],
"java": ">=16"
"java": ">=16",
"cloth-config2": ">=5.0.34"
},
"custom": {
"modmenu": [
Expand Down

0 comments on commit c829309

Please sign in to comment.