aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2022-01-22 17:54:26 +0200
committerSHsuperCM <shsupercm@gmail.com>2022-01-22 17:54:26 +0200
commitb16f0e068ba375d0b21456811a0ae5f68a77eba0 (patch)
tree8711f21b9826372c6c41bf6bd54c6d76957f1595 /src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java
parentffd25dce4e101c478e13867ebb5995f07cd68039 (diff)
downloadCITResewn-b16f0e068ba375d0b21456811a0ae5f68a77eba0.tar.gz
CITResewn-b16f0e068ba375d0b21456811a0ae5f68a77eba0.tar.bz2
CITResewn-b16f0e068ba375d0b21456811a0ae5f68a77eba0.zip
Implemented global properties api and started pack parsing/active cits
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java
new file mode 100644
index 0000000..79ffc70
--- /dev/null
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java
@@ -0,0 +1,12 @@
+package shcm.shsupercm.fabric.citresewn.pack;
+
+import net.minecraft.resource.ResourceManager;
+
+public class PackParser {
+ public static void loadGlobalProperties(ResourceManager resourceManager, GlobalProperties globalProperties) {
+ resourceManager.streamResourcePacks().forEachOrdered(resourcePack -> {
+ //todo
+
+ });
+ }
+}