aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/shcm/shsupercm/fabric/citresewn/config/BrokenPaths.java
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2022-03-05 08:56:26 +0200
committerSHsuperCM <shsupercm@gmail.com>2022-03-05 08:56:26 +0200
commit7a6a31c7c5040959b47f55ec96fb614dfb4d8efb (patch)
treecd073a8c6a68d7ce133e17f7b2eec97ec90611a4 /src/main/java/shcm/shsupercm/fabric/citresewn/config/BrokenPaths.java
parent2aeadc2dd30c23aac6bb1d0a349720f28f2609ec (diff)
downloadCITResewn-7a6a31c7c5040959b47f55ec96fb614dfb4d8efb.tar.gz
CITResewn-7a6a31c7c5040959b47f55ec96fb614dfb4d8efb.tar.bz2
CITResewn-7a6a31c7c5040959b47f55ec96fb614dfb4d8efb.zip
Documentation (23/44, 0/35)
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/config/BrokenPaths.java')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/config/BrokenPaths.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/config/BrokenPaths.java b/src/main/java/shcm/shsupercm/fabric/citresewn/config/BrokenPaths.java
index c89e3cb..f4b2c65 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/config/BrokenPaths.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/config/BrokenPaths.java
@@ -1,5 +1,23 @@
package shcm.shsupercm.fabric.citresewn.config;
+import net.minecraft.util.Identifier;
+import shcm.shsupercm.fabric.citresewn.mixin.broken_paths.*;
+
+/**
+ * Broken paths are resourcepack file paths that do not follow {@link Identifier}'s specifications.<br>
+ * When enabled in config, CIT Resewn will forcibly allow broken paths to load.<br>
+ * If not enabled, broken paths has no effect on the game.
+ * @see CITResewnConfig#broken_paths
+ * @see CITResewnMixinConfiguration#broken_paths
+ * @see ReloadableResourceManagerImplMixin
+ * @see IdentifierMixin
+ * @see AbstractFileResourcePackMixin
+ */
public class BrokenPaths {
+ /**
+ * When enabled, {@link Identifier}s will not check for their path's validity.
+ * @see ReloadableResourceManagerImplMixin
+ * @see IdentifierMixin
+ */
public static boolean processingBrokenPaths = false;
}