aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authormakamys <makamys@outlook.com>2023-12-08 18:40:10 +0100
committermakamys <makamys@outlook.com>2023-12-08 18:40:17 +0100
commit5ca3d83b6a27e899a61144bde07d9e07f204593a (patch)
tree1f53b8aca0af0ab02d6821a0dfce2988fba69206 /src/main
parentb8b2e173656346f2b82eb629a0797c8bd6b0395d (diff)
downloadNeodymium-5ca3d83b6a27e899a61144bde07d9e07f204593a.tar.gz
Neodymium-5ca3d83b6a27e899a61144bde07d9e07f204593a.tar.bz2
Neodymium-5ca3d83b6a27e899a61144bde07d9e07f204593a.zip
Add some javadoc to VirtualJar
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java b/src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java
index 21f5f33..5518447 100644
--- a/src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java
+++ b/src/main/java/makamys/neodymium/util/virtualjar/VirtualJar.java
@@ -3,7 +3,6 @@ package makamys.neodymium.util.virtualjar;
import static makamys.neodymium.Constants.MODID;
import static makamys.neodymium.Constants.PROTOCOL;
-import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.net.MalformedURLException;
@@ -17,7 +16,10 @@ import static makamys.neodymium.Constants.LOGGER;
import makamys.neodymium.util.virtualjar.protocol.neodymiumvirtualjar.Handler;
import net.minecraft.launchwrapper.Launch;
-
+/**
+ * This class is used to register fake "virtual" jars and add them to LaunchClassLoader's class path. The contents of
+ * these jars are determined dynamically by the implementation of {@link IVirtualJar}, rather than a real file in the file system.
+ */
public class VirtualJar {
private static boolean registered;