Skip to content

Commit

Permalink
bump cotton to 12b, add mod icon, change config to .json5
Browse files Browse the repository at this point in the history
  • Loading branch information
LemmaEOF committed Mar 25, 2019
1 parent 9c2f0f5 commit 7c90f4a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions project.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
ext {
projectName = "cotton";
group = "io.github.cottonmc";
version = "0.0.6+19w11b";
version = "0.0.6+19w12b";
snapshot = true;

minecraft = "19w11b";
mappings = "19w11b.4";
minecraft = "19w12b";
mappings = "19w12b.4";
loader = "0.3.7.109";
fabricMod = "0.2.3.111";
fabricMod = "0.2.5.114";
silkMod = null;
jankson = "1.1.1"; //If needsShadow is false, jankson will not be included!

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

public class ConfigManager {

private static final String CONFIG_FILE_EXTENSION = ".conf";
private static final String CONFIG_FILE_EXTENSION = ".json5";

/**Loads a .config file from the config folder and parses it to a POJO.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public class MixinDataPackLoad {

@Inject(method = "method_3800",
at = @At(value = "HEAD"))
public void method_3800(File file, LevelProperties properties, CallbackInfo info) {
public void addGlobalDataPacks(File file, LevelProperties properties, CallbackInfo info) {
resourcePackContainerManager.addCreator(new GlobalResourcePackCreator());
}
}
3 changes: 2 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
},
"requires": {
"fabric": "*"
}
},
"description": "Common materials for inter-compatibility and ease of use."
}
Binary file added src/main/resources/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7c90f4a

Please sign in to comment.