From b16f0e068ba375d0b21456811a0ae5f68a77eba0 Mon Sep 17 00:00:00 2001 From: SHsuperCM Date: Sat, 22 Jan 2022 17:54:26 +0200 Subject: Implemented global properties api and started pack parsing/active cits --- .../shcm/shsupercm/fabric/citresewn/pack/PackParser.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/pack/PackParser.java') 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 + + }); + } +} -- cgit